Dave Smith
asked on
Microsoft OneDrive removal problem
Hello Used the following answer to remove Win 10 apps - https://www.experts-exchange.com/questions/29209554/Remove-all-apps-from-Windows-10-Ent.html?anchor=a43253411¬ificationFollowed=267392558#a43253411
Microsoft OneDrive remains, I have the following script that removes OneDrive, however it only removes it for the logged on user and when I login as another user its still there – how to I remove it for all users? RemoveOneDrive.ps1
I would like to incorporate this removal of this OneDrive script in to the larger removal of all apps script, how would I do this? How would I incorporate this script into the original removal of all apps script?
Microsoft OneDrive remains, I have the following script that removes OneDrive, however it only removes it for the logged on user and when I login as another user its still there – how to I remove it for all users? RemoveOneDrive.ps1
I would like to incorporate this removal of this OneDrive script in to the larger removal of all apps script, how would I do this? How would I incorporate this script into the original removal of all apps script?
ASKER
Hi thanks but I'm looking for a script rather than a application that will accomplish the task of removing One Drive for all users - can you assist? I want to use the script during the deployment of the image
This should do it:
reg load "hku\Default" "C:\Users\Default\NTUSER.DAT"
reg delete HKU\default\software\Microsoft\Windows\CurrentVersion\Run /v OneDriveSetup /f
reg unload "hku\Default"
ASKER
Thanks Micheal, should I use this as a PS or a CMD and where in the task sequence should it be placed? Could i add this to your PS script you provided to remove all apps?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers Michael
See: https://www.oo-software.com/en/ooappbuster