Quantcast
Channel: LANDESK User Community : All Content - Software Distribution
Viewing all articles
Browse latest Browse all 766

How to invoke a process on a remote computer under a specified identity

$
0
0

It is sometimes useful to invoke an application on a remote device using a specified user context instead of the LocaSystem user.

 

To achieve this result, it is possible to use the attached VBS that uses WMI to invoke a process on a remote machine.

 

There are some limitations:

 

  • The machine should not have the personal firewall on or it needs to be configured for WMI remote invocation.

  • The process can not be interactive ( so no GUI )

  • The process can not be called from the same computer when the script runs (this script can't run locally):
    If the script is executed on COMPUTER-A it is not possible to use the script with the option /COMPUTER:COMPUTER-A

  • The script is given AS IS, unsupported and without any express warranty. This process does not use any LANDesk files or processes.

 

Syntax:

 

runAS /USERNAME:username /PASSWORD:password /COMPUTER:computer /COMMAND:program to run

 

NOTE: it is suggested to invoke the script with CSCRIPT interpreter.


Viewing all articles
Browse latest Browse all 766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>