Notification

Icon
Error

Asset Actions - RunAs Prompt - How to run Actions with other user credentials

Posted: Tuesday, January 23, 2018 8:06:58 PM(UTC)
stevce.brazeau

stevce.brazeau

Member Original PosterPosts: 12
3
Like
Good Morning,
I'd like to be able to have LanSweeper prompt for alternate credentials when running an Asset action. We'd like to login to LanSweeper using our regular user accounts (which have limited permissions on our domain, and certainly don't have admin rights on PCs) but when an asset action is executed, prompt to enter the username and password of our admin accounts.

Is anyone doing that currently? If so, could you share your solution?
llondono20
#1llondono20 Member Posts: 2  
posted: 2/16/2018 4:21:24 PM(UTC)
Have you been able to find a solution to this, I am in the same boat right now. So far I have this runas / {userdomain}:\admin.{username} but this runs the action as the last user of the PC.
stevce.brazeau
#2stevce.brazeau Member Original PosterPosts: 12  
posted: 4/3/2018 6:11:57 PM(UTC)
Not yet.
scarsysadmin
#3scarsysadmin Member Posts: 31  
posted: 6/8/2018 4:28:34 PM(UTC)
Depending on the task, you could use Powershell "start-process" with the -credential parameter or use ShellRunAs.
Socal_s197
#4Socal_s197 Member Posts: 4  
posted: 3/26/2020 10:02:16 PM(UTC)
I know this reply is late but you can install the shellrunas sys internal tool into your \system 32 folder and then add shellrunas infront of your action. example we use this command to auto launch dameware and prompt for and use your admin credentials to connect with.

shellrunas "C:\Program Files (x86)\SolarWinds\DameWare Remote Support\DWRCC.exe" -c: -h: -m:{computer} -a:1

Active Discussions

Lansweeper Software report, return one result from a group
by  RC62N   Go to last post Go to first unread
Last post: Yesterday at 6:53:06 PM(UTC)
Lansweeper How to Edit Assets pulled by a Report?
by  Monspeed  
Go to last post Go to first unread
Last post: Yesterday at 6:46:46 PM(UTC)
Lansweeper Display Microsoft Edge versions
by  RC62N   Go to last post Go to first unread
Last post: Yesterday at 6:37:37 PM(UTC)
Lansweeper Reporting video cards (model, memory)
by  Sjors  
Go to last post Go to first unread
Last post: 1/26/2021 10:28:23 AM(UTC)
Lansweeper Report service custon windows
by  Brandon  
Go to last post Go to first unread
Last post: 1/20/2021 4:09:57 PM(UTC)
Lansweeper LanSweeper Reports - merge
by  NDR88   Go to last post Go to first unread
Last post: 1/14/2021 7:41:25 PM(UTC)
Lansweeper Duplicate computers in Webcam query
by  RC62N  
Go to last post Go to first unread
Last post: 1/14/2021 4:36:50 PM(UTC)