Enable UAC on cleanup

This commit is contained in:
Manuel Thalmann 2023-07-03 14:35:16 +02:00
parent d3dfc4c523
commit 19ad2e270a

View file

@ -290,6 +290,7 @@ class Context {
[void] Cleanup() {
$this.DeregisterNewUserReboot();
$this.RemoveAutologin();
$this.SetUACState($true);
Remove-Item $($this.EnsureConfigKey().PSPath);
}
}