New
#80
You're welcome. I'm happy to hear that you got it sorted. :)
this seems to be broken when also using the open elevated command window tweak, it appears to not auto elevate correctly for some reason.
edit,
strange i must've been using an older version or something
Hello Danial,
Yes, you have a older version. The current download had been updated not to long ago to cleanly remove and replace the Open Command Window Here as Administrator context menu item. :)
i modified it some more to add the LUA shield to directories xD
elevated cmd windows im not to worried about, i can launch them from total commander just by running that elevated xD
Does this replace the "Run as Administrator" option?
no.
hmm, you're right, run as admin is broken D:
but i know i had a self elevating take ownership item that worked fine with the run as admin command not so long ago.
seems to be because it replaces the run as key for exe's.
i recommend removal of take ownership over exe files?
Code:Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\*\shell\runas] [HKEY_CLASSES_ROOT\*\shell\runas] @="Take ownership" "HasLUAShield"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\*\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" [-HKEY_CLASSES_ROOT\Directory\shell\runas] [HKEY_CLASSES_ROOT\Directory\shell\runas] @="Take ownership" "HasLUAShield"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\Directory\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t" [-HKEY_CLASSES_ROOT\dllfile\shell] [HKEY_CLASSES_ROOT\dllfile\shell\runas] @="Take ownership" "HasLUAShield"="" "NoWorkingDirectory"="" [HKEY_CLASSES_ROOT\dllfile\shell\runas\command] @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F" "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"