Hi Michelle Jekelis,
I can understand how alarming it must feel to change something and now you can’t even log in. The good news is this is a configuration issue and can be reversed. Besides what the Q&A Assist suggested, here’s a few other things you can try:
1 - Restore the normal sign‑in screen
- On the lock screen, hold Shift and select Power > choose Restart
- Keep holding Shift until you get to Windows Recovery Environment
- If it doesn’t work, you need to force shutting down your PC 3 times.
- Go to Troubleshoot > Advanced options > Command Prompt > enter
regedit - In Registry Editor, go back to
dontdisplaylastusernameand set it to0> Restart PC
2 - If you still can’t sign in, enable the built‑in Administrator
- Go back to Advanced options > Command Prompt
- Run:
net user administrator /active:yes> Restart the PC - Sign in to Administrator (there should be no password by default)
- Once logged in, change the Registry key back or recreate the user account.
Disclaimer: Generally, modifying registry subkeys or work group is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, first check out How to back up and restore the registry in Windows - Microsoft Support
Once you regain access, you can also disable the built‑in Administrator again with net user administrator /active:no in Command Prompt (Admin). If you get stuck at any step, tell me exactly where it is.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.