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 だけだと思う。