34

In my Total Commander icon properties, I see Run as administrator in two places: the Compatibility tab settings, and the Shortcut tab (Advanced button).

enter image description here

enter image description here

Question

Are they both the same? If not, what's the difference?

i_am_root
  • 323
  • 3
  • 19
Royi Namir
  • 5,598
  • 14
  • 47
  • 70
  • 4
    This dupe Q&A are much better quality than the original from 2009. IMHO this question should be closed and the authors should migrate their content over to the original. – Qsigma Feb 24 '17 at 10:46

1 Answers1

46

The Compatibility tab settings are linked to the executable. They will take effect when opening any shortcut to the executable or the executable itself. The Compatibility settings also apply for all users if you select those options.

The Shortcut settings apply to that specific shortcut. You could create two shortcuts: one as administrator, one not as.

Note: The properties dialog for an executable does not have a shortcut tab.

Steven
  • 27,531
  • 11
  • 97
  • 118
  • 1
    Also note that the Compatibility tab is disabled for some executeables, mainly those of Windows itself. – Sebazzz Feb 24 '17 at 07:48
  • @Sebazzz This is probably related to those compatibility GUIDs in the manifest: If an executable explicitly says it's compatible with the current Windows version, don't emulate an earlier one. – Medinoc Feb 24 '17 at 14:47