Enable UAC on cleanup
This commit is contained in:
parent
d3dfc4c523
commit
19ad2e270a
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ class Context {
|
||||||
[void] Cleanup() {
|
[void] Cleanup() {
|
||||||
$this.DeregisterNewUserReboot();
|
$this.DeregisterNewUserReboot();
|
||||||
$this.RemoveAutologin();
|
$this.RemoveAutologin();
|
||||||
|
$this.SetUACState($true);
|
||||||
Remove-Item $($this.EnsureConfigKey().PSPath);
|
Remove-Item $($this.EnsureConfigKey().PSPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue