Windows 10 Home で IIS の「Windows 認証」機能が必要となるとき、Home edition に含まれない機能であるらしく Feature name IIS-WindowsAuthentication is unknown というエラーになることがあります。この場合「Windows の機能の有効化または無効化」の画面で見ても「Windows 認証」機能が表示がされず有効化することもできません。しかし、%SystemRoot%\servicing\Packages に Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.<build>.<revision>.mum というファイルがあれば DISM.exe (Deployment Image Servicing and Management) でパッケージを追加して、「Windows 認証」を含む種々のセキュリティ機能を有効化できるようになります。.mum ファイルの名前は、システムのバージョンによって微妙に異なるようです。
Feature name IIS-WindowsAuthentication is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.
DISM.exe は管理者としてコマンドプロンプトから実行します。このときに /Add-Package オプションで .mum パッケージ ファイルのパスを指定します。
dism /online /norestart /add-package:%SystemRoot%\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.19041.546.mum
パッケージを追加できたら「Windows の機能の有効化または無効化」の画面から Internet Information Services > World Wide Web Services > Security にある「Windows 認証」を有効化します。
パッケージ追加前 | パッケージ追加後 |
---|---|
![]() |
![]() |
参考リンク