Commented out OneDrive folder deletion in ONED.cmd - #43

This commit is contained in:
h3r0 2023-11-07 18:17:25 +00:00 committed by GitHub
parent c5c044ae0a
commit 607c6f13d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ taskkill /f /im "OneDrive.exe"
for /f "usebackq delims=" %%a in (`dir /b /a:d "%SystemDrive%\Users"`) do (
rmdir /q /s "%SystemDrive%\Users\%%a\AppData\Local\Microsoft\OneDrive" >NUL 2>nul
rmdir /q /s "%SystemDrive%\Users\%%a\OneDrive" >NUL 2>nul
@REM rmdir /q /s "%SystemDrive%\Users\%%a\OneDrive" >NUL 2>nul
del /q /f "%SystemDrive%\Users\%%a\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" >NUL 2>nul
)