diff --git a/winutil.ps1 b/winutil.ps1 index c26878ca..9ec18d62 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -4424,8 +4424,10 @@ function Invoke-WPFPanelAutologin { Enables autologin using Sysinternals Autologon.exe #> - curl.exe -ss "https://live.sysinternals.com/Autologon.exe" -o $env:temp\autologin.exe # Official Microsoft recommendation https://learn.microsoft.com/en-us/sysinternals/downloads/autologon - cmd /c $env:temp\autologin.exe /accepteula + + # Official Microsoft recommendation: https://learn.microsoft.com/en-us/sysinternals/downloads/autologon + Invoke-WebRequest -Uri "https://live.sysinternals.com/Autologon.exe" -OutFile "$env:temp\autologin.exe" + cmd /c "$env:temp\autologin.exe" /accepteula } function Invoke-WPFPanelDISM { <#