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

@@ -1499,12 +1499,18 @@
# Grant back permission to accses OneDrive folder # Grant back permission to accses OneDrive folder
icacls $Env:OneDrive /grant \"Administrators:(D,DC)\" icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
# Disable OneSyncSvc
Set-Service -Name OneSyncSvc -StartupType Disabled
" "
], ],
"UndoScript": [ "UndoScript": [
" "
Write-Host \"Installing OneDrive\" Write-Host \"Installing OneDrive\"
winget install Microsoft.Onedrive --source winget winget install Microsoft.Onedrive --source winget
# Enabled OneSyncSvc
Set-Service -Name OneSyncSvc -StartupType Enabled
" "
], ],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive" "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive"

View File

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