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!
Charles.X
#1Esben.D Member Administration Posts: 1,933  
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 iPhone bug again????
by  Mikey!   Go to last post Go to first unread
Last post: Today at 5:55:37 PM(UTC)
Lansweeper deploy app that needs License
by  Guaro5555  
Go to last post Go to first unread
Last post: Today at 3:03:42 PM(UTC)
Lansweeper Scanning FortiAP 221E
by  RKCar   Go to last post Go to first unread
Last post: Today at 1:59:58 PM(UTC)
Lansweeper Hyper-V guests dissapeared and reappeared
by  Cm.Cody   Go to last post Go to first unread
Last post: Today at 11:10:35 AM(UTC)
Lansweeper DB cleanup script
by  William382  
Go to last post Go to first unread
Last post: Yesterday at 4:23:43 PM(UTC)
Lansweeper Installing MS KB with Deploy
by  Esben.D   Go to last post Go to first unread
Last post: Yesterday at 4:01:45 PM(UTC)
Lansweeper Ticket Info Meter incorrect
by  pfalls  
Go to last post Go to first unread
Last post: Yesterday at 3:27:44 PM(UTC)