---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/intelligent-experiences

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Download and install .Net Desktop Runtime

# Download and install .Net Desktop Runtime for Agentic Desktop {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Reduce setup time and prevent installation errors by downloading and installing .Net Desktop Runtime following the instructions.

## Antes de Iniciar

Ensure that you have installed the Agentic Desktop MSI. For more information, see [Download Agentic Desktop installer](https://servicenow-prod.fluidtopics.net/8a6cxzdJtIn~YN5M~hnP4w "Download the Agentic Desktop installer so that you can install Agentic Desktop on your Windows machine for designing and running desktop actions.").

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

The Agentic Desktop installer guides you through installation of .NET Desktop Runtime during the setup.

## Procedimento

1. Copy the following script to your clipboard.  

       Write-Host "--- Initializing Agentic Environment Setup ---" -ForegroundColor Cyan
       $ErrorActionPreference = "Stop"

       $downloadUrl = "https://dot.net/v1/dotnet-install.ps1"
       $workingDir = $PSScriptRoot
       $scriptPath = Join-Path $workingDir "dotnet-install.ps1"

       try {
           Write-Host "[1/3] Downloading official Microsoft installer..." -ForegroundColor Yellow
           Invoke-WebRequest -Uri $downloadUrl -OutFile $scriptPath

           Write-Host "[2/3] Installing .NET 9.0.10..." -ForegroundColor Yellow
           Set-Location $workingDir

           & .\dotnet-install.ps1 `
               -Architecture x64 `
               -InstallDir "C:\Program Files\dotnet\" `
               -Runtime windowsdesktop `
               -Version 9.0.10

           & .\dotnet-install.ps1 `
               -Architecture x64 `
               -InstallDir "C:\Program Files\dotnet\" `
               -Runtime dotnet `
               -Version 9.0.10

           Write-Host ""
           Write-Host "--- SUCCESS: System is ready for Agentic Desktop ---" -ForegroundColor Green
       }
       catch {
           Write-Host ""
           Write-Host "--- ERROR: Installation failed ---" -ForegroundColor Red
           Write-Host $_.Exception.Message -ForegroundColor Red
       }

       Write-Host ""
       Write-Host "Press any key to exit..."
       $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
        
2. Paste the script in any text editor.
3. Save the file with a `.ps1` extension.
   1. Select FileSave As.
   2. In the File name field, enter a name and save the file with a `.ps1` extension.  
      Example: `myscript.ps1`
   3. Set Save as type to All Files (.).
   4. Choose a location such as Documents or Desktop.
   5. Select Save.
   {#install-dot-network-framework-ad__substeps_whw_pdt_33c}
4. Run the script in Windows PowerShell.
   1. Select Start.
   2. Search for Windows PowerShell.
   3. Select Run as administrator.
   4. Use the <kbd class="ph userinput">cd</kbd> command to move to the folder where you saved the script.  
      Example:

          cd C:\Users\YourName\Documents

   5. Run the script by entering the following command.  
      Example:

          .\myscript.ps1

   {#install-dot-network-framework-ad__substeps_agf_52t_33c}

## Resultado

.NET Desktop Runtime is downloaded and installed on your system.

## O que Fazer Depois

Use Agentic Desktop to design desktop actions. For more information, see [Desktop actions in Agentic Desktop](https://servicenow-prod.fluidtopics.net/ot99gDg5S_GUsvddcU5COg "Desktop actions enable you to automate repetitive tasks on your desktop and web applications. This capability helps you streamline repetitive tasks, improve efficiency, and integrate desktop application workflows into your ServiceNow processes.").

