Skip to content

Instantly share code, notes, and snippets.

@pishangujeniya
Created May 23, 2019 13:35
Show Gist options
  • Save pishangujeniya/387abfee92b6ca7006e3f359c2e12a99 to your computer and use it in GitHub Desktop.
Save pishangujeniya/387abfee92b6ca7006e3f359c2e12a99 to your computer and use it in GitHub Desktop.
How to connect and manage remote IIS Web Server from another machine without using RDP Remote Desktop Connection

Remotely connect to IIS Web Server.

Whenever you want to perform any tasks related to IIS on server you might be starting mstsc aka Remote Desktop Connection RDP for those tasks, but using the facility of remotely managing IIS from client IIS, no need of RDP now and then.

Follow the simple steps on IIS Server and client IIS machine.

Process on Server IIS

  • Run the following commands in powershell on the remote IIS Server
  • Install-WindowsFeature Web-Server
  • Install-WindowsFeature Web-Mgmt-Service
  • Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WebManagement\Server -Name EnableRemoteManagement -Value 1
  • Net Stop WMSVC
  • Net Start WMSVC

Process on Client IIS

  • Install IIS Remote Connection manager
  • On the Client IIS Restart IIS Manager Window
  • You would see one blue world icon under connections
  • Click Connect to a server
  • Enter ip of server
  • Enter username of server
  • Enter password of server
  • Connect
  • Tick all services
  • If asks then click Run one by one for all prompts
  • At the end you would see that server under the list of IIS

Help

@josueds
Copy link

josueds commented May 13, 2024

Great job.
I'm in doubt, does the user need to be in the Administrators group on the IIS server?
I'm looking for a way to not add the user to the Administrators group. Every help is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment