Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Password invalid after computer name change

Posted on 2013-11-30
4
Medium Priority
?
411 Views
Last Modified: 2013-12-01
Hi!

I just changed the computer name of an old pc from work with Windows 7 to use it in my home network as a webserver. The problem is that I forgot that I don't have any local administrator password for this (yes, I was warned, but I thought I had one). I was an administrator on the old domain/user, but not a local administrator.

So now it seems I have no way of logging in! Do I really have to reinstall Windows 7 from scratch to be able to access the PC?

Thanks for any tips!
0
Comment
Question by:Knut Hunstad
4 Comments
 
LVL 56

Assisted Solution

by:Joe Winograd, EE MVE 2015&2016
Joe Winograd, EE MVE 2015&2016 earned 664 total points
ID: 39687735
Hi khun,
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.

Also, I was on a thread at EE a while ago where I recommended PogoStick, but two other experts had these 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

I haven't tried either of these other two ideas, but am passing them along for your consideration. Regards, Joe
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 668 total points
ID: 39687797
I recommend using option #4 in Petter Nordahl-Hagen's NTPasswd util to enable the "Administrator" account, which is disabled by default in Win7, and 'blank' that user's password... once you reboot, select Administrator and hit Enter to logon, then you can use the User Accounts applet in Control Panel to change the password on any existing user (don't forget to set a new password for Administrator).


Before logging out, disable the Administrator account again:

click the 'start' orb
type cmd in the search box
hold down Ctrl+Shift and hit Enter
(or right-click the result that appears at the top of the start menu, under Programs (1), and choose Run as administrator)
answer Yes to the UAC prompt
In the command window that opens, run the command
net user administrator /active:no

"The command completed successfully" should appear... then you can reboot and start using the account[s] on which you reset the password[s].
0
 
LVL 9

Accepted Solution

by:
EMJSR earned 668 total points
ID: 39687844
I would just download the Trinity Rescue Kit; so far I've been able to reset any local Windows password with this, on any computer running Windows, providing the hard drive was not encrypted.

http://trinityhome.org/Home/index.php?content=TRINITY_RESCUE_KIT____CPR_FOR_YOUR_COMPUTER&front_id=12&lang=en&locale=en

Easiest solution, ever. Just boot it with defaults, and then choose "Windows password resetting".
0
 
LVL 8

Author Closing Comment

by:Knut Hunstad
ID: 39688138
I'm sure all suggestions where valid, but I tested Trinity Rescue Kit first and it worked perfectly!

Thank you all!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
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…
Suggested Courses

886 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