Sign in to follow this  
Followers 0
jessica

Network credentials

4 posts in this topic

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.

post-59292-1280284547538_thumb.jpg

Share this post


Link to post
Share on other sites



reread help file...

your syntax look wrong to me...

Share this post


Link to post
Share on other sites

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

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 interfaces
TypeLibInspector

- OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Share this post


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
Sign in to follow this  
Followers 0