cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Support-bb
Engaged Sweeper
Hello,

What is the syntax that I would want to add to the action field in the LANSweeper console under Configuration\Custom Actions\Computer Actions\ Remote Desktop in order to have the Remote Desktop run as a local admin from the web interface?

Is this a possibility? Thank you!
7 REPLIES 7
Support-bb
Engaged Sweeper
All fixed up - I didn't see that the network share that had the exes was set as read for most users.

Bad mistake on my part...thank you for the help!
Hemoco
Lansweeper Alumni
All the actions run in the context of the windows user that starts the webbrowser.
They do the exact same as if you would start them from the start menu of command line.

The reason they work on your server is most likely because you are logged on with a domain administrator on the server -> you start the actions with domain administrator privileges.

How to get the necessary permissions on your workstation:
1) log on as domain administrator
2) log on as normal user and start your browser as domain administrator
3) log on as normal user and start the actions with "runas" and provide administrator credentials.
Support-bb
Engaged Sweeper
Ok, my next question...am I missing a group attribute that I could change in Active Directory to allow remote access without running as local admin?

For instance, I get errors of "Access denied" from many objects in the web interface unless I am running them from the server.

So, i essence, this renders the web interface a bit useless.

Let me know if I'm not making any sense, and I will do my best to get more detailed information!
Hemoco
Lansweeper Alumni
You can use runas.exe into your action syntax.

Simplified:

runas.exe /user:someuser lsremote.exe
Support-bb
Engaged Sweeper
Yeah, trying to avoid that if possible.

Is there not syntax that can be added to make it usable from the web page?
Hemoco
Lansweeper Alumni
You can use "runas.exe" from windows to run lsremote.exe and provide the necessary credentials.
Support-bb
Engaged Sweeper
Support-bb wrote:
Hello,

What is the syntax that I would want to add to the action field in the LANSweeper console under Configuration\Custom Actions\Computer Actions\ Remote Desktop in order to have the Remote Desktop run as a local admin from the web interface?

Is this a possibility? Thank you!



I'm sorry -

Not the Remote Desktop option. I would like to add local admin credentials to the Remote Control (P) option.

So, is it possible to add credentials to the remote control action?
{actionpath}lsremote{computer}