Update Invoke-WPFPanelAutologin.ps1 (#4596)

This commit is contained in:
Gabi
2026-06-03 21:45:16 +03:00
committed by GitHub
parent 6b125346cd
commit ceec8aeb53
+2 -10
View File
@@ -1,12 +1,4 @@
function Invoke-WPFPanelAutologin { function Invoke-WPFPanelAutologin {
<# Invoke-WebRequest -Uri https://live.sysinternals.com/Autologon.exe -OutFile "$Env:Temp\autologin.exe"
Start-Process -FilePath "$Env:Temp\autologin.exe" -ArgumentList /accepteula
.SYNOPSIS
Enables autologin using Sysinternals Autologon.exe
#>
# 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
} }