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 Help Desk Users Required To Have Email
by  josh.d   Go to last post Go to first unread
Last post: Yesterday at 10:34:27 PM(UTC)
Lansweeper Real Ticket Templates
by  TimHolmes1973  
Go to last post Go to first unread
Last post: Yesterday at 9:38:08 PM(UTC)
Lansweeper Event Filter Widget Cases
by  taext   Go to last post Go to first unread
Last post: Yesterday at 7:56:07 AM(UTC)
Lansweeper No antivirus installed
by  MB@CC-IT  
Go to last post Go to first unread
Last post: 1/26/2021 5:14:50 PM(UTC)
Lansweeper New License
by  Mikey   Go to last post Go to first unread
Last post: 1/26/2021 3:46:57 PM(UTC)
Lansweeper Powershell module for Lansweeper - Automation
by  Hendrik.VE  
Go to last post Go to first unread
Last post: 1/26/2021 1:48:59 PM(UTC)
Lansweeper Email - Email notifications not working
by  Bruce Tran  
Go to last post Go to first unread
Last post: 1/25/2021 10:46:29 PM(UTC)