Update one-drive

Disable Onedrive from side panel
This commit is contained in:
Przemek Grondek 2023-04-30 23:23:25 +02:00
parent 7a74b393ef
commit 128ae1781d

View File

@ -4,10 +4,18 @@ description: Disable OneDrive
privilege: TrustedInstaller privilege: TrustedInstaller
actions: actions:
# ---------- OneDrive # ---------- OneDrive
- !writeStatus: {status: 'Disable OneDrive'} - !writeStatus: { status: 'Disable OneDrive' }
- !registryValue: - !registryValue:
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive' path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive'
value: 'DisableFileSyncNGSC' value: 'DisableFileSyncNGSC'
data: '1' data: '1'
type: REG_DWORD type: REG_DWORD
# Remove OneDrive from the Explorer Side Panel
- !registryKey:
path: 'HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}'
operation: add
- !registryKey:
path: 'HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}'
operation: add