Jump to content

Advice on one time credential capture and usage


Recommended Posts

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 post
Share on other sites

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 post
Share on other sites

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 by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to post
Share on other sites

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 post
Share on other sites

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 2021-06-05 - Version 1.5.4.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2021-06-14 - Version 1.6.5.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...