Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jayprajapati857/b428f47735b415d4a85ebcaf9648b06d to your computer and use it in GitHub Desktop.

Select an option

Save jayprajapati857/b428f47735b415d4a85ebcaf9648b06d to your computer and use it in GitHub Desktop.

Revisions

  1. @pishangujeniya pishangujeniya created this gist May 23, 2019.
    34 changes: 34 additions & 0 deletions Remote-IIS-Management.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    # 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](https://www.iis.net/downloads/microsoft/iis-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

    - [IIS REMOTE GUIDE](https://www.sherweb.com/blog/cloud-server/manage-and-install-iis8-on-windows-2012-server-core/)
    - This only supports greater than server 2008