mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-20 03:48:30 +00:00
552 B
552 B
title, description
| title | description |
|---|---|
| Autologin - Enable |
function Invoke-WPFPanelAutologin {
<#
.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
}