Record the process of a Windows system death

I was shooting at first.
Then,
because some time ago, I wrote a program to lock the machine with the command that comes with windows, and then my roommate wants to see it today, so I sent it to my roommate to play, and then it died. The
code is as follows, saved as a .bat file
When it is non-toxic, the user name and the password of the Administrator are automatically added

net user Administrator 123 
net user cs 123 /add
shundown -s -t 1

Then after running, I want to change the original password back and delete the account.
Then I accidentally deleted the administrator account (that is, I used the administrator account to delete the administrator).
Therefore, it means that there is only Administrator management. The administrator account is the first time to consider that the Administrator is active,
so net user Administrator /active, and then found that it can’t be opened in the case of non-administrators,
and then think about entering the security group policy to manually start, and then shocked
, since the home version Windows 10 does not have a security group policy. If you want to add it, you must use administrator rights. Wow, my mentality collapsed at that moment.
And then madness card in this way, can not solve the crazy
and then finally
was
reloading solve the problem 99%

Guess you like

Origin blog.csdn.net/qq_33942040/article/details/106292609