Disabe OneDrive

This commit is contained in:
Przemek Grondek 2023-04-30 23:04:39 +02:00
parent 435b66a51b
commit c21c82a6ba
2 changed files with 15 additions and 1 deletions

View File

@ -5,3 +5,4 @@ privilege: Admin
actions: [] actions: []
features: features:
- features\lite\dark-mode.yml - features\lite\dark-mode.yml
- features\lite\one-drive.yml

View File

@ -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