# WinServer2k25GUI - Réinitialiser la période de grâce RDS

<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);">[![intermédiaire.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/p0tintermediaire-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/p0tintermediaire-png.png)</td><td style="height: 46.8px; border-width: 1px; background-color: rgb(236,202,250); vertical-align: top;">Difficulté : Intermédiaire

Notions : Windows server, RDS.

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

---

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

<p class="callout info">Applicable à : Windows server 2008+</p>

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Sur des plate formes de LAB longue durée, il peut être nécessaire de prolonger la période de grâce des serveurs RDS lorsqu’aucune licence n’est disponible.</span>

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

Ou à la connexion :

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

---

### **<span style="text-decoration: underline;"><span style="color: rgb(52, 73, 94); text-decoration: underline;">II. Reset de la 'grace period'</span>  
</span>**

#### <span style="color: rgb(35, 111, 161);">**2.1 Trouver la clé de registre**</span>  


Cliquer sur Démarrer, puis ‘regedit’ dans la barre de recherche.

Ouvrir l'éditeur de registre.

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

Sous la clé “***<span class="fabric-text-color-mark">HKEY\_LOCAL\_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\RCM\\GracePeriod</span>*****”**

Trouver la clé contenant le mot ‘***<span class="fabric-text-color-mark">Timebomb</span>***’

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

#### <span style="color: rgb(35, 111, 161);">**2.2 Prendre la propriété des objets**</span>

**<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Sur la clé “</span>*<span class="fabric-text-color-mark">GracePeriod</span>*<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">”, faire un “</span>*<span class="fabric-text-color-mark">clic droit → Permissions…</span>*<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">”</span>**

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Puis cliquer sur “</span>***<span class="fabric-text-color-mark">Add</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">”.</span>

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Choisir l’utilisateur actuel.</span>

<table id="bkmrk--9" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td style="border-style: hidden;">[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Rytimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/Rytimage-png.png)

</td><td style="border-style: hidden;">[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/2TIimage-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/2TIimage-png.png)

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Puis donner les droits en “</span>***<span class="fabric-text-color-mark">Full control</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">” et valider.</span>

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

#### <span style="color: rgb(35, 111, 161);">**2.3 Supprimer la clé**</span>

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Clic droit sur la clé contenant “</span>***<span class="fabric-text-color-mark">RTMTIMEBOMB</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">” puis “</span>***<span class="fabric-text-color-mark">Delete</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">”.</span>

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Confirmer.</span>

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">La clé est supprimée.</span>

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

---

### <span style="text-decoration: underline; color: rgb(52, 73, 94);">**III. Redémarrer les services**</span>  


<p class="callout warning">**<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">**Attention** : redémarrer les services entrainera une déconnexion des utilisateurs. Parfois, un redémarrage du service ne suffira pas et il faudra alors redémarrer le serveur. Ce qui entraînera une période d’indisponibilité.</span>**</p>

Pour que la modification s’applique, un redémarrage du serveur est nécessaire. Cependant, il est possible de redémarrer uniquement le service RDS.

Cliquer sur démarrer, puis taper “***<span class="fabric-text-color-mark">Services.mmc</span>***”

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Chercher le service “</span>***<span class="fabric-text-color-mark">Remote Desktop Services</span>***<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">”</span>

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Redémarrer le service.</span>

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Valider l’avertissement et attendre le redémarrage des services.</span>

<table id="bkmrk--20" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td style="border-style: hidden;">[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/6a8image-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/6a8image-png.png)

</td><td style="border-style: hidden;">[![image.png](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/wO3image-png.png)](https://docs.labs404.fr/uploads/images/gallery/2026-07/scaled-1680-/wO3image-png.png)

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

<span style="color: rgb(23,43,77); font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-weight: 400; letter-spacing: -0.08px; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline; float: none;">Vérifier la ‘grace period’ restante avec la commande powershell : </span>

```powershell
(Invoke-WmiMethod -PATH (gwmi -namespace root\cimv2\terminalservices -class win32_terminalservicesetting).__PATH -name GetGracePeriodDays).daysleft
```

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