diff --git a/src/Configuration/custom.yml b/src/Configuration/custom.yml index fee9ab2..1ba4b67 100644 --- a/src/Configuration/custom.yml +++ b/src/Configuration/custom.yml @@ -4,4 +4,5 @@ description: Custom lite configration privilege: Admin actions: [] features: - - features\lite\dark-mode.yml \ No newline at end of file + - features\lite\dark-mode.yml + - features\lite\one-drive.yml diff --git a/src/Configuration/features/lite/one-drive.yml b/src/Configuration/features/lite/one-drive.yml new file mode 100644 index 0000000..7a8165c --- /dev/null +++ b/src/Configuration/features/lite/one-drive.yml @@ -0,0 +1,13 @@ +--- +title: OneDrive +description: Disable OneDrive +privilege: TrustedInstaller +actions: + # ---------- OneDrive + - !writeStatus: {status: 'Disable OneDrive'} + + - !registryValue: + path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\OneDrive' + value: 'DisableFileSyncNGSC' + data: '1' + type: REG_DWORD