Update WPFTweaksRemoveOneDrive to remove OneSyncSvc Service (#3991)

* Update tweaks.json

* Update RemoveOneDrive.md

* Update RemoveOneDrive.md

* Update tweaks.json

* Update RemoveOneDrive.md
This commit is contained in:
Gabi
2026-02-10 22:22:32 +02:00
committed by GitHub
parent 6708756574
commit 4ebe1a3535
2 changed files with 12 additions and 0 deletions

View File

@@ -26,12 +26,18 @@ description: ""
# Grant back permission to accses OneDrive folder
icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
# Disable OneSyncSvc
Set-Service -Name OneSyncSvc -StartupType Disabled
"
],
"UndoScript": [
"
Write-Host \"Installing OneDrive\"
winget install Microsoft.Onedrive --source winget
# Enabled OneSyncSvc
Set-Service -Name OneSyncSvc -StartupType Enabled
"
],
```