Jump to content
Sign in to follow this  
jessica

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 \\ 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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...