> 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/gateway/it/knowledge-base/how-to-articles/use-devolutions-gateway-with-an-external-browser.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Utilizzare Devolutions Gateway con un browser esterno

Utilizzi Devolutions Gateway con un browser Google Chrome esterno, incluse soluzioni alternative e script PowerShell per i percorsi dei dati utente.

È possibile utilizzare Devolutions Gateway con un browser esterno, ma al momento vi sono alcune limitazioni di cui tenere conto a causa della progettazione del browser:

* Funziona solo con Google Chrome.
* Google Chrome deve essere chiuso quando si apre un sito web da Remote Desktop Manager. Una soluzione a questo problema è disponibile nella [soluzione alternativa](#workaround-to-set-up-without-having-to-close-chrome).
* Nel caso in cui siano presenti altre impostazioni proxy con Chrome (tramite GPO, riga di comando, impostazioni, ecc.), queste potrebbero entrare in conflitto tra loro e Devolutions Gateway non funzionerà.
* Se Google Chrome è chiuso e non ha altre impostazioni proxy, configuri la voce per l'apertura esterna come qualsiasi altra voce in Remote Desktop Manager. Non sono necessarie installazioni o componenti aggiuntivi affinché funzioni.

### Soluzione alternativa per la configurazione senza dover chiudere Chrome

1. Faccia clic con il pulsante destro del mouse per accedere alle ***Proprietà*** della voce ***Web Browser*** in cui è impostato Devolutions Gateway.
2. Nella sezione ***Generale***, imposti ***Visualizzazione*** su ***Esterno***.
3. Vada alla scheda ***Avanzato***.
4. Selezioni ***Percorso dati utente***.
5. Inserisca un percorso in cui archiviare i nuovi dati utente di Chrome.
6. Faccia clic su ***Ok*** per salvare le modifiche.

### PowerShell

Questa sezione presenterà diverse soluzioni tramite PowerShell.

#### Modifica in blocco tramite PowerShell

È possibile [modificare in blocco](https://docs.devolutions.net/rdm/it/ribbon-menu-bar/edit/batch-edit) le voci con un comando PowerShell personalizzato per fare in modo che tutte utilizzino un percorso diverso (può essere la cartella temp o qualsiasi altro percorso che gli utenti sono autorizzati a utilizzare):

```powershell
$connection.Web.UseUserDataPath = $true;
$connection.Web.UserDataPath  = "C:\MyPath\" + $connection.ID;
$RDM.Save();
```

#### Modifica temporanea con Before open

È inoltre possibile [utilizzare temporaneamente le proprietà](https://docs.devolutions.net/rdm/it/knowledge-base/how-to-articles/execute-a-powershell-script-before-opening-a-connection) 'Web.UseUserDataPath' impostata su true e 'Web.UserDataPath' impostando il percorso sulla cartella temp o su qualsiasi altro percorso che gli utenti sono autorizzati a utilizzare, che può essere dinamico con un evento Before open (tramite script PowerShell).

```powershell
$RDM.Connection.Web.UseUserDataPath = $true
$RDM.Connection.Web.UserDataPath = "C:\MyPath\" + $RDM.Connection.ID
```

#### Eliminazione della cartella

Questo codice viene utilizzato per eliminare la cartella nell'evento onClose:

```powershell
$connectionID = $RDM.Connection.ID
Remove-Item -Path "C:\MyPath\$connectionID" -Recurse -Force
```

{% hint style="info" %}
Non è possibile aprire un sito web utilizzando Devolutions Gateway se Chrome è già in esecuzione senza le soluzioni alternative, a causa del modo in cui Google Chrome è progettato. Un'istanza di Chrome già aperta non può modificare le impostazioni proxy in modo dinamico.
{% endhint %}


---

# 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/gateway/it/knowledge-base/how-to-articles/use-devolutions-gateway-with-an-external-browser.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.
