(Difference between pages)
piszczynski>Aleks |
piszczynski>Aleks (Created page with " == Automatically Logon to windows without entering password == Best used with a home PC and a local account you can set to not require a password. First create a local acco...") |
||
Line 1: | Line 1: | ||
== | == Automatically Logon to windows without entering password == | ||
Best used with a home PC and a local account you can set to not require a password. | |||
First create a local account with the permissions you require. | |||
Then enter in the following changes in the registry using a powershell script; | |||
<pre> | |||
$Username =’<username>’ | |||
$Pass = ‘<password>’ | |||
$RegistryPath = ‘HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon’ | |||
Set-ItemProperty $RegistryPath ‘AutoAdminLogon’ -Value “1” -Type String | |||
Set-ItemProperty $RegistryPath ‘DefaultUsername’ -Value $Username -type String | |||
Set-ItemProperty $RegistryPath ‘DefaultPassword’ -Value $Pass -type String | |||
</pre> | |||
The computer should be restarted to take effect. | |||
Revision as of 22:45, 9 April 2022
Automatically Logon to windows without entering password
Best used with a home PC and a local account you can set to not require a password.
First create a local account with the permissions you require.
Then enter in the following changes in the registry using a powershell script;
$Username =’<username>’ $Pass = ‘<password>’ $RegistryPath = ‘HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon’ Set-ItemProperty $RegistryPath ‘AutoAdminLogon’ -Value “1” -Type String Set-ItemProperty $RegistryPath ‘DefaultUsername’ -Value $Username -type String Set-ItemProperty $RegistryPath ‘DefaultPassword’ -Value $Pass -type String
The computer should be restarted to take effect.