201
General Computer Support / Re: win7Missing "Run as administrator" option in context menu in start menu searches
« on: January 01, 2018, 01:42:31 pm »
How do restore it now? I do not have an old restore point (replaced) is always new.
How to undo ALL changes in WR?
Microsoft Windows [Wersja 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Windows\system32>reg query hkcr\exefile\shell /s
HKEY_CLASSES_ROOT\exefile\shell
(domyślny) REG_SZ open
HKEY_CLASSES_ROOT\exefile\shell\open
EditFlags REG_BINARY 00000000
HKEY_CLASSES_ROOT\exefile\shell\open\command
(domyślny) REG_SZ "%1" %*
IsolatedCommand REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\shell\runas
HasLUAShield REG_SZ
HKEY_CLASSES_ROOT\exefile\shell\runas\command
(domyślny) REG_SZ "%1" %*
IsolatedCommand REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\shell\runas2
(domyślny) REG_SZ Take Ownership
NoWorkingDirectory REG_SZ
HKEY_CLASSES_ROOT\exefile\shell\runas2\command
(domyślny) REG_SZ cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F
IsolatedCommand REG_SZ cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F
HKEY_CLASSES_ROOT\exefile\shell\runasuser
(domyślny) REG_SZ @shell32.dll,-50944
Extended REG_SZ
SuppressionPolicyEx REG_SZ {F211AA05-D4DF-4370-A2A0-9F19C09756A7}
HKEY_CLASSES_ROOT\exefile\shell\runasuser\command
DelegateExecute REG_SZ {ea72d00e-4960-42fa-ba92-7792a7944c1d}
C:\Windows\system32>
How to undo ALL changes in WR?
Microsoft Windows [Wersja 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Windows\system32>reg query hkcr\exefile\shell /s
HKEY_CLASSES_ROOT\exefile\shell
(domyślny) REG_SZ open
HKEY_CLASSES_ROOT\exefile\shell\open
EditFlags REG_BINARY 00000000
HKEY_CLASSES_ROOT\exefile\shell\open\command
(domyślny) REG_SZ "%1" %*
IsolatedCommand REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\shell\runas
HasLUAShield REG_SZ
HKEY_CLASSES_ROOT\exefile\shell\runas\command
(domyślny) REG_SZ "%1" %*
IsolatedCommand REG_SZ "%1" %*
HKEY_CLASSES_ROOT\exefile\shell\runas2
(domyślny) REG_SZ Take Ownership
NoWorkingDirectory REG_SZ
HKEY_CLASSES_ROOT\exefile\shell\runas2\command
(domyślny) REG_SZ cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F
IsolatedCommand REG_SZ cmd.exe /c takeown /f "%1" && icacls "%1" /grant administrators:F
HKEY_CLASSES_ROOT\exefile\shell\runasuser
(domyślny) REG_SZ @shell32.dll,-50944
Extended REG_SZ
SuppressionPolicyEx REG_SZ {F211AA05-D4DF-4370-A2A0-9F19C09756A7}
HKEY_CLASSES_ROOT\exefile\shell\runasuser\command
DelegateExecute REG_SZ {ea72d00e-4960-42fa-ba92-7792a7944c1d}
C:\Windows\system32>