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: 9
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: 9  
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 Unable to send to External Email
by  pryan67   Go to last post Go to first unread
Last post: Yesterday at 8:21:01 PM(UTC)
Lansweeper Lansweeper assets not being Scanned
by  Jordan  
Go to last post Go to first unread
Last post: Yesterday at 6:42:22 PM(UTC)
Lansweeper Database size growing too large
by  bladd   Go to last post Go to first unread
Last post: Yesterday at 4:26:44 PM(UTC)
Lansweeper Searching Specific File
by  mzipperer  
Go to last post Go to first unread
Last post: Yesterday at 4:23:29 PM(UTC)
Lansweeper Exchange 2010 information is not populating
by  Moe   Go to last post Go to first unread
Last post: Yesterday at 12:30:38 PM(UTC)
Lansweeper Routinely Exploited Vulnerabilities Query Report
by  pryan67  
Go to last post Go to first unread
Last post: Yesterday at 12:25:31 PM(UTC)
Lansweeper Creating a report for new devices every 2 hours to alert
by  Moe   Go to last post Go to first unread
Last post: 6/4/2020 7:26:11 PM(UTC)
Lansweeper Changes in the licensing model
by  BullGates  
Go to last post Go to first unread
Last post: 6/4/2020 6:27:23 PM(UTC)