Solved

Shortcut 'run as' change

Posted on 2009-05-15
8
495 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows seems to be corrupt 10 89
How to Force Windows XP to Scan for driver update 14 146
OneNote cannot connect to OneDrive 6 197
Windows XP and a 3TB drive that Windows cannot see 19 146
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

732 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