Solved

open a cmd prompt from windows disc

Posted on 2014-02-03
7
374 Views
Last Modified: 2014-02-03
hi

i have a laptop where the only account on the machine is the built in administrator account.
it was under warranty and i foolishly sent it in to HP for repair.
i just got it back and they disabled the built in administrator account.

I'm thinking that I could boot using a windows cd and then access the cmd prompt from the disc and turn the admin account back on.

question is how to do that or a better idea.
i do not want to reformat.
0
Comment
Question by:dgrafx
7 Comments
 
LVL 7

Accepted Solution

by:
CorinTack earned 250 total points
ID: 39830554
You can access the command prompt if you choose the repair option from a Windows disc. Alternatively, there are some third-party tools that will do this for you. One of them can be found here: http://pogostick.net/~pnh/ntpasswd/

The tool is meant to be used to unlock and reset passwords for accounts on machines you have physical access to.
0
 
LVL 19

Expert Comment

by:regmigrant
ID: 39830572
you may be able to use Windows repair to re-enable the administrator account as long as you know what the password and HP didn't change it

If you boot from a windows CD and run a cmd prompt you will only modify the version you booted from not the one that you're locked out of.

I'm not aware of anyway to hack the registry without having access to the actual instance you want to modify - unless HP left remote access enabled; in which case you could connect to the target registry from another machine and create yourself a new account - but this seems unlikely.

Your next best option is to do an in-situ install - which re-copies all the windows files and gives you the option to create a user account.

When the install starts it should find the version of windows you have and offer you an upgrade, a new install or a repair. If you are challenged for administrator password and it won't accept the input you will have to install to a new folder and ignore the old installation (it gets put in a separate folder so you will have access to the content).

None of these require a reformat unless you request it
0
 
LVL 51

Assisted Solution

by:Joe Winograd, EE MVE
Joe Winograd, EE MVE earned 250 total points
ID: 39830618
I used this recently to reset the admin password on a W7/64-bit system:
http://pogostick.net/~pnh/ntpasswd/

Note these points from the Overview:
This is a utility to reset the password of any user that has a valid local account on your Windows system.
Supports all Windows from NT3.5 to Win7, also 64 bit and also the Server versions (like 2003 and 2008).
You do not need to know the old password to set a new one.
It works offline, that is, you have to shutdown your computer and boot off a CD or USB disk to do the password reset.
Will detect and offer to unlock locked or disabled out user accounts!
There is also a registry editor and other registry utilities that works under linux/unix, and can be used for other things than password editing.

It worked perfectly for me. I burned a CD of it and keep it around in my bag of tricks. In addition to changing the Admin password, I'm pretty sure it can enable the account that HP disabled, although I've never used it for that (note the last bullet that says there's a registry editor and other registry utilities that can be used for things other than password editing).

Also, I've been on other threads here at EE where I recommended PogoStick, but other experts had these different suggestions:

http://www.howtogeek.com/96805/how-to-reset-your-windows-password-without-an-install-cd

http://www.top-password.com/knowledge/reset-directory-services-restore-mode-password.html

http://www.ultimatebootcd.com

http://trinityhome.org/Home/index.php?content=TRINITY_RESCUE_KIT____CPR_FOR_YOUR_COMPUTER

I haven't tried any of these other ideas, since PogoStick worked perfectly for me, but am passing them along for your consideration. In one of the threads, the author said, "Trinity Rescue Kit [the last link above]...worked perfectly!" Regards, Joe
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 24

Author Comment

by:dgrafx
ID: 39830654
thanks guys
i'm downloading / burning from the pogostick link now.

id did find that the cmd prompt found in repair option doesn't enable the admin account on the laptop but seems to be referring to the instance that is running the repair - as regmigrant was referring to i believe.

i will post back soon - hopefully ...
0
 
LVL 24

Author Comment

by:dgrafx
ID: 39830737
ok guys - absolutely awesome!

used pogostick and re-enabled the admin account ...
0
 
LVL 24

Author Closing Comment

by:dgrafx
ID: 39830743
Thanks a lot!
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
ID: 39830803
You're welcome! Glad to hear it worked for you. Thanks for letting us know. Regards, Joe
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now