2019/12/26

Azure Marketplace に Windows Server, version 1909 イメージがなかなか来ないけど...

Azure Marketplace で [smalldisk] Windows Server, version 1909 with Containers イメージを待ってるのですが、なかなかこない。18 か月の短い命の SAC なのに1か月半経過。

イメージは先月からあるけど、使っていいかよくわからないので待ってたんですが、以下の公式ページでも 2019 年 11 月から利用可能になっていると書いてあるので、使ってみるの巻。

Microsoft Windows Server Virtual Machine Images
https://support.microsoft.com/ja-jp/help/4534541/

2019/12/24

Windows Server SAC vNext(20H1)が ver 2004 なことを目視

Windows 10 Insider Preview では、20H1 のバージョンが 2004 になることが決まったようですが、Windows Server SAC 20H1 も ビルド 19035 が出てたので、バージョン 2004 になったはず、を目視してみた。

2019/12/20

Windows 7 ESU ありとなしをテストするダミー更新プログラム

(※2020/2/14 追記、このダミーの更新プログラムは利用できなくなりました。2020-02-B のマンスリーロールアップ KB4537820 とかで確認できます。Windows Update で ESU 向けのマンスリーロールアップを取得するには ESU ライセンス準備パッケージ(KB4538483 or KB4538484)も必要です。)

Windows 7 ESU のインストールをテストするための更新プログラムが出てました。

Update to verify that eligible Windows 7 SP1 and Server 2008 R2 SP1 devices can get Extended Security Updates
https://support.microsoft.com/en-us/help/4528069/

早速試してみた。

Windows Sysinternals 更新情報 (2019 年 12 月 19 日) - Procmon v3.53、Procexp v16.31

2019/12/18 PT に Sysinternals ツールの更新出ました。Procmon v3.53、Procexp v16.31、バグ修正です。

Sysinternals Blog > Process Monitor v3.53, Process Explorer v16.31
https://techcommunity.microsoft.com/t5/Sysinternals-Blog/Process-Monitor-v3-53-Process-Explorer-v16-31/ba-p/1073828

各ツールの日付は署名の日付。

Procmon v3.52 (2019/03/25) → v3.53 (2019/12/11)
https://live.sysinternals.com/files/procmon.zip
Procexp v16.30 (2019/09/05) → v16.31 (2019/12/14)
https://live.sysinternals.com/files/procexp.zip

日付はファイルのタイムスタンプ。

SysinternalsSuite.zip (2019/12/11 PT) -> (2019/12/17 PT)
https://live.sysinternals.com/files/sysinternalssuite.zip

前回の更新:
Windows Sysinternals 更新情報 (2019 年 12 月 12 日) - Sysmon v10.42、Zoomit v4.52、Whois v1.21

参考:総入れ替えスクリプト
Install and update SysinternalsSuite by PowerShell (Technet gallery script center)

(注:このスクリプトに含まれる Expand-Archive は PowerShell 5.0 以降に含まれます。PowerShell 4.x 以前ではエラーになります)

2020/03/16 追記:
※注:2020/06 で Technet Galallery 廃止されるそうなので、installsysinternalssuite.ps1 を追記しました。

 [installsysinternalssuite.ps1]
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$InstallTo = "$env:ProgramFiles\SysinternalsSuite"
if (Test-Path "$env:TEMP\SysinternalsSuite.zip") {
  Remove-Item -Path "$env:TEMP\SysinternalsSuite.zip"
}
if (!(Test-Path "$InstallTo")) {
  Write-Host "Start Download SysinternalsSuite.zip ..."
  Invoke-WebRequest -uri "https://live.sysinternals.com/files/sysinternalssuite.zip" -outfile "$env:TEMP\sysinternalssuite.zip" -UseBasicParsing
  Write-Host "Expand SysinternalsSuite.zip ..."
  Expand-Archive -Path "$env:TEMP\SysinternalsSuite.zip" -DestinationPath "$InstallTo"
  Write-Host "Add PATH environment variable ..."
  $path = [Environment]::GetEnvironmentVariable("PATH", "Machine")
  $path += ";" + "$InstallTo"
  [Environment]::SetEnvironmentVariable("PATH", $path, "Machine")
  $env:PATH = $path
} else {
  Write-Host "Sysinternals Suite has already been installed in $InstallTo.`r`n"
  Write-Host "Searching https://live.sysinternals.com/ ..."
  $webcontent = (Invoke-WebRequest -uri "https://live.sysinternals.com/files/" -UseBasicParsing).Content
  (((($webcontent.Replace("<br>","`r`n")).Replace("</A>","")).Replace("<A HREF=","")).Replace(">"," ")).split("`r`n")|Select-String "SysinternalsSuite.zip"
  Write-Host "`r`n"
  #Write-Host "Searching current latest version top 5..."
  #Get-ChildItem -Path "$InstallTo\*.exe"| Sort-Object LastWriteTime -Desc |Select-Object -first 5 | Ft LastWriteTime, Name
  [ValidateSet("y","n")] $res = Read-Host "Will you update SysinternalsSuite anyway (y/n) ?"
  if ($res -eq "y") {
    Write-Host "Start Download SysinternalsSuite.zip ..."
    Invoke-WebRequest -uri "https://live.sysinternals.com/files/sysinternalssuite.zip" -outfile "$env:TEMP\sysinternalssuite.zip" -UseBasicParsing
    Write-Host "Expand SysinternalsSuite.zip ..."
    Expand-Archive -Path "$env:TEMP\SysinternalsSuite.zip" -DestinationPath "$InstallTo" -Force
    Write-Host "SysinternalsSuite was updated to latest version."
  }
}

2019/12/16

Windows Server 2012 の 12 月の更新で問題


セーフモードで起動を繰り返すと解消するそうですが、セーフモードや WinRE で起動するのが難しい環境もあるよね。クラウド上の VM とか。

Windows Server 2012が更新プログラム適用後に再起動ループしてOSが起動できなくなる問題について
https://social.technet.microsoft.com/Forums/en-US/770bad59-b52d-43f3-a5bc-a9aff364ca6f/windows-server-2012?forum=Wcsupportja
Servicing Stack Updates (SSU): Frequently Asked Questions
https://support.microsoft.com/ja-jp/help/4535697/
"3. After installing an update to Windows (LCU, Monthly Rollup, or Security-Only update) and Windows fails to start on my device or continues to restart. How do I recover my install?

The steps below will resolve the issue, if it is caused by missing the installation of an SSU. ・・・"

Azure VM で問題に遭遇した場合に役立つかもしれない情報。

VM がセーフ モードで起動するため VM に RDP 接続できない
https://docs.microsoft.com/ja-jp/azure/virtual-machines/troubleshooting/troubleshoot-rdp-safe-mode

そもそもブート診断が有効になってないと、オフライン修復するしかないかもね。

2019/12/13

メモ:Windows Server 2008 R2 に PowerShell 5.1(WMF 5.1)を入れる

ひさびさに Windows Server 2008 R2 の環境を構築(Azure VM のイメージから)を作成したのでメモ。なぜなら、2019-12 B パッチのインストールに失敗して、コンポーネント ストアが破壊されちゃったみたいだから。

Windows PowerShell 3.0(既定)な Windows Server 2008 R2(Windows 7 もだけど)で Windows PowerShell 5.1 を利用できるように WMF 5.1 をインストールしようとしたら、WMF 3.0(PowerShell 3.0 を含む)がインストールされているのはダメよと怒られた。前にも見たことあるけど、すっかり忘れてた。

2019/12/12

とあるところの 2019 年末カレンダー

興味深いカレンダー。2019 年の Windows Update は昨日で最後。

REMINDER: Driver Shiproom Schedule for 2019
https://techcommunity.microsoft.com/t5/Hardware-Dev-Center/REMINDER-Driver-Shiproom-Schedule-for-2019/ba-p/1045111

11 月半ばの v1909 の Feature Update は書き込まれていない。2019 年に従うなら、New year の Holiday は 2020/1/1 だけだと思う。

Windows Sysinternals 更新情報 (2019 年 12 月 12 日) - Sysmon v10.42、Zoomit v4.52、Whois v1.21

久々に Sysinternals ツールの更新出ました。Sysmon v10.42、Zoomit v4.52、Whois v1.21。Zoomit はマルチモニター対応だそうです。

Sysinternals Blog > Sysmon v10.42, Zoomit v4.52, Whois v1.21
https://techcommunity.microsoft.com/t5/Sysinternals-Blog/Sysmon-v10-42-Zoomit-v4-52-Whois-v1-21/ba-p/1060875

各ツールの日付は署名の日付。

Sysmon v10.42 (2019/09/16) → v10.42 (2019/12/11)
https://live.sysinternals.com/files/sysmon.zip
Zoomit v4.50 (2013/06/19) → v4.52 (2019/12/11)
https://live.sysinternals.com/files/zoomit.zip
Whois v1.20 (2017/11/17) → v1.21 (2019/12/11)
https://live.sysinternals.com/files/whois.zip

日付はファイルのタイムスタンプ。

SysinternalsSuite.zip (2019/09/23 PT) -> (2019/12/11 PT)
https://live.sysinternals.com/files/sysinternalssuite.zip

前回の更新:
Windows Sysinternals 更新情報 (2019 年 9 月 24 日) - Bginfo v4.28


参考:総入れ替えスクリプト
Install and update SysinternalsSuite by PowerShell (Technet gallery script center)

(注:このスクリプトに含まれる Expand-Archive は PowerShell 5.0 以降に含まれます。PowerShell 4.x 以前ではエラーになります)

2020/01/27 追記) Sysmon v10.42 で以下の問題が修正されているそうです。
W3C Logging Service stopping due to sysmon driver
https://techcommunity.microsoft.com/t5/iis-support-blog/w3c-logging-service-stopping-due-to-sysmon-driver/ba-p/1130322

2019/12/11

今日は 2019 年 12 月の Windows Update 定例日(2019-12 B) - Windows 10 は 2019 年最後の品質更新

Windows、.NET Framework、Microsoft Office の 2019 年 12 月の定例更新(2019-12 B)が出ました。Windows 10 と Windows Server 2016 以降(とその.NET Framework)については 2012-11 C/D や 2012-12 C/D はないと発表されてますので、これが今年最後の品質更新。以前の Windows バージョン、Microsoft Office については発表ないので、2012-12 C or D があるかも。

Windows message center
https://docs.microsoft.com/en-us/windows/release-information/windows-message-center
.NET Framework December 2019 Security and Quality Rollup
https://devblogs.microsoft.com/dotnet/net-framework-december-2019-security-and-quality-rollup/
Release information for updates to Office 365 ProPlus
https://docs.microsoft.com/en-us/officeupdates/release-notes-office365-proplus
December 2019 security updates are available
https://msrc-blog.microsoft.com/2019/12/10/december-2019-security-updates-are-available/

Adobe Flash も出るかと思ったけど、今のところなし。他のプラットフォーム(Windows 7のIE、Firefox、macOSの...、Linuxの...)にはセキュリティ更新(APSB19-55)を含む30.0.0.303 が 12/10 に出てるみたいだけど、Windows Update での配布は今のところなし(32.0.0.255 が最新→ http://get.adobe.com/jp/flashplayer/about/)。

何か重大なことがあれば追記する(かも)。

追記:

2019/12/09

Windows 10 Insider Preview 20H1 Slow Ring が Fast Ring 状態な件

いま、仮想マシン環境で Windows 10 Insider Preview Slow Ring(20H1)に参加してるんですけど、起動するたびに新しいビルドがぁぁぁ。Slow って何ぞや。

Decentber 10, 2019 (Fast/Slow) Build 19041 ←もうやだ
December 6, 2019 (Fast/Slow) Build 19037
December 4, 2019 (Fast/Slow) Build 19035
November 26, 2019 (Fast/Slow) Build 19033 ← ここから ver 2004

November 22, 2019 (Fast) Build 19030
November 20, 2019 (Slow) Build 19025
November 19, 2019 (Fast) Build 19028 November 12, 2019 (Fast) Build 19025
November 11, 2019 (Slow) Buil 19013

追記:最近のビルド(Build 1903x)で "Some Insiders have reported when attempting to install recent builds, setup rolls back and returns error code 0xc1900101. In some cases, the update completes successfully on a subsequent attempt.  If you are experiencing the issue, please be sure to file feedback in the Feedback Hub." が関係してるのかなぁ? feedback hub を眺めていると、0xc1900101 が出てる人はずっと失敗しているみたい。

12/17 追記: Fast Ring の位置づけが変更されるらしい。
Announcing Windows 10 Insider Preview Build 19536 (December 16, 2019)
https://blogs.windows.com/windowsexperience/2019/12/16/announcing-windows-10-insider-preview-build-19536/

2019/12/06

メモ: Docker Desktop Edge 2.1.6.x (+2.1.7.0) × 20H1 WSL 2

Docker Desktop for Windows の Linux Containers 環境は、DockerDesktopVM という Hyper-V 仮想マシンの MobyLinux がエンジンを提供しますが、Windows 10 で将来利用可能になる、エミュレーションではないネイティブ カーネル使用の Windows Subsystem for Linux 2(WSL 2)と Docker Desktop との組み合わせも現在プレビュー中。

DockerDesktopVM は使用せず、WSL 2 に Linux Containers のエンジンを用意してくれるもの。Windows Containers 環境には無関係、Linux Containers 専用。

Docker Desktop Edge の Linux Containers 環境でこの機能を有効にすると、wsl に docker-desktop と docker-desktop の 2 つが追加され、実行状態に。DockerDesktopVM(旧称、MobyVM)はオフのまま。



DockerDesktopVM は 2GB メモリ割り当てなので、ホスト 4 GB だと足りないけど、WSL 2 ならいけると思う。プレビューだから?よくクラッシュする気がするけど。