Skip to content

Commit

Permalink
[OneDrive Removal fix] Leftover autostart key (#2583)
Browse files Browse the repository at this point in the history
* add removal of autostart key

* fix key
  • Loading branch information
MyDrift-user authored Aug 29, 2024
1 parent 2b7d0b6 commit 1fc79bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/tweaks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2713,6 +2713,9 @@
reg delete \"HKEY_USERS\\Default\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\" /v \"OneDriveSetup\" /f
reg unload \"hku\\Default\"

Write-Host \"Removing autostart key\"
reg delete \"HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\" /v \"OneDrive\" /f

Write-Host \"Removing startmenu entry\"
Remove-Item -Force -ErrorAction SilentlyContinue \"$env:userprofile\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\OneDrive.lnk\"

Expand Down

0 comments on commit 1fc79bc

Please sign in to comment.