bas_vdl Posted February 11, 2005 Share Posted February 11, 2005 i want to set the administrator password as a default password but when the administrator logon the first time he must change his password and when he changed the password it must be set that it never wil be expirewho can help me...? Link to comment Share on other sites More sharing options...
MCT Posted February 11, 2005 Share Posted February 11, 2005 if your looking for something basic, try net user, if u want 2 do something more professional/fance try an autoit script calling net user with an input box for the password Link to comment Share on other sites More sharing options...
Br4tt3 Posted February 11, 2005 Share Posted February 11, 2005 WMI / ADSI is the way to go... just go to MS site, script repository and u will find it... and a question for MCT: Autoit is the "same" as sendkeys in vbscripting... does it have the same downsides as sendkeys? as in I (the user) cannot change focus on the Windows while the script is running or it will loose focus from where it was?thanks for clarification!Regards Link to comment Share on other sites More sharing options...
jfmartel Posted February 11, 2005 Share Posted February 11, 2005 I've worked on something similar.In my ase, i anted to log on with an administrator account (not the local one) than in my runonceex change the local administrator password to a random one and to dump it on my network.You can read about this @ Random Administrator Password Unattended Windows XoHope this help! Link to comment Share on other sites More sharing options...
MCT Posted February 11, 2005 Share Posted February 11, 2005 @Br4tt3yes, but its Wayyy better IMO then vbscripting give it a try ive attached a simple autoit script i made for changing the administrator passwordChangePass.zip 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