1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Windows Server 2022 Azure Editionのバグ

Last updated at Posted at 2022-04-28

注意
本稿は2022年4月28日時点のもので、以降にデプロイしたWindows Server 2022 Azure Editionでは不具合が解消されている可能性があります。

久しぶりの投稿になります。
検証を行っている間に偶然見つけたバグです。

バグの症状

Azure上のWindows Server 2022に「Azure Edition」なるものがあります。
SMB Over QUICやHOT Patch、Azure Extended Network、の3つの機能が利用できるWindows Server OSですが、なんとライセンス認証できないというバグがあります。

image.png

一般的にAzure上のVMがWindowsライセンス認証できない構成パターン

  1. NSGで送信方向Any Any Denyでインターネット接続をすべて拒否している場合
  2. 強制トンネリングでWindows VMのライセンス認証元IPアドレスがAzure以外のものになっている

の2パターンが最有力候補です。
しかし本件はWindows OSのバグのため、この2点はどちらもあてはまりません。
NSGで送信方向で宛先がInternetでPermit、Azure基盤から直接インターネットに接続されている、という状態でも起こります。

回避策

回避策というほどのものではないですが、SRで問い合わせたところ、「ライセンス認証できていないのは表示上の問題で実際はライセンス認証できている」とのことでした。
念のためPowerShellでライセンス認証されているか確認し、認証されていれば表示上の問題ということで無視して良いようです。

PowerShellでの確認

以下のコマンドをPowerShellで実行してください。

Get-Date; cscript c:\windows\system32\slmgr.vbs /ato

Get-Date; cscript c:\windows\system32\slmgr.vbs /dlv

です。

結果が
image.png
この赤枠のようになっていればOKということでした。

本件あまり知られていないようなので周知の意味も込めて記事にしました。

今日はここまで。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?