mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-06-04 14:17:27 +00:00
Update Invoke-WPFPanelAutologin.ps1 (#4596)
This commit is contained in:
@@ -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
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user