Where I work, we use Explorer++ to do file changes without changing file permissions in Windows 7.
If you ever get this type of dialog:
https://www.google.ca/search?q=you'll+n ... permission
and click Continue, you've just changed the file permissions and made your computer less secure.
Wouldn't it be nice to be able to just right-click on a folder in Window's Explorer to launch Explorer++ to the same folder but elevated?
Here is one way to do it:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Runas]
@="Explorer++ (To prevent changing Perms)"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Directory\shell\Runas\Command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,\
65,00,72,00,2b,00,2b,00,5c,00,65,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,\
00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,31,00,22,00,\
00,00
;"C:\Program Files\Explorer++\explorer++.exe" "%1"
[HKEY_CLASSES_ROOT\Drive\shell\Runas]
@="Explorer++ (To prevent changing Perms)"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Drive\shell\Runas\Command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,\
65,00,72,00,2b,00,2b,00,5c,00,65,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,\
00,2b,00,2b,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,31,00,22,00,\
00,00
;"C:\Program Files\Explorer++\explorer++.exe" "%1"
The catch is that Explorer++.exe MUST be located in the "C:\Program Files\Explorer++\ folder.
If this was made part of Explorer++, David could change the path to wherever Explorer++.exe is currently located on YOUR machine.
Also, if was to make its way into Explorer++, I wouldn't use the \RunAs\ key method since you can only have ONE program use it per class in the registry.
CAVEAT: Explorer++ does NOT tell you if it is running elevated or not.