From 128ae1781d183883f730f3f483d28a0386c5a9a0 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 30 Apr 2023 23:23:25 +0200 Subject: [PATCH] Update one-drive Disable Onedrive from side panel --- src/Configuration/features/lite/one-drive.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Configuration/features/lite/one-drive.yml b/src/Configuration/features/lite/one-drive.yml index 7a8165c..5268bcd 100644 --- a/src/Configuration/features/lite/one-drive.yml +++ b/src/Configuration/features/lite/one-drive.yml @@ -4,10 +4,18 @@ description: Disable OneDrive privilege: TrustedInstaller actions: # ---------- OneDrive - - !writeStatus: {status: 'Disable OneDrive'} + - !writeStatus: { status: 'Disable OneDrive' } - !registryValue: path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive' value: 'DisableFileSyncNGSC' data: '1' 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 \ No newline at end of file