mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-06 06:38:31 +00:00
* updated theme to the latest version * Update en.yaml * removed all the order from the docs * add the store link * update homepage * add filename and line number to all the code blocks and also removed pages * auto pull the code from the json files * Merge branch 'main' into winutil-new-features * the script updated linenostart= * Delete LaptopHibernation.md
19 lines
549 B
Markdown
19 lines
549 B
Markdown
---
|
|
title: "Set Up Autologin"
|
|
description: ""
|
|
---
|
|
```powershell {filename="functions/public/Invoke-WPFPanelAutologin.ps1",linenos=inline,linenostart=1}
|
|
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
|
|
}
|
|
```
|