Deleting the password reset agent from a Windows Server VM
Written by
Updated at October 1, 2024
-
Stop the Windows Server service and delete the agent:
PowerShell-
Stop the
yc-guest-agent
process:Stop-Service -Name "yc-guest-agent"
-
Verify that the service has been stopped:
Get-Service "yc-guest-agent"
Result:
Status Name DisplayName ------ ---- ----------- Stopped yc-guest-agent yc-guest-agent
The service status must be
Stopped
. -
Delete the agent:
& "C:\Program Files\Yandex.Cloud\Guest Agent\guest-agent.exe" uninstall
Result:
2023-03-16T14:47:00.248Z INFO uninstall windows service: yc-guest-agent {"server": "windows"}
-