diff --git a/src/Configuration/features/lite/improvements.yml b/src/Configuration/features/lite/improvements.yml index 5be3b95..5cf5e4a 100644 --- a/src/Configuration/features/lite/improvements.yml +++ b/src/Configuration/features/lite/improvements.yml @@ -126,3 +126,21 @@ actions: data: 'Off' type: REG_SZ + # Disable Windows Update automatic restart + - !registryValue: + path: 'HKLM\Software\Microsoft\WindowsUpdate\UX\Settings' + value: 'UxOption' + data: '1' + type: REG_DWORD + + - !writeStatus: {status: "Cleaning up the WinSxS folder"} + - !cmd: + exeDir: true + command: 'DISM /Online /Cleanup-Image /StartComponentCleanup' + weight: 30 + + # Uninstall Work Folders Client + - !cmd: + exeDir: true + command: 'dism /online /Disable-Feature /FeatureName:WorkFolders-Client /Quiet /NoRestart' + weight: 30