0
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 10 Home で IIS の Windows 認証機能を有効化する

Last updated at Posted at 2020-12-06

 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 ファイルの名前は、システムのバージョンによって微妙に異なるようです。

Error-0x800f080cの例
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.exe
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 認証」を有効化します。

パッケージ追加前 パッケージ追加後
image.png 追加前は Windows 認証を有効化できない image.png Windows 認証を含む機能が追加されている

参考リンク

0
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
0
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?