| | |
"net user [username [password | *]"
![]() |
•
•
Join Date: Aug 2005
Posts: 188
Reputation:
Solved Threads: 3
Hi...I'm having a problem with using this command when trying to change the password for only 1 user.
I have used the command "net user" to retrieve a list of all the users on the computer. This proves that the user "bOpS^" exists on the system. Now when I try the command "net user bOpS^" in order to retrieve the information about this user, it repeatedly says "More?" until I specify yes or no.
But however entering a username I know does NOT exist on the system, instantly replies saying the user cannot be found...
I have tried, changing the passwords for the other users i.e. "C:\Documents and Settings\bOpS^>net user administrator password" (which works fine), logging in on another account and trying to change "bOpS^" password (no success). I have also tried changing my username from "bOpS^" to "admin" using the control panel\user accounts and then re-trying both of these and still I have no success. I think that it may have something to do with an invalid character or something i.e. "^" in the name.
I want to be able to just change my own password using the command line, I'm working on a small app so that I can quickly run a program to change my password back and forth without having to go to control panel each time. I have administrative priveleges on all of the accounts, and it seems to be only the username "bOpS^" which is the problem. (Windows XP Professional SP1)
C:\Documents and Settings\bOpS^>net user User accounts for \\HOME3 ------------------------------------------------------------------------------- Administrator bOpS^ Guest HelpAssistant SophosSAUHOME30 SUPPORT_388945a0 The command completed successfully.
I have used the command "net user" to retrieve a list of all the users on the computer. This proves that the user "bOpS^" exists on the system. Now when I try the command "net user bOpS^" in order to retrieve the information about this user, it repeatedly says "More?" until I specify yes or no.
C:\Documents and Settings\bOpS^>net user bOpS^
More?
More? y
The syntax of this command is:
NET USER
[username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]
C:\Documents and Settings\bOpS^>But however entering a username I know does NOT exist on the system, instantly replies saying the user cannot be found...
C:\Documents and Settings\bOpS^>net user abcdefg The user name could not be found. More help is available by typing NET HELPMSG 2221. C:\Documents and Settings\bOpS^>
I have tried, changing the passwords for the other users i.e. "C:\Documents and Settings\bOpS^>net user administrator password" (which works fine), logging in on another account and trying to change "bOpS^" password (no success). I have also tried changing my username from "bOpS^" to "admin" using the control panel\user accounts and then re-trying both of these and still I have no success. I think that it may have something to do with an invalid character or something i.e. "^" in the name.
I want to be able to just change my own password using the command line, I'm working on a small app so that I can quickly run a program to change my password back and forth without having to go to control panel each time. I have administrative priveleges on all of the accounts, and it seems to be only the username "bOpS^" which is the problem. (Windows XP Professional SP1)
It's the special character that's throwing things for a loop; the "^" is a line-break character. Try this:
Enclose the entire username in qoutes when you issue the net user command:
net user "bOpS^"
Enclose the entire username in qoutes when you issue the net user command:
net user "bOpS^"
Last edited by DMR; Aug 28th, 2006 at 4:58 am.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
![]() |
Similar Threads
- DCOM got error "Logon failure: unknown user name or bad password (Windows NT / 2000 / XP)
- Help me in username and password validation through accessing the database (ASP.NET)
- XP - "Switch User" nonexistent password problem (Windows NT / 2000 / XP)
- Login - Get the Correct Username and Password in ASP.NET Using VB (ASP.NET)
- Username / password using C# (C#)
Other Threads in the Windows NT / 2000 / XP Forum
- Previous Thread: Microsoft wireless mouse will not allow Dell laptop to activate screensaver
- Next Thread: Dell Computers
| Thread Tools | Search this Thread |
.net 3.5 3daccelertion 64bit 2010 a.exe activedirectory address alaris android application arm auto black blue book bsod bulletin canonical chinese codeplex collaboration combofix computerfreezes cursor deployments desktop domain drive eartlink error explorer fax fonts format framework freeze gadgets hardware home intel interoperability killprocess laptop laptops latitude lcd linux mac markshuttleworth memory microsoft mobile monitor motionle1600 netbooks opensource operatingsystems options osinstallationproblem outlook palm partition printer program proxy raid rds reformat remotedesktop remotedesktopconnection retail retrieve screen security server. sharepoint sitetositevpn slowperformance sp1 sp3 studios technology ubuntu unreadable update upgrade usb verizon videodrivers virtual virus vpn webos weecam windows windows7 windowsxp xp xpde






