mirror of
https://github.com/W4RH4WK/Debloat-Windows-10.git
synced 2024-11-17 15:25:37 +00:00
Merge pull request #107 from angelsl/master
Don't silently remove OneDrive directory
This commit is contained in:
commit
911e15a463
@ -19,7 +19,6 @@ if (Test-Path "$env:systemroot\SysWOW64\OneDriveSetup.exe") {
|
||||
echo "Removing OneDrive leftovers"
|
||||
rm -Recurse -Force -ErrorAction SilentlyContinue "$env:localappdata\Microsoft\OneDrive"
|
||||
rm -Recurse -Force -ErrorAction SilentlyContinue "$env:programdata\Microsoft OneDrive"
|
||||
rm -Recurse -Force -ErrorAction SilentlyContinue "$env:userprofile\OneDrive"
|
||||
rm -Recurse -Force -ErrorAction SilentlyContinue "C:\OneDriveTemp"
|
||||
|
||||
echo "Disable OneDrive via Group Policies"
|
||||
|
Loading…
Reference in New Issue
Block a user