Greenbeast Posted July 14, 2011 Share Posted July 14, 2011 Trying to make my life easier supporting user laptops in a school. I'd like to present a text box when the user logs in for the first time. They would enter their password and the script would toddle off and change their windows password to the one typed, i'd also like to add credentials for the webproxy (but i don't know if these are stored in the registry) and i'd like to configure a exchange (2003) mail account for outlook 2007. How much of this is possible and where is a good place to start? I tried looking for an example script to start me off, something that accepts some text and does something with it, but the example names don't make it obvious. Many thanks Link to comment Share on other sites More sharing options...
JohnOne Posted July 14, 2011 Share Posted July 14, 2011 Quick question? would this not give you access to every password in the school? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Greenbeast Posted July 14, 2011 Author Share Posted July 14, 2011 Well given that i'm the system admin, that doesn't really matter too much. Anyway, i didn't want the script to store the password for any length of time, i only want the script to run once, on first login. If the password is stored in a variable rather than a file somewhere then it's not avaiable after the script has run is it? I wouldn't really want the password to be laying about on thge drive somewhere anyhow. Thanks Link to comment Share on other sites More sharing options...
JohnOne Posted July 14, 2011 Share Posted July 14, 2011 (edited) I dont think an administartor worth their salt would ask a user to enter their password into a GUI, to do with as they please. Pehaps you could invoke the password change screen with wmi or something, and let them enter it there, themselves. Edited July 14, 2011 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
sleepydvdr Posted July 14, 2011 Share Posted July 14, 2011 When you create the student's account, you should leave a check box in the field "User must change password at next logon". Wouldn't that do what you want? #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
Greenbeast Posted July 14, 2011 Author Share Posted July 14, 2011 I dont think an administartor worth their salt would ask a user to enter their password into a GUI, to do with as they please.Pehaps you could invoke the password change screen with wmi or something, and let them enter it there, themselves.Well i'm just trying to automate some tedious tasks. I currently have to babysit through mail profile creation and first entry of proxy credentials, plus setting their win password to match their domain password... i'd kinda just like to create a named account and hand it over.Yes that would solve one part of the problem, perhaps i could couple that with some form of pre-configure of outlook (which i'm also investigating)Not sure about the poroxy credentials though, can they be set in registry?When you create the student's account, you should leave a check box in the field "User must change password at next logon". Wouldn't that do what you want?partly yes Link to comment Share on other sites More sharing options...
water Posted July 14, 2011 Share Posted July 14, 2011 If your users are managed in an Active Directory then you can use my AD UDF (for download please see my signature). It has functions to change a users password and to force the user to change the password at next logon. It has another function to create a mailbox (as long as you are on Exchange 2003). My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Greenbeast Posted July 14, 2011 Author Share Posted July 14, 2011 well they are in AD, but these laptops are non-domain. that's another avenue i'm investigating 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