Solved

Shortcut 'run as' change

Posted on 2009-05-15
8
491 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 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