Run uninstall twice (it might fail first time)
- C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\0.1.0.12\bin\uninstall.ps1
Further cleanup
- Delete Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure\HybridWorker
- Delete Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HybridRunbookWorkerV2
- Uninstall service - sc.exe delete HybridWorkerService
- Delete C:\Packages\Plugins\Microsoft.Azure.Automation.HybridWorker.HybridWorkerForWindows\1.1.5