> 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/it/knowledge-base/how-to-articles/elevate-management-tools-with-a-privileged-account.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Elevare gli strumenti di gestione con un account privilegiato

Elevi gli strumenti di gestione con un account privilegiato utilizzando sessioni PowerShell Remote configurate per essere eseguite come amministratore in Remote Desktop Manager.

Scopra come gestire gli strumenti con privilegi elevati utilizzando il tipo di sessione PowerShell Remote in Remote Desktop Manager. Stabilisce una connessione a un host remoto tramite ps-sessions con credenziali diverse.

### Prerequisito

* Il [***WinRM HTTPS listener***](https://learn.microsoft.com/en-us/windows/win32/winrm/installation-and-configuration-for-windows-remote-management) è configurato correttamente sulla workstation di destinazione.
* Viene utilizzato un ***certificato SSL valido*** con un'impronta digitale appropriata.

#### Configurazione di una **voce PowerShell terminal (Remote)**

1. Apra **Remote Desktop Manager.**
2. Faccia clic su **New entry** e cerchi **PowerShell terminal (Remote)**.
3. Selezioni **PowerShell terminal (Remote)** come tipo di sessione.
4. Inserisca il nome, l'host e le credenziali.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>È possibile configurare più host e selezionare la destinazione all'avvio della sessione.</p></div>
5. Le credenziali elevate possono essere credenziali personalizzate da AD, un account di gestione degli accessi privilegiati o qualsiasi altra voce di credenziali di Remote Desktop Manager.
6. Per elevare le autorizzazioni, la sessione deve essere configurata per essere ***eseguita come amministratore***.
7. Vada alla scheda **Run as**.
8. Abiliti l'impostazione **Run as administrator**. Si noti che la porta 5986 - HTTPS (WinRM) viene utilizzata quando si esegue la voce PowerShell come amministratore.
9. Faccia clic su ***Add*** per salvare la voce PowerShell.
10. Esegua la voce PowerShell.
11. Per confermare che la sessione sia in esecuzione con un account privilegiato, utilizzi i seguenti comandi PowerShell:

* Verifichi l'utente corrente

```powershell
whoami
```

* Verifichi le autorizzazioni elevate

```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/it/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.
