Computing.Net > Forums > Disk Operating System > batch file to reset password.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch file to reset password.

Reply to Message Icon

Name: Baruch Lorio
Date: November 26, 2002 at 16:49:45 Pacific
OS: xp
CPU/Ram: PII /512
Comment:

Greetings

i would like to know if anyone can help me? I would like to have a batch file in a floppy that i could put in the floppy drive and reboot my machine and be able to reset the administrator password to something that i desired.
i have curently over 300 computer and im looking for the faster way to do this.
Please help if anyone can comeout with any ideas.
Thank you in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: Secret_Doom
Date: November 27, 2002 at 09:51:23 Pacific
Reply:

You mean Windows XP's administrator password, right? If even possible, I reckon it would regard changing specific keys on the windows registry and stuff.

That part of the problem looks like a Windows XP question ... However, the part of doing that automatically is more related to batch, and would fit on this forum (though there's no DOS on NT systems, DOS batch programmers which also know NT batch hang over here).

If you find out what exately to do (probably on the WinXP forum), like which keys to change, post another subject telling that and we might help you on automating the process.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


0

Response Number 2
Name: Stanley_S
Date: December 1, 2002 at 02:47:47 Pacific
Reply:

If you mean the BIOS/Setup password for administrator, then :

You have to have the access to the system (as user) to start the system with floppy,
it means no pass for user, or you know user password; and of course boot-priority set to A !!! Or boot C: in text mode !!!

Starting diskette has any version of DOS (3.xx to 7.xx) with its DEBUG programm.

You start the DEBUG, and DESTROY (change) some of CMOS clock registers:
under DEBUG you enter the commands:
o70 25 ; #25 - register addres
o71 55 ; #55 - in fact - any value ...
o70 26 ; #26 - another register ...
o71 55 ; new value for reg. #26 ...
q ; Quit

and then RESET the computer. CMOS checksum does not fit, so the BIOS suggests to load default values - the passwords as well.

The CMOS clock consists of two I/O ports - 70 and 71: value putted on (OUT) #70 is the address of register driven via port #71 (out, or IN if you wish to read registers).

With only two registers it works OK on most machines (unbranded), on many BRANDED you need more registers destroyed (i.e. #00 to #60)

you can write the file containing I/O commands for DEBUG, then start DEBUG with:
DEBUG < FILE_IO (the file w/commands).
Instead of Q (qiut) in the end you can execute RESET with command g=ffff:0 ...

How do you like it?

Stanley


0

Response Number 3
Name: Baruch lorio
Date: December 6, 2002 at 08:30:09 Pacific
Reply:

You guys are right is XP and idont know if is possiblem what im requesting but there got to be some kind of program that we can run in dos mode and have it rebooted and perform a task.??/


0

Response Number 4
Name: IslamSoft
Date: December 16, 2002 at 01:28:34 Pacific
Reply:

ok.
make a batch file containes these lines:
------
debug
o 70 2e
0 71 ff
q
restart
------
now copy this batch to the windows 98 startup disk and use it to boot the computer
run your batch and your computer will restart with the message "CMOS checksum error". Press F1 and that's it

good luck


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: batch file to reset password.

DOS batch program to reset passwords ? www.computing.net/answers/dos/dos-batch-program-to-reset-passwords-/10882.html

batch file to change sa password www.computing.net/answers/dos/batch-file-to-change-sa-password/9766.html

Batch file to run on log off! www.computing.net/answers/dos/batch-file-to-run-on-log-off/14751.html