diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index aa66a769..da07fd4f 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -290,6 +290,7 @@ class Context { [void] Cleanup() { $this.DeregisterNewUserReboot(); $this.RemoveAutologin(); + $this.SetUACState($true); Remove-Item $($this.EnsureConfigKey().PSPath); } }