sc.exe stop wmsvcreg.exe add "HKEY_LOCAL_MACHINE\Software\Microsoft\WebManagement\Server" /v "EnableRemoteManagement" /t "Reg_Dword" /d "0x1" /fsc.exe start wmsvc(It could be wrapped so please note that it is three separate lines actually).Or in Windows PowerShell:Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WebManagement\Server" -Name "EnableRemoteManagement" -Value "1"Set-Service -Name "wmsvc" -StartupType AutomaticStart-Service -Name "wmsvc"
↧