Duracell 0 Posted September 24, 2007 Greetings earthlings...... I need help to get a PasswordPrompt,, well the prompt isn't so hard to create,,, but let's start from the beginning. We have a support tool where all documentations and workarounds are located on a separate microsoft share. Since we are using a locked down system and also Zenworks and SecureLogin for storing different passwords for the user, I would like to have a script that does a "net use" to the share, the username is no problem since the user is already logged in so I can easy put in the /user:%LOGINNAME% as a varibale. But here comes the tricky part.... (atleast for me) I would like a script to ask the user for the network password and then do the "net use" with the parameters that the loginprompt asks for (password)... Since the SecureLOgin application will ask the user if he/she wants to save the password for this script, it will be invisible after that and the user will automatically be verified to the share with the documentation from then on. And if the user does not want to have the password stored he/she will have to enter it everytime the application is started for access to the documentation. Is there a easy way to create this ?? Share this post Link to post Share on other sites
ptrex 162 Posted September 24, 2007 @Duracell $Password = InputBox(' Prompt ','Password?','','*') If @error Then Exit Add something like this in your script. Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Share this post Link to post Share on other sites