4

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?

4 Answers 4

3
  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 :)

0
1

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.

6
  • Copy the executable??
    – CJM
    Oct 6, 2009 at 8:57
  • 1
    well it's not really quick, but to be fair, it is dirty... :) Oct 6, 2009 at 9:11
  • 1
    Any one having problems with this solution please see imdb.com/title/tt0066999.
    – harrymc
    Oct 6, 2009 at 9:17
  • May work, but ouch
    – Casebash
    Oct 7, 2009 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, 2009 at 13:07
1

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

1
  • Unfortunately the program runs without that option - it just doesn't work properly
    – Casebash
    Oct 7, 2009 at 12:40
1

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.

8
  • 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, 2009 at 15:42
  • Or perhaps other members might like to wade in with a comment...
    – CJM
    Oct 8, 2009 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, 2009 at 11:51
  • It doesn't work? In what way?
    – CJM
    Oct 21, 2009 at 16:22
  • When I edited the new shortcut, it edited the old one as well
    – Casebash
    Dec 21, 2009 at 23:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .