How to Silently Install AKS desktop

Silent install · · 6 min read

Achieve a reliable rollout and predictable detection when deploying AKS desktop across your organization. Streamlining machine-level software deployment requires a precise, automated approach to ensure seamless integration without end-user interruption. This guide provides IT administrators managing environments via Intune, SCCM, or PDQ with the essential framework needed to execute a successful deployment. By leveraging the verified silent install command, you can efficiently handle administrative requirements and maintain strict compliance through proper detection rules.

STEP 0

Quick snapshot: Silently install AKS desktop on Windows

Run in an elevated Command Prompt or PowerShell:

cmd
Microsoft.AKSdesktop.0.43.0.X64.exe /S /allusers

Overview

ApplicationAKS desktop
Version0.40.0
PublisherMicrosoft Corporation
Installer typeNSIS or EXE
Install scopeSystem / machine-wide
Requires adminYes
Silent installAvailable
Silent uninstallAvailable
Detection methodRegistry
Installer fileMicrosoft.AKSdesktop.0.43.0.X64.exe

Silent install steps

Run any one of the methods below to install AKS desktop silently with zero user interaction. Command Prompt and PowerShell produce the same result — use whichever fits your deployment workflow.

Method 1: Install with Command Prompt

  1. Download or stage the installer (Microsoft.AKSdesktop.0.43.0.X64.exe) to a local folder, for example C:\Installers.
Installers
This PCLocal Disk (C:)InstallersSearch Installers
Microsoft.AKSdesktop.0.43.0.X64.exe6/17/2026 9:14 AMApplication—
1 item1 item selected
  1. Open Command Prompt as Administrator:
    Press Start→Type cmd→Right-click Command Prompt→Choose Run as administrator
AllAppsDocumentsSettingsFoldersPhotos
Best match
Command PromptSystem
Command Prompt
System
Open
Run as administrator
Run as different user
Open file location
cmd
  1. Switch to the installer folder, then run the silent install command:
cmd
Microsoft.AKSdesktop.0.43.0.X64.exe /S /allusers

Method 2: Install with PowerShell

Run the same silent install through PowerShell (elevated).

  1. Download or stage the installer (Microsoft.AKSdesktop.0.43.0.X64.exe) to a local folder, for example C:\Installers.
  1. Open PowerShell as Administrator — right-click Start (or press Win+X), then:
    • On Windows 10: choose Windows PowerShell (Admin).
    • On Windows 11: choose Terminal (Admin) — it opens Windows Terminal running PowerShell.
Right-click the Start button — or press ⊞ Win + X
Apps and Features
Power Options
Device Manager
Disk Management
Terminal
Terminal (Admin)
Task Manager
Settings
  1. Run the command:
powershell
Start-Process -FilePath Microsoft.AKSdesktop.0.43.0.X64.exe -ArgumentList '/S /allusers' -Wait

Deployment Notes

Key facts to confirm before rolling this out to production machines — permissions required, scope of install, and reboot behavior.

RequirementAdministrator privileges required
Install scopeMachine
Restart behaviorNo restart expected

Detection Rules

Configure your deployment tool with the detection rule below to confirm a successful install of AKS desktop. The same rule work for Microsoft Intune, SCCM, PDQ Deploy, and most RMM platforms — just paste the values into the matching fields.

Registry detection

Key pathHKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\c0837d4a-3830-5b28-851d-d52b0fdbed2e
Value nameDisplayVersion
Expected version0.43.0

PowerShell detection script

Prefer a script-based check? Use this as a custom detection script in Microsoft Intune (or any tool that supports detection scripts). It exits 0 when AKS desktop is detected and 1 otherwise.

powershell
$Key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\c0837d4a-3830-5b28-851d-d52b0fdbed2e'
$Value = (Get-ItemProperty -Path $Key -Name 'DisplayVersion' -ErrorAction SilentlyContinue).'DisplayVersion'
if ($Value -eq '0.43.0') { exit 0 }
exit 1

Silent Uninstall Steps

Remove AKS desktop silently from one machine or your entire fleet. The commands below uninstall without prompts and suppress automatic reboots so you control the timing.

Method 1: Uninstall with Command Prompt

Run the uninstall command from an elevated Command Prompt.

  1. Open Command Prompt as Administrator.
  2. Run the silent uninstall command.
cmd
"%ProgramFiles%\AKS desktop\Uninstall AKS desktop.exe" /allusers /S

Method 2: Uninstall with PowerShell

Run the same silent uninstall command through PowerShell.

  1. Open PowerShell as Administrator.
  2. Run the silent uninstall command.
powershell
Start-Process -FilePath "%ProgramFiles%\AKS desktop\Uninstall AKS desktop.exe" -ArgumentList '/allusers /S' -Wait

Deployment Examples

Drop one of the snippets below into your deployment tool, Group Policy, or scheduled task. Each script wraps the silent install command for AKS desktop as a batch file or PowerShell script — copy, save, and run.

Batch file example

Save the following content as install-aks-desktop.bat in the same folder as the installer.

cmd
@echo off
cd /d "%~dp0"
Microsoft.AKSdesktop.0.43.0.X64.exe /S /allusers
exit /b %errorlevel%

PowerShell script example

Save the following content as install-aks-desktop.ps1 in the same folder as the installer.

powershell
Set-Location -Path $PSScriptRoot
$Installer = 'Microsoft.AKSdesktop.0.43.0.X64.exe'
& $Installer /S /allusers
exit $LASTEXITCODE

Frequently asked questions

Can I silently install AKS desktop on Windows?
Yes, you can run an unattended deployment of AKS desktop 0.40.0 utilizing NSIS or EXE switches to prevent any user prompts. This setup is fully compatible with RMM tools, PDQ Deploy, SCCM, and Intune.
Do I need administrator privileges to install AKS desktop?
Yes, administrator rights are mandatory. You must execute the setup process as an Administrator or deploy it through the SYSTEM context.
Will installing AKS desktop restart the computer?
No, a system reboot is not triggered. The silent EXE installer for AKS desktop finishes its process without restarting your machine, provided you apply the silent switch specified in the installation command.
How do I verify AKS desktop installed successfully?
Verify the deployment by applying the detection rule outlined here—checking the file path, registry key, MSI product code, or MSIX package family name—which are standard features in PDQ, SCCM, and Intune.
How do I silently uninstall AKS desktop?
To remove the application quietly, execute the silent uninstall command provided in this guide for AKS desktop.
Which deployment tools support these commands?
These installation commands work seamlessly with Action1, Atera, Datto RMM, NinjaOne, ManageEngine, PDQ Deploy, SCCM/MECM, and Intune.

Troubleshooting

If the install fails, exits with a non-zero code, or leaves no trace on the target machine, work through the checks below. Most issues come down to permissions, paths, or exit code handling.

Run as administratorMake sure Command Prompt or PowerShell is opened as Administrator. This installer writes to a machine-wide location and will fail silently without elevated permissions.
Verify the installer file nameConfirm that the installer file name matches the command shown in this guide: Microsoft.AKSdesktop.0.43.0.X64.exe.
Run from the correct folderRun the command from the folder that contains the installer file. For batch or PowerShell deployments, place the script and installer in the same folder.
Check exit codesIf the installer returns a non-zero exit code, review the installer log or your deployment tool's logs. Some packages use additional success exit codes.
Restart if requiredIf the application does not appear immediately after installation, sign out and sign back in, or restart the device — this refreshes Start menu shortcuts, file associations, and Path entries written by the installer.
Validate detection rulesIf your deployment tool reports the app as not installed, verify that the detection rule matches the installed version, MSI product code, registry key, or file path. Use the Detection Rules section above to confirm whether the application was installed successfully.

Deployment recap

Before you roll AKS desktop out to production, confirm you have:

  • The silent install command, run from an elevated prompt
  • The matching silent uninstall command for rollback
  • The detection rule wired into your deployment tool

Got all three? You’re ready to deploy at scale. If this guide saved you time, fuel the next one:

Rating
be the first to rate

Comments

Loading comments…

    Leave a comment

    ✎ Edit