Solved

Shortcut 'run as' change

Posted on 2009-05-15
8
485 Views
Last Modified: 2012-05-07
How do I change the 'run as' setting in a shortcut? The application I am trying to run must always be run as an Administrator.
0
Comment
Question by:alecdarragh
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 3

Expert Comment

by:Zoooink
ID: 24394604
right click the icon, go to properties and set run as administrator
0
 
LVL 3

Expert Comment

by:Zoooink
ID: 24394618
click on advanced in the shortcut tab then select run as administrator
0
 

Author Comment

by:alecdarragh
ID: 24394673
When I select 'Properties' ' Advanced' I only have an option with a tick box that says ' Run with different credentials' . What I want to do is save the credintials permentaly for this shortcut.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 19

Accepted Solution

by:
PeteJThomas earned 25 total points
ID: 24395002
You should be able to use this in the props for the shortcut -

runas /user:domain\username <path to executable/destination>

NOTE there IS a space between the last character of the username and the destination file/folder. You don't need the '<' brackets either.

I believe there is a /savecred switch to store the credentials? Never tried this before myself but can't see any reason it shouldn't work! :)

Pete
0
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24395034
e.g. runas /user:mydomain\joebloggs /savecred "notepad" would run notepad as the specified user - The first time it will prompt for the password, it should then store those credentials...
0
 
LVL 3

Assisted Solution

by:ranit8
ranit8 earned 25 total points
ID: 24395634
You can also create a scheduled task to run your application, scheduled at logon, disable it in its properties, and create the shortcut to:

schtasks /run /tn YOUR_TASK_NAME
0
 

Author Comment

by:alecdarragh
ID: 25125035
Thanks for your help
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now