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,895  
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 Vmware Vcenter and Hosts not scanning
by  pkamacho   Go to last post Go to first unread
Last post: Today at 8:33:17 PM(UTC)
Lansweeper Helpdesk Ticket "On-Hold"
by  Chris1052  
Go to last post Go to first unread
Last post: Today at 7:44:01 PM(UTC)
Lansweeper SNMPv3 Scanning of Cisco Devices
by  Bruce.B   Go to last post Go to first unread
Last post: Today at 7:40:08 PM(UTC)
Lansweeper Object reference not set to an instance of an object
by  Bruce.B  
Go to last post Go to first unread
Last post: Today at 6:33:18 PM(UTC)
Lansweeper New Exchange server feature scanning
by  Thomas D.   Go to last post Go to first unread
Last post: Today at 5:00:51 PM(UTC)
Lansweeper AD Users and email
by  CyberCitizen  
Go to last post Go to first unread
Last post: Today at 12:40:54 AM(UTC)
Lansweeper Distrubution Center workstation Map
by  CGIMana79   Go to last post Go to first unread
Last post: Yesterday at 6:00:44 PM(UTC)
Lansweeper Starting ticket # for helpdesk
by  AEM IT  
Go to last post Go to first unread
Last post: Yesterday at 5:17:22 PM(UTC)