# INSTALLATION

## **<span style="color: rgb(35, 111, 161);">Installation d’un active Directory</span>**

---

### <span style="color: rgb(35, 111, 161);">Installation Manuelle:</span>

1. Ouvrir le Server Manager
2. Ajouter des rôles et des fonctionnalités  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/SH9image.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/SH9image.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/11Vimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/11Vimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/GmEimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/GmEimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/qINimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/qINimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/LBkimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/LBkimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/zbzimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/zbzimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/kDRimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/kDRimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/c5wimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/c5wimage.png)
    
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/Qcvimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/Qcvimage.png)
3. Attente de la fin d'installation  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/NKFimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/NKFimage.png)
4. Promouvoir le serveur quand l'installation est terminée  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/wHyimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/wHyimage.png)
5. Créer la nouvelle forêt  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/Sbtimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/Sbtimage.png)
6. Créer le mot de passe de récupération  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/f6timage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/f6timage.png)
7. Ne pas créer de délégation DNS. Faire Next
8. Laisser le nom netbios par défault  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/T51image.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/T51image.png)
9. Laisser les chemins par défaut
10. Réviser les modifications éffectuées
11. Laisser le check tourner et installer  
    [![image.png](https://book.techoops.fr/uploads/images/gallery/2023-10/scaled-1680-/wBYimage.png)](https://book.techoops.fr/uploads/images/gallery/2023-10/wBYimage.png)
12. Une fois installé si le serveur ne redémarre pas de lui même, le redémarrer à la main

---

### <span style="color: rgb(35, 111, 161);">Installation d’un active Directory Mode CORE</span>

<p class="callout warning"><span style="color: rgb(35, 111, 161);"><span style="color: rgb(230, 126, 35);">Prérequis : Network OK, Sur le domaine et le bon nom d’ordinateur</span>  
</span></p>

```powershell
install-windowsfeature AD-Domain-Services
Install-ADDSDomainController -InstallDns -Credential (Get-Credential "CORP\Administrator") -DomainName "corp.contoso.com"
```