Solved

Shortcut 'run as' change

Posted on 2009-05-15
8
490 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

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

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 …
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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…

777 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