mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
* changed autolinks to now use frontmatter instead off #heading * updated all docs with front matter names * Update DisableLegacyRecovery.md this was the same as EnableLegacyRecovery file * made sure pages have got the corrects scripts on them * Update default.md updated the archetype default to make sure every new page had the title and description automatically on the front matter * Create BraveDebloat.md * added brave debloat link to tweaks.json * Update tweaks.json * Update tweaks.json
19 lines
461 B
Markdown
19 lines
461 B
Markdown
---
|
|
title: "Set Up Autologin"
|
|
description: ""
|
|
---
|
|
```powershell
|
|
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
|
|
}
|
|
```
|