diff --git a/scripts/Windows/Scripts/Users.ps1 b/scripts/Windows/Scripts/Users.ps1 index 37d896aa..108284af 100644 --- a/scripts/Windows/Scripts/Users.ps1 +++ b/scripts/Windows/Scripts/Users.ps1 @@ -91,6 +91,12 @@ $null = New-Module { Register-Setup -DefaultUser; Enable-OneShotListener; Enable-UAC; + + # Reset Windows activation status + # Otherwise the login won't work - Windows is fricking frustrating. + slmgr /upk; + slmgr /cpky; + slmgr /rearm; Restart-Intermediate -CurrentUser; exit; }