Enable UAC on cleanup
This commit is contained in:
parent
7a04a90770
commit
a8dccbd6cc
|
@ -290,6 +290,7 @@ class Context {
|
|||
[void] Cleanup() {
|
||||
$this.DeregisterNewUserReboot();
|
||||
$this.RemoveAutologin();
|
||||
$this.SetUACState($true);
|
||||
Remove-Item $($this.EnsureConfigKey().PSPath);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue