Udostępnij za pośrednictwem

How do I create a user in "recovery mode" using CMD / Powershell so that I can log in?

Anonimowe
2023-08-22T20:41:07+00:00

My computer with Windows 10 displayed a message today: "Critical Process Died".

When I try to turn it on normally it crashes when the username screen shows up. "Dots" are spinning and at some point it freezes.
I have booted the computer in "recovery mode". I have tried solutions such as:

  1. "Enable safe mode ( with Networking or Command Prompt) ". - it freeze as above.
  2. in "recovery mode" in the CMD I used the commands SFC /Scannow, DISM, etc. - everything is OK!
  3. i have uninstalled the update.

But the system won't boot for the default user (there is 1 user on the computer).
So I wanted to create a second user in "recovery mode" and log in to it, but when I create it and restart the computer, this new user "disappears", as if it was not saved.

I tried:
In "recovery mode" I ran CMD and created a new user:

  1. net user newUser /add
  2. net localgroup Administration newUser /add
  3. net user newUser (user description displayed)
  4. exit

I did a reboot and. when the standard loading screen appears I have no choice of users - there is only 1 old user and after a while everything freezes.
When I log in again in recovery mode and check the list of users "newUser" disappears - there is no entry about it.

How do I create a new user in "recovery mode" so that I can log in to it, or that it is the new default user?

Windows dla domu | Windows 10 | Windows Update

Pytanie zablokowane. To pytanie zostało zmigrowane ze społeczności pomocy technicznej firmy Microsoft. Możesz zagłosować, czy pytanie jest pomocne, ale nie możesz dodawać komentarzy ani odpowiedzi, ani też śledzić pytania. Aby chronić prywatność, profile użytkowników w przypadku migrowanych pytań są anonimizowane.

Komentarze: 0 Brak komentarzy
Liczba głosów: {count}

1 odpowiedź

Sortuj według: Najbardziej pomocne
  1. Igor Leyko 105K Punkty reputacji Niezależny doradca
    2023-08-22T22:17:13+00:00

    Hi,

    My name is Igor, it's a pleasure for me to help others and I'll do all my best to help you.

    Please use Windows installation media and try a recovery steps described at

    https://support.microsoft.com/en-us/help/402603...

    Note, Step 7 may be faulty unfortunately.

    Tell the result.

    Or you may boot from this media but select Repair. Run command prompt, run

    net user Administrator /active:yes

    command.

    Reboot PC and use this account to login and create a new account.

    Do not forget to disable this account because it reduces Windows safety.

    Administrator name may be needed to change according to Windows locale.

    Inne osoby (2) uznały tę odpowiedź za pomocną.
    Komentarze: 0 Brak komentarzy