Windows 10 中的 IIS 管理器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30901434/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 19:08:30  来源:igfitidea点击:

IIS Manager in Windows 10

windowsiiswindows-10

提问by MattyMerrix

How do you open IIS (Internet Information Services) Manager using Windows 10?

如何使用 Windows 10 打开 IIS(Internet 信息服务)管理器?

I have installed the developer preview of Windows 10 and can't seem to find IIS Manager? It is not in Control Panel > Administrative Tools.

我已经安装了 Windows 10 的开发者预览版,但似乎找不到 IIS 管理器?它不在控制面板 > 管理工具中。

When I browse to the folder C:\Windows\System32\inetsrv it is empty.

当我浏览到文件夹 C:\Windows\System32\inetsrv 时,它是空的。

I did a full search of my hard drive to find inetmgr.exe and found three copies and none of them would open, when I tried to open them it says "This App cannot Run on your PC" To find a version of the App that works contact the publisher.

我对我的硬盘进行了全面搜索以找到 inetmgr.exe 并找到了三个副本,但没有一个副本会打开,当我尝试打开它们时,它说“此应用程序无法在您的 PC 上运行”要找到该应用程序的版本作品联系出版商。

I know IIS works because I have ran local ASP.net apps through VisualStudio, but I can't seem to find any way to launch IIS Manager to do some configurations for a site.

我知道 IIS 可以工作,因为我已经通过 VisualStudio 运行了本地 ASP.net 应用程序,但我似乎找不到任何方法来启动 IIS 管理器来为站点进行一些配置。

Anyone know anything about this?

有人知道这是什么一回事吗?

回答by MattyMerrix

Thanks to @SLaks comment above I was able to turn on IIS and bring the manager back.

感谢上面的@SLaks 评论,我能够打开 IIS 并将管理器带回来。

Press the Windows Key and type Windows Features, select the first entry Turn Windows Features On or Off.

按 Windows 键并键入 Windows 功能,选择第一个条目打开或关闭 Windows 功能。

Make sure the box next to IIS is checked.

确保选中 IIS 旁边的框。

enter image description here

在此处输入图片说明

If it is not checked, check it. This might take a few minutes, but this will install everything you need to use IIS.

如果未检查,请检查。这可能需要几分钟,但这将安装使用 IIS 所需的一切。

When it is done, IIS should have returned to Control Panel > Administrative Tools

完成后,IIS 应该已返回到控制面板 > 管理工具

enter image description here

在此处输入图片说明

回答by Joseph Wu

Windows features, ISS Management Console

Windows 功能,ISS 管理控制台

Under the windows feature list, make sure to check the IIS Management Console You also need to check additional check boxes as shown below:

在 windows 功能列表下,确保选中 IIS 管理控制台 您还需要选中其他复选框,如下所示:

Windows features, ISS, HTTP Features

Windows 功能、ISS、HTTP 功能

回答by Attmik

Actually you must make sure that the IIS Management Console feature is explicitly checked. On my win 10 pro I had to do it manually, checking the root only was not enough!

实际上,您必须确保明确检查了 IIS 管理控制台功能。在我的 win 10 pro 上,我必须手动完成,仅检查根目录是不够的!

回答by jchadhowell

  • Run appwiz.cpl - brings up Programs and Features
  • Choose "Turn Windows Features On/Off"
  • Select the IIS Services you need
  • 运行 appwiz.cpl - 调出程序和功能
  • 选择“打开/关闭 Windows 功能”
  • 选择您需要的 IIS 服务

回答by user3122382

@user1664035 & @Attila Mika's suggestion worked. You have to navigate to Control Panel -> Programs And Features -> Turn Windows Features On or Off. And refer to the screenshot. You should check IIS Management console.

@user1664035 & @Attila Mika 的建议奏效了。您必须导航到控制面板 -> 程序和功能 -> 打开或关闭 Windows 功能。并参考截图。您应该检查 IIS 管理控制台。

Screenshot

截屏

回答by Code_Worm

after turning IIS on (by going to Windows Features On/Off) type inetmgrin search bar or run

打开 IIS 后(通过打开/关闭 Windows 功能)在搜索栏中键入inetmgr或运行

回答by cyberop5

To install the IIS Management Console under Windows 10 using Powershell with RSAT installed:

要使用安装了 RSAT 的 Powershell 在 Windows 10 下安装 IIS 管理控制台:

Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementConsole -All

Credit and thanks to Mikhail's comment above.

感谢并感谢 Mikhail 的上述评论。

回答by Mikhail

It most likely means that IIS Management Console was not installed, and modern Windows administrator/IT pro should be able to quickly check this by issuing this command:

这很可能意味着未安装 IIS 管理控制台,现代 Windows 管理员/IT 专业人员应该能够通过发出以下命令快速检查这一点:

Get-WindowsFeature *Web*

And if it is missing just quickly add this via the following command:

如果它丢失了,只需通过以下命令快速添加:

Add-WindowsFeature Web-Mgmt-Console

GUI options mentioned above are also valid (see answer from @Joe Wu) but PowerShell it is best way to do IT for IT Pro or let's put it as "if you have to do this slightly more often than once a year" :)

上面提到的 GUI 选项也是有效的(请参阅@Joe Wu 的回答)但 PowerShell 是 IT 专业人员进行 IT 的最佳方式,或者让我们将其称为“如果您必须每年执行此操作的频率略高于一年一次”:)

回答by Sahan Pasindu Nirmal

Press the Windows Key and type Windows Features, select the first entry Turn Windows Features On or Off.

按 Windows 键并键入 Windows 功能,选择第一个条目打开或关闭 Windows 功能。

Make sure the box next to IIS is checked. You good to go.

确保选中 IIS 旁边的框。你很高兴去。

回答by user1664035

Launch Windows Features On/Offand select your IIS options for installation.

启动Windows 功能开/关并选择您的 IIS 选项进行安装。

For custom site configuration, ensure IIS Management Consoleis marked for installation under Web Management Tools.

对于自定义站点配置,请确保IIS 管理控制台Web 管理工具下标记为安装。