Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Problem With Changing Passwords With Command Prompt?


  • Please log in to reply
8 replies to this topic

#1 nyyanks

nyyanks

  • Members
  • 131 posts
  • OFFLINE
  •  
  • Local time:07:06 AM

Posted 02 April 2007 - 10:08 AM

I am learning how to change passwords with my command prompt on my computer but for some reason I keep getting this result:

C:\WINDOWS\SYSTEM32>net user (the username) *
The syntax of this command is:


NET USER
[username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]

Instead of an option to change a password, I get this (I do not feel like revealing my username). What is going on?
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
Albert Einstein
US (German-born) physicist (1879 - 1955)

I support this theory and all others from Einstein (even his theory on a static universe)
Not really!

BC AdBot (Login to Remove)

 


m

#2 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,250 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:03:06 AM

Posted 02 April 2007 - 10:41 AM

Where "Andrew" is the username, type:

C:\>net user Andrew *

You must, of course have the authority to change the password.

#3 nyyanks

nyyanks
  • Topic Starter

  • Members
  • 131 posts
  • OFFLINE
  •  
  • Local time:07:06 AM

Posted 03 April 2007 - 08:22 PM

sorry i'm still kind of confused
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
Albert Einstein
US (German-born) physicist (1879 - 1955)

I support this theory and all others from Einstein (even his theory on a static universe)
Not really!

#4 Orange Blossom

Orange Blossom

    OBleepin Investigator


  • Moderator
  • 36,720 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Bloomington, IN
  • Local time:06:06 AM

Posted 03 April 2007 - 08:48 PM

C:\WINDOWS\SYSTEM32>net user (the username) *



Where "Andrew" is the username, type:

C:\>net user Andrew *


Instead of this: C:\WINDOWS\SYSTEM32>net user (the username) *

Type this: C:\>net user (the username) *

Orange Blossom :thumbsup:

Edited by Orange Blossom, 03 April 2007 - 08:49 PM.

Help us help you. If HelpBot replies, you MUST follow step 1 in its reply so we know you need help.

Orange Blossom

An ounce of prevention is worth a pound of cure

SpywareBlaster, WinPatrol Plus, ESET Smart Security, Malwarebytes' Anti-Malware, NoScript Firefox ext., Norton noscript

#5 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,250 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:03:06 AM

Posted 03 April 2007 - 10:33 PM

Hmm... How does the path you're in affect it?

#6 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,077 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:06:06 AM

Posted 04 April 2007 - 07:07 AM

Actually, there shouldn't be any change that way - presuming:
1) That net.exe is located in it's default location (the system32 subdirectory), and
2) That the path statement includes the system 32 sub-directory.

So, if you type in C:\Windows\system32\net user.... You'll only get a result if the net.exe resides there (otherwise Windows will tell you it can't find it)

If you type it without the full path, it will search the path specified in the environmental variables for the net.exe file. If the file is in the path, it will execute properly - if it isn't in the path, it will fail and then Windows will tell you it can't find it.
My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#7 nyyanks

nyyanks
  • Topic Starter

  • Members
  • 131 posts
  • OFFLINE
  •  
  • Local time:07:06 AM

Posted 04 April 2007 - 10:08 AM

I'm sorry if I am not being very descriptive but this is the only information I can give for my knowledge is little in this subject.

This is what pops up:
C:\WINDOWS\SYSTEM32>net user (the username) *
The syntax of this command is:


NET USER
[username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]


This used to pop up (or something similar)
C:\WINDOWS\SYSTEM32>net user ryan pernas *
Type in a new password (or something similar):

AFter I typed in the new password it asked me to confirm it and I did and it was done but now this does not pop up anymore; I get the confusing thing.

Please alert me if more information is needed.
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
Albert Einstein
US (German-born) physicist (1879 - 1955)

I support this theory and all others from Einstein (even his theory on a static universe)
Not really!

#8 Andrew

Andrew

    Bleepin' Night Watchman


  • Moderator
  • 8,250 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:03:06 AM

Posted 04 April 2007 - 05:26 PM

I think I see your problem!

Usernames that contain a space must be enclosed in double quotes, like so:

C:\WINDOWS\SYSTEM32>net user "ryan pernas" *

#9 nyyanks

nyyanks
  • Topic Starter

  • Members
  • 131 posts
  • OFFLINE
  •  
  • Local time:07:06 AM

Posted 05 April 2007 - 10:19 AM

thanks i'll give it a shot
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
Albert Einstein
US (German-born) physicist (1879 - 1955)

I support this theory and all others from Einstein (even his theory on a static universe)
Not really!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users