Disable windows update automatic restart
This commit is contained in:
parent
2fcb328d0f
commit
2acca347df
@ -126,3 +126,21 @@ actions:
|
|||||||
data: 'Off'
|
data: 'Off'
|
||||||
type: REG_SZ
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user