Sign in to follow this  
Followers 0
jacky_ckw

Change Multiple Administrator Password

3 posts in this topic

hi,

i have this script that works but only as an administrator profile then results will be shown but what if i wan to run this script on a user or power user profile?

is there any way for me to run this script as an administrator in a normal user profile?

#comments-start

For Windows XP & 2K

To change a user's password at the command prompt, log on as an administrator and type:

net user user_name new_password

#comments-end

RunWait("net user administrator password","C:",@SW_HIDE)

MsgBox(0,"Password", "Password for " & @computername & " administrator account is changed")


New to script...But getting the hang of it.

Share this post


Link to post
Share on other sites



forgot to include that if i have 2 computer with 2 different administrator password, how do i go about creating for 2 runas?


New to script...But getting the hang of it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0