Solved

Shortcut 'run as' change

Posted on 2009-05-15
8
493 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

679 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