|
-
Jun 5th, 2008, 02:42 AM
#1
Thread Starter
Member
[RESOLVED] Changing the Password
I have changed the windows administrator password using the command
net user userid newpassword
But i realized that both the passwords are working. ( old and new)
how i can inactivate the oldpassword . any command thru command center only?
-
Jun 5th, 2008, 03:42 AM
#2
Fanatic Member
Re: Changing the Password
May I ask why ONLY through the command center? There are many ways to change a password. Simple way is under the Admin account press Ctrl, Alt, Del. And select change password.
Or under "right click" on My computer go to "Manage". THere you can change passwords.
-
Jun 5th, 2008, 04:55 AM
#3
Thread Starter
Member
Re: Changing the Password
Yes i want to know through only command center. Infact i will be running these commands thru VB.NET application. ( Through shell commands its possible to execute the command center commands). So want to know the command for deactivating the old password.
Moreover i see that both the passwords work for logging in to windows.
-
Jun 6th, 2008, 03:09 AM
#4
Thread Starter
Member
Re: Changing the Password
Here is the command
cmd /c net user {userid} password {password}
-
Jun 6th, 2008, 03:52 AM
#5
Fanatic Member
Re: Changing the Password
Well looking at this, why are you using /C? what does this do.
Type in "net user ?"
It will then give you the Syntax of that command.
I see it is Net User [Username [password | *] [Options]] [/Domain]
-
Jun 6th, 2008, 12:51 PM
#6
Fanatic Member
Re: Changing the Password
all /c does is terminate the window once its done the command :s i dont see ho w that would help is the account on the domain? or is it local ? if its on the domain try a gpupdate /f on the server
-
Jun 7th, 2008, 12:12 AM
#7
Re: Changing the Password
why do you want your vb app to change the password of the admin account in the first place?
My usual boring signature: Something
-
Jun 7th, 2008, 04:37 AM
#8
Re: Changing the Password
 Originally Posted by NehaRao
I have changed the windows administrator password using the command
net user userid newpassword
But i realized that both the passwords are working. ( old and new)
how i can inactivate the oldpassword . any command thru command center only?
If it is a domain account then the old password is be available on roaming workstations such as laptops until they logon to the domain again. Both passwords should not continue to work unless there is a problem with the domain configuration.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|