jessica 0 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. Share this post Link to post Share on other sites
rvn 1 Posted July 28, 2010 reread help file... your syntax look wrong to me... Share this post Link to post Share on other sites
Richard Robertson 187 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. Share this post Link to post Share on other sites
doudou 5 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:DDEML.au3 - DDE Client + Server[*]Localization.au3- localize your scripts[*]TLI.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 yesterdayCoder's last words before final release: WE APOLOGIZE FOR INCONVENIENCEĀ Share this post Link to post Share on other sites