Computing.Net > Forums > Windows XP > Change local Admin password Script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Change local Admin password Script

Reply to Message Icon

Name: ashy47
Date: June 10, 2005 at 12:21:38 Pacific
OS: WINXP
CPU/Ram: 1.0GB
Comment:

Hello, newbie in scripting and I was wondering how is it possible to create a script that would change all the local administrator accounts on my workstations. Or is there better way of handling this sort of task.

Any problem will be greatly appreciated.

Thanks,



Sponsored Link
Ads by Google

Response Number 1
Name: Dirty_Sanchez
Date: June 10, 2005 at 12:36:40 Pacific
Reply:

good luck, I dont think you can b/c of NT's security. If you could, there would be tons of virii out there doing it.


0

Response Number 2
Name: XpUser
Date: June 10, 2005 at 14:13:58 Pacific
Reply:

Or is there better way of handling this sort of task.

Am I seeing things? Am I dreaming?

M$ want to make it easy for you to compromise the very OS they themselves created ...Look HERE and HERE.

i_XpUser


0

Response Number 3
Name: jefro
Date: June 10, 2005 at 16:41:00 Pacific
Reply:

If you are a member of domain admin or maybe even a user with enough privilages you might be able to do this. Might depend on how the computers are setup. I know you could do it though mmc so I am almost sure you could do it as a script. Notice I didn't bet on this either.


0

Response Number 4
Name: Jennifer SUMN
Date: June 10, 2005 at 16:42:26 Pacific
Reply:

Am I the only one who checks the MSKB before posting a question?


0

Response Number 5
Name: XpUser
Date: June 10, 2005 at 16:45:40 Pacific
Reply:

Yes you can. In my post above, the first hyperlink (red) includes instructions for writing VB script to reset the machine account. The restriction is that you need to connect to the computer account using the IADsUser interface. You can then use the SetPassword method to set the password to an initial value. The initial password of a computer is always "computername$".


i_XpUser


0

Related Posts

See More



Response Number 6
Name: XpUser
Date: June 10, 2005 at 16:46:38 Pacific
Reply:

Am I the only one who checks the MSKB before posting a question?

:-)


i_XpUser


0

Response Number 7
Name: some_dood
Date: June 13, 2005 at 12:03:16 Pacific
Reply:

XPUser, you are mistaken...

Useless posts help no one and only clutter the internet and search engine results with bad information.

Here you go Ashy

http://www.securitydocs.com/library/2408


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Change local Admin password Script

local admin password www.computing.net/answers/windows-xp/local-admin-password/28846.html

change admin password with batch fl www.computing.net/answers/windows-xp/change-admin-password-with-batch-fl/78012.html

How can i change the admin password ? www.computing.net/answers/windows-xp/how-can-i-change-the-admin-password-/11607.html