Notification

Icon
Error

ShellRunAs action in Lansweeper

Posted: Tuesday, June 25, 2019 11:58:07 AM(UTC)
DavidL

DavidL

Member Original PosterPosts: 1
0
Like
Hello

We have 3 domains with different password. In domain 1, we have lansweeper installed. in order to start service or something else on other computer in other domain I need administrator rights.
I want to use "ShellRunas" for that. can someone tell me what the script should look like? this is my example,

{actionpath}ShellRunas.exe /netonly {actionpath}services.msc {smartname} NP/

but it does not work. I get the message

Error lauching Programm

What am I doing wrong

Thanks!
Esben.D
#1Esben.D Member Administration Posts: 1,956  
posted: 6/28/2019 9:35:13 AM(UTC)
For others looking to use this:

Quote:
In general when testing and creating custom actions, we recommend starting with a command that works in CMD, which you then replace with the action-specific parameters such as {actionpath}, {ipaddress}, etc.

The below should work, if ShellRunAs.exe is in your actions folder and your action path is correct under Configuration\Asset Pages.

"{actionpath}ShellRunAs.exe" /netonly /accepteula services.msc /computer:{ipaddress}

If there is an issue though, try placing the command in CMD, replacing {actionpath} with your action path, and {ipaddress} with the IP address of one of your remote computers.


Useful link: https://docs.microsoft.c...als/downloads/shellrunas

Active Discussions

Lansweeper iManage Client deployment
by  CyberCitizen   Go to last post Go to first unread
Last post: Today at 3:09:47 AM(UTC)
Lansweeper Missing hyperv host details for guest asset LAN-4130
by  danielm  
Go to last post Go to first unread
Last post: 12/7/2019 7:15:56 AM(UTC)
Lansweeper Lansweeper showing MAC address instead of name
by  crashff   Go to last post Go to first unread
Last post: 12/6/2019 10:26:25 PM(UTC)
Lansweeper Dell Warranty Lookup - Incorrect Information
by  Trenton Knew  
Go to last post Go to first unread
Last post: 12/6/2019 10:17:15 PM(UTC)
Lansweeper Incoming Email Parse
by  UEFT   Go to last post Go to first unread
Last post: 12/6/2019 5:46:22 PM(UTC)
Lansweeper SSH - Keyboard Interactive Authentication
by  KevinA-REJIS  
Go to last post Go to first unread
Last post: 12/6/2019 5:22:21 PM(UTC)
Lansweeper Custom OID Scanning / multible OIDs with wildcards
by  Esben.D  
Go to last post Go to first unread
Last post: 12/6/2019 11:57:18 AM(UTC)