mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-12-15 23:35:02 -06:00
Remove OneDrive Setup key when uninstalling OneDrive for other users or in Sysprep mode
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
|
||||
; Create task to remove OneDrive if it's already installed
|
||||
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
|
||||
"UninstallMicrosoftOneDrive"="cmd.exe /c winget uninstall --accept-source-agreements --disable-interactivity --id Microsoft.OneDrive"
|
||||
|
||||
; Remove task that installs OneDrive
|
||||
[hkey_users\default\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
|
||||
"OneDriveSetup"=-
|
||||
Reference in New Issue
Block a user