File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
docs/content/dev/tweaks/z--Advanced-Tweaks---CAUTION Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 14991499
15001500 # Grant back permission to accses OneDrive folder
15011501 icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
1502+
1503+ # Disable OneSyncSvc
1504+ Set-Service -Name OneSyncSvc -StartupType Disabled
15021505 "
15031506 ],
15041507 "UndoScript" : [
15051508 "
15061509 Write-Host \"Installing OneDrive\"
15071510 winget install Microsoft.Onedrive --source winget
1511+
1512+ # Enabled OneSyncSvc
1513+ Set-Service -Name OneSyncSvc -StartupType Enabled
15081514 "
15091515 ],
15101516 "link" : " https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removeonedrive"
Original file line number Diff line number Diff line change @@ -26,12 +26,18 @@ description: ""
2626
2727 # Grant back permission to accses OneDrive folder
2828 icacls $Env:OneDrive /grant \"Administrators:(D,DC)\"
29+
30+ # Disable OneSyncSvc
31+ Set-Service -Name OneSyncSvc -StartupType Disabled
2932 "
3033 ],
3134 "UndoScript" : [
3235 "
3336 Write-Host \"Installing OneDrive\"
3437 winget install Microsoft.Onedrive --source winget
38+
39+ # Enabled OneSyncSvc
40+ Set-Service -Name OneSyncSvc -StartupType Enabled
3541 "
3642 ],
3743```
You can’t perform that action at this time.
0 commit comments