-   Slackware (
-   -   windows admin pass (

kniwor 09-16-2006 07:39 AM

windows admin pass
k, so i got a lot of machines here with dual boot, slackware and windows, but the machines hardly ever see windows, exept for sometimes when it's needed, and when it is needed, i discover that almost always i have to reset the password because i forget the admin pass, i never forget the root password though, because i use it often, the irony is use boot CD's based on linux, so is there a tool i can install in my linux partition so that i can reset my windows thing when i need, i dont want to write down the windows password, and i dont want to keep same password for all machines, and inspite of my best efforts i cant seem to remember them when i need.

w3bd3vil 09-16-2006 10:35 AM

I am not sure you can do anything of this sort, if you cant remember passwords.
although you could try creating a sam file in windows which uses the password admin, hopefully you wont forget that. you could simply change a user password and boot into linux, use ntfs-mount ( and mount ntfs hdd and keep a backup of the file.
never tried it, but theoritically sounds good.

gilead 09-16-2006 03:08 PM

Have a look through the info at - it looks as though you're not the only one to ever do this ;)

kookie 09-16-2006 07:34 PM

Try chntpw for unix.
Just mount the windows partition and run the application.
so the command would be

List the users in the SAM file

sudo chntpw -l /mnt/<windows_partition>/windows/system32/config/SAM
Rest password for user

sudo chntpw -u <user> /mnt/<windows_partition>/windows/system32/config/SAM
Remember to mount the drive with read-write access and always use a blank password for the administator password as this works best. Use a * to achieve this.

Hope this helps.

gnashley 09-17-2006 03:08 AM

Try reglookup. It should allow you to read the registry.

kniwor 09-18-2006 12:31 AM

i dont think getting password is my concern, i can just push in thee windows install CD and do it, but i need it to be easy, and from linux, just for the "cool" thing.

chntpw lookg good, i'll try it today...

how does reading registry help me reset password. anyhow that tool seems useful though.

gnashley 09-18-2006 01:35 PM

Reglookup lets you search the registry from Linux and find what the password is. Then you know what it is in order to login under windows.

urka58 09-20-2006 06:15 PM

Resetting XP passwords with chntpw may results in NTFS-filesystem damage. Low risk, but possible... So if you have important data on the system I'd suggest just to crack the password/s with
and then this
Those tools are available on Auditor live cd as well, if you want to keep using the live disk method.

kookie 09-20-2006 09:04 PM

There is very little almost no damage that i have experianced when changing the password. As long as you don't set a password and just make administrator with a blank password you are fine. Only if you start setting a password with chntpw you start to experiance errors and possible file corruption.

Cracking the password could take a long time to do if the password is complex. Its alot simplier to blank the admin password. just my 2 cents

dogged28 09-20-2006 09:27 PM

i've always just blanked them. works best with little to no risk to the partition. my friends are always forgetting there passwords so i get to play.

Wim Sturkenboom 09-21-2006 03:33 AM

Why not set the admin pwd of each box the same as root pwd (as you don't seem to forget the latter).

I use the same passwords for root and administrator on all my boxes (you don't want that) so I don't have to worry.

dogged28 09-21-2006 10:05 AM

i know this is unsafe but i still do it. i have three main passwords that i use for alot of stuff. with windows i know if i get the password wrong i have 2 more chances before the lockout sets in. there is nothing wrong with writing your passwords down, just where you store or keep the list. i know an admin that has a four page list he keeps locked in a safe, if he cant' remember the passsword, he just opens the safe and verifys it. he is also the only one wiht the combination. and like his backups, another copy is kept locked up offsite. kinda extreme i know. but it works for him.

kniwor 09-21-2006 08:55 PM

things can be done, but isin't this easier than other solutions, and this makes me less dependednt on other things, and more on linux.

i cant keep same pass because i need people to have windows password, but dont want everyone to have linux acess, now many times i can even ask them the password, but why should i roam around the whole world asking for password when i am the admin, i can just reset it in a second.

kookie 09-22-2006 01:13 AM

So how did you go with chntpw?
did that work for you?

davidsrsb 09-22-2006 12:01 PM

The ophtcrack livecd usually finds all windows passwords very quickly

All times are GMT -5. The time now is 06:23 PM.