Hello all,
I am trying to uninstall office 365 and using the below script, I am typing below in action script while creating fixlet but it says an error do anyone please help me with this
exists (keys “ClickToRun” of it; keys “15.0\ClickToRun” of it; keys “16.0\ClickToRun” of it) of keys “HKEY_LOCAL_MACHINE\Software\Microsoft\Office” of (x32 registries;x64 registries)
This is Relevance, not ActionScript.
It will return ‘True’ or ‘False’, and neither true nor false is a command that you execute
Hi Jason,
Could you please guide me to create a fixlet to uninstall O365 and remove it from the registry?
“C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe” scenario=install scenariosubtype=ARP sourcetype=None productstoremove=O365ProPlusRetail.16_en-us_x-none culture=en-us version.16=16.0
To be clear, I don’t know whether that command line is correct; but if it is, the ActionScript would be
action uses wow64 redirection false
wait "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=install scenariosubtype=ARP sourcetype=None productstoremove=O365ProPlusRetail.16_en-us_x-none culture=en-us version.16=16.0
Thanks, Jason, so this script must uninstall Office365 but I still see the below ones in Add/remove programs. Does this action require a reboot?
Office 16 Click-to-Run Extensibility Component
Office 16 Click-to-Run Localization Component
Office 16 Click-to-Run Extensibility Component 64-bit Registration
Tried to kill the officeclicktorun using fixlet wait taskkill.exe /IM “Officeclicktorun.exe” /T /F still this fixlet fails so tried to stop the service using a task waithidden net stop ClickToRunSvc
exists service “ClickToRunSvc” whose (state of it = “Running”)
how to remove the O365 … please advice
1 Like
I’m afraid I don’t have an O365. I’d have to rely on you to find the correct way to uninstall it…once you have the correct command lines, I could help you with how to get those into BigFix, but I may not be much use on finding those command lines, unless someone else on the forum can jump in here…?
Thank you, Jason, the action script worked but not on all machines. I need to kill the process of Officeclicktorun.exe and try to run the same script.
How to kill the officeclicktorun process.