Changing default user

Discussion in 'Windows Virtual Machine' started by NachoMora, Sep 20, 2024.

  1. NachoMora

    NachoMora Bit poster

    Messages:
    2
    Hi folks!
    I want to change the user that shows up as default on the initial sign in screen when I start the VM. I even deleted the default user, and it's still showing up as the only option, until I click "Other User" and manually input the credentials. Here are the steps I've followed so far:
    1. I created a Windows 11 VM using the assistant. A local admin user was created: local_admin_account
    2. I added a school or work account. [email protected]
    3. Rebooted the VM.
    4. local_admin_account is still the only user that shows up in the sign in screen.
    5. Click on "Other user", enter [email protected]'s credentials. It logs in without any issue.
    6. Go to Settings > Accounts > Other accounts, delete local_admin_account
    7. Reboot the VM.
    8. local_admin_account is still the only user that shows up in the sign in screen. I'm unable to log in to local_admin_account.
    9. Click on "Other user", enter [email protected]'s credentials. It logs in without any issue.
    10. Go to Settings > Accounts > Other accounts. local_admin_account is no longer there.
    11. From here, I can repeat steps 8-10 indefinitely.
    I don't want to recover local_admin_account, I simply want to make [email protected] the default user that shows up in the sign in screen when I start the VM. How can I do this?
     
  2. RyanD23

    RyanD23

    Messages:
    2
    Best Answer
    I found a resolution.

    You have to change the values in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Change the DefaultUserName to whatever you want, as well as the add a DefaultPassword string value if applicable
     
    NachoMora likes this.
  3. RyanD23

    RyanD23

    Messages:
    2
    I have the same issue...
     
  4. RyanD23

    RyanD23

    Messages:
    2
    Best Answer
    I found a resolution.

    You have to change the values in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    Change the DefaultUserName to whatever you want, as well as the add a DefaultPassword string value if applicable
     
    NachoMora likes this.

Share This Page