Are there any commands for the Windows command line which allows you to change the password of the account? What about without using the current password?
(I saw a video about it once and it worked but over time I forgot it...)
migrated from stackoverflow.com Sep 10 '09 at 17:27
This question came from our site for professional and enthusiast programmers.
The Solution which Breakthrough gave is useless if you have a limited account.Here's what you to get admin privileges :-
Step One: First, open Command Prompt (either; Start->Run->Type cmd.exe->OK OR; Double-Click C:\Windows\System32\cmd.exe
Step Two: Create an account, if you do not wish to create a new account, ignore this step. Type the following into the black box that appears (command prompt)
net user /add
Example: net user max 123456 /add
This will create a password protected account. The username will be max The password will be 123456
Step Three: Find all of the user groups that are available on the network
This will bring up a list like this *Administrators *Debugger Users *Guests *HelpServicesGroup *Users The command completed successfully. (can be different according to different systems)
Step Four: Input the following into Command Prompt
net localgroup /add
net localgroup administrators max /add
This would add the username “max” join the group “administrators” and have all privileges related to that group.
This will work on local machines. and if you are lucky enough and the admin is not very good on what he is doing you can create your own admin account in an networked environment as well :) :) but if the cmd command prompt is restricted or a manual access rights are placed then no way to make this work.. You will probably get into trouble if you get caught doing this.. I have only provided this as an example of what you can do with command prompt and thus why it should always be disabled on limited accounts, I am not responsible for anything you do with this. also note that this only work at home or in an unmanaged network.
Just replace [USERNAME] with yours, and hit enter. It will prompt you for the new password. If you have trimmed your Windows installation, however, the program may not be available (this usually only occurs if you use nLite/vLite/RT7Lite and removed something you shouldn't have).
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?