Forum Discussion
oryxway
Oct 23, 2024Iron Contributor
Uninstall with system account
I am trying to uninstall a software and it is specified that the Install behavior to be System I am not able to uninstall the software through PowerShell. When I run the PowerShell script loc...
micheleariis
Oct 24, 2024MCT
oryxway Hi, 2 things:
1-Can you try removing the -Verb RunAs parameter? Since you are running the script as SYSTEM account, you can remove the -Verb RunAs parameter. This should stop the script from asking for credentials.
2-Verify that the $uninstallString variable contains the correct path to the uninstall executable.
- oryxwayOct 24, 2024Iron ContributorThank you, I did that mistake lol removed it and I had to change this to Run script in 64 bit PowerShell Host
Yes- micheleariisOct 24, 2024MCT
oryxway And it still doesn't work?