I’ve been working on creating a task that removes google chrome from computers in our network. For some reason my task keeps failing and I cannot figure out why. Any help would be appreciated.
Here is what I’ve got:
wait cmd /c taskkill /im chrome.exe /T /f
this is where it fails–> run{value “uninstallstring” of key “HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome” of registry}