-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UAC #12 - Blocked & Bugged - File Explorer Bug #86
Comments
If it's an result of Windows Defender killing the process attempting to modify these values/keys its not easy for us to detect unless we run a separate process to watch over the execution and then perform clean-up if a method get's interrupted/killed |
Well Iam not sure how this should be dealt with, I just wanted to make this a known issue if explorer starts acting weirdly for you. |
any fix for this btw |
if someone gets this error, try this code to fix everything. from winpwnage.core.utils import registry
def fix_registry():
path = "Software\\Classes\\Folder\\shell\\open\\command"
if registry().remove_key(hkey="hkcu", path=path, name="DelegateExecute"):
print("Successfully removed 'DelegateExecute' key")
else:
print("Failed to remove 'DelegateExecute' key")
if registry().modify_key(hkey="hkcu", path=path, name=None, value=""):
print("Successfully reset the default value for 'Folder\\shell\\open\\command'")
else:
print("Failed to reset the default value for 'Folder\\shell\\open\\command'")
if __name__ == "__main__":
fix_registry() |
Hello, many of the UAC elevations are blocked(by WinDefender), but that's not an issue, but the 12th function is real bad. It blocks changing the specific registry key, but other than that leaves it there resulting in explorer not working correctly. The regKey gets written with null and clicking any folder in explorer now spawns a new empty window.
This is just FIY if anyone has a problem with explorer after messing with this.
The text was updated successfully, but these errors were encountered: