Windows 10: Why did the username "setup" appear after getting off of domain and restarting computer?

Discus and support Why did the username "setup" appear after getting off of domain and restarting computer? in Windows 10 Gaming to solve the problem; A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and... Discussion in 'Windows 10 Gaming' started by Christopher Talavat, Nov 25, 2022.

  1. Why did the username "setup" appear after getting off of domain and restarting computer?


    A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and restarted computer several times and no other options are available. Please help.

    :)
     
    Christopher Talavat, Nov 25, 2022
    #1
  2. bdanmo Win User

    UnattendedJoin error: failed to find the domain data (0x6e)

    Thanks for the suggestion! I don't want to add a domain account, as this is a generic unattended install that will be used for all company machines. Do you think it's possible that the computer would join the domain if, instead of using UnattendedJoin in specialize, I used your steps but left out the specific account?

    The other thing I was thinking was to use a generic account to allow the domain join during the specialize step. I added a machine password in the UnattendedJoin component, and instead of getting the error listed above, I got an authentication error, which makes me think I could probably do a secure join instead of the unsecure join.

    Thoughts?
     
    bdanmo, Nov 25, 2022
    #2
  3. robos Win User
    Getting a domain name...

    Just simple 3 steps to make your website glow to millions…
    Step 1: Sign up now and get a FREE domain!
    Step 2: Design your new website in minutes!
    Step 3: You are live! Share your life online!

    Click here…
     
    robos, Nov 25, 2022
    #3
  4. Why did the username "setup" appear after getting off of domain and restarting computer?

    Unable to get computer to join domain through WDS

    FYI:

    I found a work around for this by using a script under C:\Windows\Setup\Scripts\SetupComplete.cmd file.

    When windows is done setting up, it will look through the scripts folder to find a SetupComplete.cmd file, if it finds one, it will execute the file.

    SetupComplete.cmd calls the joindomain.ps1 powershell script:

    powershell.exe -nologo -executionpolicy bypass -noprofile -file "C:\Windows\Setup\Scripts\jd.ps1"

    By default, powershell does not allow running custom PS scripts, which is why we need to bypass it.

    Joindomain.ps1 joins a computer to the domain:


    $domain = "test.com"
    $password = "Mypass" | ConvertTo-SecureString -asPlainText -Force
    $username = "$domain\administrator"
    $credential = New-Object System.Management.Automation.PSCredential($username,$password)
    $ouPath="OU=workstations,DC=test,DC=com"
    add-computer -Credential $credential -DomainName $domain -OUPath $ouPath -restart -force
    powershell -noprofile -command "&{ start-process powershell -ArgumentList '-noprofile -file C:\Windows\Setup\Scripts\joindomain.ps1' -verb RunAs}"



     
    manofskill, Nov 25, 2022
    #4
Thema:

Why did the username "setup" appear after getting off of domain and restarting computer?

Loading...
  1. Why did the username "setup" appear after getting off of domain and restarting computer? - Similar Threads - Why did username

  2. Why did CoPilot dissapear after restarting my computer?

    in Windows 10 Gaming
    Why did CoPilot dissapear after restarting my computer?: Before restarting my computer, I had CoPilot in the taskbar and could use it. After restarting, it was gone. https://answers.microsoft.com/en-us/windows/forum/all/why-did-copilot-dissapear-after-restarting-my/5ef6e658-e854-4d55-97e8-f6df212eaae2
  3. Why did CoPilot dissapear after restarting my computer?

    in Windows 10 Software and Apps
    Why did CoPilot dissapear after restarting my computer?: Before restarting my computer, I had CoPilot in the taskbar and could use it. After restarting, it was gone. https://answers.microsoft.com/en-us/windows/forum/all/why-did-copilot-dissapear-after-restarting-my/5ef6e658-e854-4d55-97e8-f6df212eaae2
  4. Why did the username "setup" appear after getting off of domain and restarting computer?

    in Windows 10 Software and Apps
    Why did the username "setup" appear after getting off of domain and restarting computer?: A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and restarted computer several times and no other options are available. Please help....
  5. Why did the username "setup" appear after getting off of domain and restarting computer?

    in Windows Hello & Lockscreen
    Why did the username "setup" appear after getting off of domain and restarting computer?: A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and restarted computer several times and no other options are available. Please help....
  6. Why did the username "setup" appear having getting off of domain and restarting computer?

    in Windows 10 Gaming
    Why did the username "setup" appear having getting off of domain and restarting computer?: A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and restarted computer several times and no other options are available. Please help....
  7. Why did the username "setup" appear having getting off of domain and restarting computer?

    in Windows 10 Software and Apps
    Why did the username "setup" appear having getting off of domain and restarting computer?: A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and restarted computer several times and no other options are available. Please help....
  8. Why did the username "setup" appear having getting off of domain and restarting computer?

    in Windows Hello & Lockscreen
    Why did the username "setup" appear having getting off of domain and restarting computer?: A computer was having domain issues, I took it off the domain and computer restarted. The only username option is now "setup." I have shutdown and restarted computer several times and no other options are available. Please help....
  9. Why did my computer force a restart?

    in Windows 10 BSOD Crashes and Debugging
    Why did my computer force a restart?: I just ran into the "Blue screen of death" where my computer suddenly ran into a problem and needed to restart. I checked the Reliability Monitor, but did not get an explanation. I can only assume it was because of the update I did the day before, but I can't be sure. Here...
  10. After trying to reset my computer, I get "why did my PC restart?"

    in Windows 10 Installation and Upgrade
    After trying to reset my computer, I get "why did my PC restart?": Yesterday I reset my computer. When I turned it on this morning, it asked for my region/language etc, and then it moved to the screen where it asks in bold letters: "Why did my PC restart?" It says that there was an issue with resetting the computer, and it wants to...