Change Windows Admin Password Via Linux Live CD 04-07-2013, 07:00 PM
#1
Learned this nifty trick when i locked myself out of my account.
You will need a Linux live cd (also works if Linux is already installed).
once you have loaded your Linux cd.
1. go into the windows partition directory.
2. find system32 and change the file name sethc.exe to sethc1.exe
3. next find cmd.exe and change it's name to sethc.exe
4. save your changes and restart your computer
Now when the login screen appears, press shift 5 times and a terminal will open.
With a terminal open you can now change the password to your account.
You can also give other accounts admin privileges using.
You will need a Linux live cd (also works if Linux is already installed).
once you have loaded your Linux cd.
1. go into the windows partition directory.
2. find system32 and change the file name sethc.exe to sethc1.exe
3. next find cmd.exe and change it's name to sethc.exe
4. save your changes and restart your computer
Now when the login screen appears, press shift 5 times and a terminal will open.
With a terminal open you can now change the password to your account.
Code:
net user (username) (new password)
Code:
net user /add (username) (password) <-- skip this step if you already have an account made
net localgroup administrators (username) /add
net share concfg*C:\/grant:(username),full
there are 10 types of people in this world,
those who understand binary and those who don't.
skype name: J4W3S.23
those who understand binary and those who don't.
skype name: J4W3S.23