# IIS - Activer le remote management

<table id="bkmrk-difficult%C3%A9%2A-%3Cdescrip" style="border-collapse: collapse; width: 100%; height: 46.8px; border-width: 1px; border-style: hidden;"><colgroup><col style="width: 20%;"></col><col style="width: 80%;"></col></colgroup><tbody><tr style="height: 46.8px;"><td style="height: 46.8px; border: 1px groove rgb(52,73,94);">[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/BABnovice-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/BABnovice-png.png)  
</td><td style="height: 46.8px; border-width: 1px; background-color: rgb(236,202,250); vertical-align: top;">Difficulté : Novice

Notions : IIS, serveur web, windows, remote management.

</td></tr></tbody></table>

---

### <span style="color: rgb(52,73,94);">**<span style="text-decoration: underline;">I. Introduction</span>**</span>

Dans le cadre de l'installation de IIS sur un serveur core, l'administration de celui-ci ne pourra se faire qu'en powershell.

Pour l'administrer en GUI malgré tout depuis le Poste Admin ou le serveur d'admin, il faudra activer la gestion à distance de IIS.

---

### <span style="color: rgb(52,73,94);">**<span style="text-decoration: underline;">II. Préparer le serveur</span>**</span>

#### **<span style="color: rgb(53,152,219);">2.1 Installer le rôle</span>**

<details id="bkmrk-en-powershell-instal"><summary>En powershell</summary>

Installer le rôle avec la commande :

```powershell
Install-WindowsFeature  Web-Mgmt-Service
```

Activer le service au démarrage :

```
Set-Service -name WMSVC  -StartupType Automatic
```

</details><details id="bkmrk-en-gui-ouvrir-le-ser"><summary>En GUI</summary>

Ouvrir le serveur manager.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Ydhimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Ydhimage-png.png)

Sélectionner le serveur sur lequel installer le service et faire un clic droit puis '<span style="color: rgb(132,63,161);">***install role and feature***</span>'

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/CaAimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/CaAimage-png.png)

Cliquer sur '***<span style="color: rgb(132,63,161);">Next</span>***'

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/rRTimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/rRTimage-png.png)

Sélectionner '<span style="color: rgb(132,63,161);">***Role-based or Feature-based installation***</span>' puis faire '<span style="color: rgb(132,63,161);">***Next***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/MKyimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/MKyimage-png.png)

Vérifier la bonne sélection du serveur, puis faire '<span style="color: rgb(132,63,161);">***Next***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/lzfimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/lzfimage-png.png)

Cocher le rôle '<span style="color: rgb(132,63,161);">***Web Server (IIS) --&gt; Management Service***</span>' puis faire '<span style="color: rgb(132,63,161);">***Next***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/2hAimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/2hAimage-png.png)

Sur les écrans suivant, faire '<span style="color: rgb(132,63,161);">***Next***</span>'. Puis terminer par '<span style="color: rgb(132,63,161);">***Install***</span>'.

</details>#### **<span style="color: rgb(53,152,219);">2.2 Accepter les connexions distantes</span>**

Pour accepter les connexions distantes, il faut modifier une clé de registre et relancer le service. Pour cela, deux façons de faire :

<details id="bkmrk-en-powershell-ouvrir"><summary>En powershell</summary>

Ouvrir une console powershell en remote.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/aJAimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/aJAimage-png.png)

Utiliser la commande :

```powershell
Set-ItemProperty -Path "HKLM:\Software\Microsoft\WebManagement\Server" -Name "EnableRemoteManagement" -Value "1"
```

Puis redémarrer le service avec :

```
Restart-Service -Name WMSVC
```

</details><details id="bkmrk-en-gui-%28avec-mmc%29-la"><summary>En GUI (avec MMC)</summary>

Lancer l'éditeur de registre.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/fGoimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/fGoimage-png.png)

Cliquer sur '<span style="color: rgb(132,63,161);">***Fichier --&gt; Connect Network Registry...***</span>'

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/cK5image-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/cK5image-png.png)

Entrer le nom du serveur à gérer, puis valider en cliquant sur '<span style="color: rgb(132,63,161);">***Check Names***</span>' puis '<span style="color: rgb(132,63,161);">***OK***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Ifaimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Ifaimage-png.png)

Chercher la clé '<span style="color: rgb(132,63,161);">***HKEY\_LOCAL\_MACHINE\\Software\\Microsoft\\WebManagement\\Server***</span>'

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/40timage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/40timage-png.png)

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/4Wdimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/4Wdimage-png.png)

Changer la valeur de '<span style="color: rgb(132,63,161);">***EnableRemoteManagement***</span>' à '<span style="color: rgb(132,63,161);">***1***</span>'. Puis valider avec '<span style="color: rgb(132,63,161);">***OK***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/8tpimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/8tpimage-png.png)

Déconnecter le serveur, puis fermer l'éditeur de registre.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/NC2image-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/NC2image-png.png)

---

Lancer une MMC avec '<span style="color: rgb(132,63,161);">***mmc.exe***</span>'

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/7pUimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/7pUimage-png.png)

Ajouter un composant enfichable en cliquant sur '<span style="color: rgb(132,63,161);">***Add/Remove Snap-in***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/STrimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/STrimage-png.png)

Sélectionner 'Services' et double-cliquer dessus.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/xWSimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/xWSimage-png.png)

Sélectionner '<span style="color: rgb(132,63,161);">***Another computer***</span>', entrer son nom et faire '<span style="color: rgb(132,63,161);">***Finish***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/vPIimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/vPIimage-png.png)

 [![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/aseimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/aseimage-png.png)

Valider en cliquant sur '<span style="color: rgb(132,63,161);">***OK***</span>'.

Relancer le service '<span style="color: rgb(132,63,161);">***Web Management Service***</span>'

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/skuimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/skuimage-png.png)

</details>---

### <span style="color: rgb(52,73,94);">**<span style="text-decoration: underline;">III. Se connecter avec le IIS Manager</span>**</span>

Sur le serveur d'administration, dans le serveur manager, clic droit sur le serveur puis : '<span style="color: rgb(132,63,161);">***Internet Information Services (IIS) Manager***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/9w3image-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/9w3image-png.png)

Cliquer sur l'icone de connexion et faire '<span style="color: rgb(132,63,161);">***Connect to a Server...***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/uelimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/uelimage-png.png)

Entrer le FQDN du serveur et faire '<span style="color: rgb(132,63,161);">***Next***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/WU6image-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/WU6image-png.png)

Entrer le information d'identifications et faire '<span style="color: rgb(132,63,161);">***Next***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/SNUimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/SNUimage-png.png)

Vérifier et accepter le certificat en cliquant sur '<span style="color: rgb(132,63,161);">***Connect***</span>'.

[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Bytimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Bytimage-png.png)

Il est désormais possible de manager ce serveur à distance.