Skip to content

WIN - Set Autologon Kioskuser0

Go to Automation

View in GitLab

Description

This currently only works if we apply this AFTER autopilot. Maybe a condition that it waits until after autopilot.

reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "AutoAdminLogon" /t REG_SZ /d "1" /f | Out-Null

reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "DefaultUserName" /t REG_SZ /d "kioskUser0" /f | Out-Null

reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "IsConnectedAutoLogon" /t REG_DWORD /d 0 /f | Out-Null

Target: Computers in the groups A_INT_GG_AD_Kamishibai De Krook, A_INT_GG_AD_ToerismePC Gent St-Pieters, A_INT_MOB_AD_Kiosk Externe medewerkers Scanauto and A_INT_GG_AD_Coghent Kiosk Zwarte Doos.

Script language: Powershell.

Credentials

NT Authority/SYSTEM

Input

None

Output

None

Dependencies