From 3a081d5c490c55afee522b7d03cb14e39f625ee7 Mon Sep 17 00:00:00 2001 From: Carl Tashian Date: Wed, 21 Jan 2026 16:20:35 +0000 Subject: [PATCH] Change Windows uninstall command --- platform/smallstep-agent.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/smallstep-agent.mdx b/platform/smallstep-agent.mdx index 167b235d..d71de003 100644 --- a/platform/smallstep-agent.mdx +++ b/platform/smallstep-agent.mdx @@ -1,5 +1,5 @@ --- -updated_at: January 06, 2026 +updated_at: January 21, 2026 title: Deploy the Agent html_title: Deploy the Smallstep Agent description: Distribute and configure Smallstep Agent on Linux, macOS, and Windows. For organizations without MDM or using script-based deployment. @@ -457,10 +457,10 @@ To confirm the agent is installed and running on Windows: ## Uninstall -To uninstall the Smallstep Agent from a Windows system: +To uninstall the Smallstep Agent from a Windows system, run the following PowerShell: ```powershell -msiexec /x "{EDB2FA84-917D-4156-AA1A-4BC5BB10C682}" /quiet +& cmd /c "$(((Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object { $_.DisplayName -like "*Smallstep Agent*" }).UninstallString -replace '/I', '/X')) /quiet" ``` Alternatively, uninstall via the Windows "Add or Remove Programs" settings.