- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Using the chntpw utility to reset Windows Vista us...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2011 12:05 PM
06-03-2011 12:05 PM
Using the chntpw utility to reset Windows Vista user passwords
We have a Windows Vista 32-bit workstation that has user accounts with passwords that are in need of a reset.
To that end I have a live distribution called grml, which is Debian based, that has the chntpw utility included in it. I am able to boot the workstation in question with the cd, and I am also able to mount the partition in read/write mode that contains the Windows directory. The location of the files that are the object of this exercise, i.e: sam, security, system, is the following:
Windows\System32\config
I have run the chntpw utility with the following syntax to enable the administrator account as well as provide it once with a blank password or a second time with a simple one:
chntpw sam system
I used the following syntax to change the password to a simple one for the other user account
chntpw -u neil sam system
After making the changes, saving the changes to the hives, and rebooting the workstation into Windows, I tried logging into the system. Unfortunately, the password or blank password that I entered in both cases resulted in an incorrect password message.
Does anyone know what other steps I need to take in order to successfully change the passwords on the Vista workstation and subsequently be able to log into the system?
Thanks.
- Tags:
- chntpw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2011 03:50 AM
07-25-2011 03:50 AM
Re: Using the chntpw utility to reset Windows Vista user passwords
Note that chntpw can only change the passwords of local accounts. If your workstation is in a Windows domain environment, the domain-based user account is usually used by default: you must specify that you wish to use the local user account to log in.
To specify a local account, you must prefix it with the hostname of the workstation: if your workstation is named WKS1, you should be trying to log in as WKS1\Administrator or WKS1\neil. Just "Administrator" will be synonymous with YOURDOMAIN\Administrator, which is obviously authenticated by the domain controllers.