Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to execute the "Enable Remote Connections" step from this instructions ("Remote Administration for IIS Manager") using Powershell?

share|improve this question
up vote 2 down vote accepted

From this page on IIS Remote Mgmt, it appears you will need to add a registry key:

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server /v EnableRemoteManagement /t REG_DWORD /d 1

To add a new regkey wiht powershell, try:

New-Item -path Registry HKLM\SOFTWARE\Microsoft\WebManagement\Server\EnableRemoteManagement -PropertyType DWord -Value 1

Please note this is not tested.

share|improve this answer
I would like to avoid changing the registry "directly" but if that's the only option, well, that will be. – Milen A. Radev Feb 24 '12 at 12:17
@MilenA.Radev - I will vouch for this answer, this is the only way to configure that setting. – Kev Feb 24 '12 at 12:53
@Milen - time to live on the edge :-) – uSlackr Feb 24 '12 at 13:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.