Step 1.
Open the Run command window and enter regedit. This will open the Registry Editor.
The quickest way to access the Run command window is to use this keyboard shortcut: Windows + R. Simply hold down the Windows key and press R on your keyboard.

Step 2.
Double-click the DefaultUserName entry, type your user name, and then click OK.
Step 3.
Double-click the DefaultPassword entry, type your password, and then click OK.
If the DefaultPassword value does not exist, it must be added. To add the value, follow these steps:
- På Redigera menu, click New, and then point to String Value.
- Type DefaultPassword, and then press Enter.
- Double-click DefaultPassword.
- In the Edit String dialog, type your password and then click OK.
If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon
key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.
Step 4.
På Redigera menu, click New, and then point to String Value. Type AutoAdminLogon, and then press Enter. Double-click AutoAdminLogon. In the Edit String dialog box, type 1 and then click OK.

If you have joined the computer to a domain, you should add the DefaultDomainName value, and the data for the value should be set as the fully qualified domain name (FQDN) of the domain, for example riwsoftware.com
Step 5.
Exit Registry Editor. Click Start, click Shutdown, and then type a reason in the Comment text box. Click OK to turn off your computer. Restart your computer. You can now log on automatically.