Jump to content
Sign in to follow this  

Network credentials

Recommended Posts

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 \\ - 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, "\\\")

I hope I can guide.


Share this post

Link to post
Share on other sites

What you need is probably:

If (DriveMapAdd("", "\\\path_to_installation", 8, "MyServer\Administrator", "password")) Then
    RunAsWait("Administrator", "LocalComputer", "password", 1, "\\\path_to_installation\setup.exe")

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

- 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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...