jessica Posted July 28, 2010 Share Posted July 28, 2010 Hi all, I wonder if anyone knows how to do the following: I need to make a script that when run will automatically fill login fields on a pc where I have some installation packages such as \\ 192.168.1.100 - see attached image. I do not want to give my users credentials, I just want to send the script by email and to be executed. I tested with something like this but does not deliver the credentials or rather not I'm doing wrong: RunAsWait ("Administrator", "MyServer", "password", 2, "\\ 192.168.1.100\") I hope I can guide. Link to comment Share on other sites More sharing options...
rvn Posted July 28, 2010 Share Posted July 28, 2010 reread help file... your syntax look wrong to me... Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 28, 2010 Share Posted July 28, 2010 If you enter the information manually, does that call actually work? There's no executable listed in the path and it seems like it would fail. Link to comment Share on other sites More sharing options...
doudou Posted July 28, 2010 Share Posted July 28, 2010 What you need is probably: If (DriveMapAdd("", "\\192.168.1.100\path_to_installation", 8, "MyServer\Administrator", "password")) Then RunAsWait("Administrator", "LocalComputer", "password", 1, "\\192.168.1.100\path_to_installation\setup.exe") EndIf UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ 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