Question Locked

how do I remove xp password with console?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to change my windows user password with the console.
I know I can use "net user USERNAME NEW_PASSWORD" to change the password, but what do I write to remove the password?

So far I've done this in the user menu, using the "set and remove password" options, but want to use console to do it faster.
thanks in advance for your help!
- Stephen

6 replies

by seanferd

Will get you a full list of command arguments.

/? is how you get help on nearly every single Windows or DOS command ever. Keep it handy. :)

by rob miners

net user administrator * and press enter and enter again to leave it blank

by the_parasite

problem is I want it to be in a bat file, so need it to be without promting me for the password

by rob miners

works on XP.

@echo off
echo y| net user administrator *
echo y|

This discussion is closed to new replies.