edit a shortcut in windows 7 to runasadmin

How can I edit a shortcut using batch that makes it runasadmin, similar to right-clicking and putting a check mark in it (attached).  

Thanks in advance!
check-mark.jpg
icecom4Asked:
Who is Participating?
 
ComputerDudeLVCommented:
You can use the runas admin command from a dos prompt.

Alternately you can use a utility called runasspc
http://www.robotronic.de/runasspc.html
0
 
icecom4Author Commented:
What I need to do is "edit" the shortcut using a batch script.  This will be one of the many fixes included in a single batch script.  

So the end user will not be running a command line, after applying the batch just once, the shortcut will be ready to run as admin among other things.  
0
 
icecom4Author Commented:
Perhaps I can make a batch that replaces the shortcut altogether with one that has elevated privilages.  

Do shortcut permission settings transfer to other accounts/computers?  
0
 
icecom4Author Commented:
Scratch that last question, the answer is no.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.