Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just installed StandaloneStack2 on Windows 7. I have a link to open it in my start menu to configure it which has to be run in administrative mode. I have a link pinned to my taskbar where it shouldn't be run in this mode as I have to go through the dialogue. Unfortunately, changing whether it runs in administrative mode (in the compatibility settings), seems to affect both shortcuts. I assume this is because compatibility mode settings are stored for the program, not for the shortcut

Is there a way to create a shortcut to run a program with different compatibility mode settings than those stored for the program?

share|improve this question

4 Answers 4

up vote 1 down vote accepted
  1. Right Click on shortcut
  2. Select [Properties]
  3. Select [Advanced...] button in the [Shortcut] tab
  4. Check "Run as Administrator" checkbox
  5. [Ok] button
  6. [Ok] button

P.S. Do not set "Run as Administrator" from [Compatibility] tab :)

share|improve this answer
    
Thank you very much! –  Casebash Oct 14 '10 at 3:45

If the question is regarding one particular program file, the quick-and-dirty solution is to copy the executable with another name so as to have the two shortcuts reference different files. The two files can then be assigned different compatibility mode settings.

share|improve this answer
    
Copy the executable?? –  CJM Oct 6 '09 at 8:57
1  
well it's not really quick, but to be fair, it is dirty... :) –  quack quixote Oct 6 '09 at 9:11
1  
Any one having problems with this solution please see imdb.com/title/tt0066999. –  harrymc Oct 6 '09 at 9:17
    
May work, but ouch –  Casebash Oct 7 '09 at 12:39
    
I'm not too happy about this solution myself, but Windows places too many constraints upon compatibility mode settings. –  harrymc Oct 7 '09 at 13:07

In Vista, I use normal shortcuts, and select Run as Administrator from the context menu when needed.

share|improve this answer
    
Unfortunately the program runs without that option - it just doesn't work properly –  Casebash Oct 7 '09 at 12:40

Create an entirely new shortcut. There are a dozen different ways you can do this, but one explicit way is to rt-click ont he executable and choose Create Shortcut. Edit that shortcut to run as administrator, and then drag and drop alongside your existing non-administrator shortcut.

I had this problem myself; I needed a command prompt run as administrator, but didn't want every command prompt to run as administrator for obvious security reasons...

UPDATE:

I've just had reason to re-visit this type of issue, so I've had the opportunity to test various combinations...

I pinned a shortcut to the start menu (in Windows 7) and edited it to run as administrator - it works. I've also pinned it to my taskbar (not as Admin) and it also works as expected, and when I use the original start menu item is runs as expected (not as admin). I even created a copy of the original shortcut, which I made run as Admin, and again...it worked.

I think you need to re-visit this - my solution works, and I would argue makes more sense than copying executables.

share|improve this answer
    
Looks like a perfectly good solution to me. Perhaps the down-voter might like to record a comment to re-assure us that it wasn't down-voted for the wrong reasons. –  CJM Oct 8 '09 at 15:42
    
Or perhaps other members might like to wade in with a comment... –  CJM Oct 8 '09 at 15:43
    
I tried creating a new shortcut and it didn't work. Sorry, I thought I had added a comment on this. –  Casebash Oct 14 '09 at 11:51
    
It doesn't work? In what way? –  CJM Oct 21 '09 at 16:22
    
When I edited the new shortcut, it edited the old one as well –  Casebash Dec 21 '09 at 23:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.