Enable UAC on cleanup

This commit is contained in:
Manuel Thalmann 2023-07-03 14:35:16 +02:00
parent 7a04a90770
commit a8dccbd6cc

View file

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