?????????? IIS ????????????????? IIS Manager ( inetmgr.exe ) ???? IIS ???й??????á????????????????? IIS ???й?????????????????????????????????????????? IIS ??????????????й????
???????? IIS ?????????
???????????? https://www.iis.net/downloads/microsoft/iis-manager
??????????????????????????У?Windows ???????????? Internet Information Services (IIS) Manager ???????????????????? inetmgr.exe ???? IIS ????????
??????????????????? IIS ??????????????????????????? Web ????????????????????? IIS ???й????
????????? IIS ???????п????????????????????÷???????? Windows ????????????????????????????????????????????????????????????????????á?
??????? Web ???????
??????????????? Web ??????? (Web Management Service?? WMSVC) ??а????????????????????????? (Server Manager)????????????/????
?????? Server 2008 R2 ???? Web Management Service

?????? Server 2012 R2 ???? Web Management Service

??????????????????
????????????????????????????????????????????????á?????????????????????????
????reg add HKLMSoftwareMicrosoftWebManagementServer /v EnableRemoteManagement /t REG_DWORD /d 1 /f
??????? Web ???????
????????????????????????/???? WMSVC ???????????????Ч??????????????????????????
????sc stop WMSVC
????:: ?????????????????
????sc start WMSVC
???????÷??????????
???????????
????sc config WMSVC start= auto
????????????е??????????ɡ??????????????????? IIS ??????????У????????????? IIS ???й??????
?????????????
????????????????? IIS ????????л??????????????????? IIS ??????????????IIS ????????????????IIS ???????????????????????????????????
????IIS ?????????????????????????????????????漰?????????????????Щ????????????????????????????? IIS ????????н??????á?
?????????????
????IIS ????????????????? TCP 8172 ??????????????????????????????з????????????У???????????? TCP 8172 ???????????????
??????????
?????????????? IIS ?????????????????????? Web ??????????μ???????????????????????y??????
:: Reference Doc:
:: https://www.iis.net/learn/manage/remote-administration/remote-administration-for-iis-manager
REM Enable Remote Connections
reg add HKLMSoftwareMicrosoftWebManagementServer /v EnableRemoteManagement /t REG_DWORD /d 1 /f
REM Start WMSVC on System Boot
sc config WMSVC start= auto
REM (Re)start WMSVC
sc stop WMSVC > nul
:start_wmsvc
sc start WMSVC > nul
if ERRORLEVEL 1 (
timeout /nobreak 5
GOTO start_wmsvc
)
echo Done.
???????????????????????У?
?????y?????????????????????????????????????????? GitHub ????y????