> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/pam/fr/knowledge-base/how-to-articles/elevate-management-tools-with-a-privileged-account.md).

# Élever les outils de gestion avec un compte privilégié

Élevez les outils de gestion avec un compte privilégié à l'aide de sessions PowerShell Remote configurées pour s'exécuter en tant qu'administrateur dans Remote Desktop Manager.

Découvrez comment gérer les outils avec des privilèges élevés en utilisant le type de session PowerShell Remote dans Remote Desktop Manager. Il établit une connexion à un hôte distant par l'entremise de ps-sessions avec des identifiants différents.

### Prérequis

* L'[***écouteur WinRM HTTPS***](https://learn.microsoft.com/en-us/windows/win32/winrm/installation-and-configuration-for-windows-remote-management) est correctement configuré sur le poste de travail cible.
* Un ***certificat SSL valide*** est utilisé avec une empreinte appropriée.

#### Configurer une **entrée PowerShell terminal (Remote)**

1. Ouvrez **Remote Desktop Manager.**
2. Cliquez sur **Nouvelle entrée** et cherchez **PowerShell terminal (Remote)**.
3. Sélectionnez **PowerShell terminal (Remote)** comme type de session.
4. Saisissez le nom, l'hôte et les identifiants.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Vous pouvez configurer plusieurs hôtes et sélectionner la destination au démarrage de la session.</p></div>
5. Les identifiants élevés peuvent être des identifiants personnalisés provenant d'AD, un compte de gestion des accès privilégiés, ou toute autre entrée d'identifiants de Remote Desktop Manager.
6. Pour élever les permissions, la session doit être configurée pour ***s'exécuter en tant qu'administrateur***.
7. Naviguez vers l'onglet **Exécuter en tant que**.
8. Activez le paramètre **Exécuter en tant qu'administrateur**. Notez que le port 5986 - HTTPS (WinRM) est utilisé lorsque l'entrée PowerShell est exécutée en tant qu'administrateur.
9. Cliquez sur ***Ajouter*** pour enregistrer l'entrée PowerShell.
10. Exécutez l'entrée PowerShell.
11. Pour confirmer que la session s'exécute sous un compte privilégié, utilisez les commandes PowerShell suivantes :

* Vérifier l'utilisateur actuel

```powershell
whoami
```

* Vérifier les permissions élevées

```powershell
$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
$currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/pam/fr/knowledge-base/how-to-articles/elevate-management-tools-with-a-privileged-account.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
