How to remove Windows password?

1DSmII

Senior Member
Messages
2,071
Solutions
5
Reaction score
632
Location
UK
Is there any way to "de-password" Win 10 if it isn't activated, without having to reinstall or activate Windows?

I just need Windows to not stall on the login screen when it boots - ie. it needs to boot straight into Windows.

Actually I'm not 100% sure the PC will be fully powered down (may have to ask the software developer). This is part of a system to capture footage from a camera, and the software I'm using for capturing requires a separate program (scroll down to the bottom of the page where it says "19") to start up the PC and capture software at specific times.

Thanks for any help.
 
Command prompt as Administrator:

net user "USERNAME" ""

Replace USERNAME with your username.
 
Solution
Open REGEDIT and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Under the above key, edit the string value called AutoAdminLogon and set the value to 1. Set DefaultUserName to your user name and DefaultPassword to your password. If those keys don't exist create them as string values.

Now when you boot your machine it will bypass the logon screen and automatically log you on.
 
Thanks Robert.
 
Open REGEDIT and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Under the above key, edit the string value called AutoAdminLogon and set the value to 1. Set DefaultUserName to your user name and DefaultPassword to your password. If those keys don't exist create them as string values.

Now when you boot your machine it will bypass the logon screen and automatically log you on.
OK, just trying this, but:

Can't see the string value called AutoAdminLogon so I went for AutologonSID, and changed value to 1

Hopefully that's OK.
 
I tried creating DefaultUserName, but that didn't work. It isn't there once I get back into Windows.

So tried with just UserName. Again that didn't work, but the string value still exists after reboot.

Not sure what else I can try?
 
Command prompt as Administrator:

net user "USERNAME" ""

Replace USERNAME with your username.
Many thanks XiaoDeer. This worked for me.
 
There appears to be two different items being discussed in this thread.

a) Removing a password from an existing user account.
b) Bypassing the interactive login to the Windows OS.

These are two different tasks.

I guess this post is kind of pointless on my part since solutions have already been provided to both items. It might still be helpful for posterity's sake to know what the actual requirement was.
 
There appears to be two different items being discussed in this thread.

a) Removing a password from an existing user account.
b) Bypassing the interactive login to the Windows OS.

These are two different tasks.

I guess this post is kind of pointless on my part since solutions have already been provided to both items. It might still be helpful for posterity's sake to know what the actual requirement was.
All I needed was for the PC to boot straight into Windows.

The software I'm using (UFOCaptureHD2) needs to start at a specific time of day, and in order for that to happen, it uses a secondary application called NightScheduler which turns the PC off and on, as well as starting up UFOCaptureHD2.

However, if there's a Windows password set up, I'm assuming the process would stall since it couldn't get past the login screen.

It's an automated system that should just run without my intervention, turning the PC on at night, and off at dawn (I'm capturing footage of the night sky), so having a password getting in the way compromises the automation.

Unfortunately, when I put the PC together (some years ago) I wasn't thinking, and as I always do (or did!), when I set up a system, I put in a password to protect Windows.
 
Open REGEDIT and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Under the above key, edit the string value called AutoAdminLogon and set the value to 1. Set DefaultUserName to your user name and DefaultPassword to your password. If those keys don't exist create them as string values.

Now when you boot your machine it will bypass the logon screen and automatically log you on.
OK, just trying this, but:

Can't see the string value called AutoAdminLogon so I went for AutologonSID, and changed value to 1

Hopefully that's OK.
Set the AugolongonSID back to what it was.

Key is here in Regedit:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

If they do not exist, create the following REG_SZ (or string) values:
AutoAdminLogon
DefaultUserName
DefaultPassword

Now Set AutoAdminLogon to 1, the DefaultUserName to your logon username, and the DefaultPassword to your password.
 
Open REGEDIT and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Under the above key, edit the string value called AutoAdminLogon and set the value to 1. Set DefaultUserName to your user name and DefaultPassword to your password. If those keys don't exist create them as string values.

Now when you boot your machine it will bypass the logon screen and automatically log you on.
OK, just trying this, but:

Can't see the string value called AutoAdminLogon so I went for AutologonSID, and changed value to 1

Hopefully that's OK.
Set the AugolongonSID back to what it was.

Key is here in Regedit:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

If they do not exist, create the following REG_SZ (or string) values:
AutoAdminLogon
DefaultUserName
DefaultPassword

Now Set AutoAdminLogon to 1, the DefaultUserName to your logon username, and the DefaultPassword to your password.
Thanks again Robert.

I went back to a previous drive image/backup since I could not recreate what I deleted in the AutologonSID, but I've gone with XaioDeer's method to bypass the login - It seems to work.
 

Keyboard shortcuts

Back
Top