jacky_ckw Posted August 16, 2004 Share Posted August 16, 2004 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. Link to comment Share on other sites More sharing options...
jacky_ckw Posted August 16, 2004 Author Share Posted August 16, 2004 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. Link to comment Share on other sites More sharing options...
this-is-me Posted August 16, 2004 Share Posted August 16, 2004 Look at runasset and run the net user command as an administrator. For multiple computers, look at pspassword from http://www.sysinternals.com/ntw2k/freeware/pstools.shtml Who else would I be? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now