1
0
mirror of https://github.com/ChrisTitusTech/winutil.git synced 2025-04-05 02:32:10 +00:00

Fix 'Invoke-WPFPanelAutologin.ps1' Public Function ()

This commit is contained in:
Mr.k 2024-06-28 17:47:59 +03:00 committed by GitHub
parent c2938f9339
commit 83ef15ccaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,8 @@ 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
}