Skip to content

Commit

Permalink
adding disabling/enabling UAC in Safe Methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ionuttbara committed Sep 10, 2023
1 parent 2f18fe4 commit 97ae390
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
10 changes: 9 additions & 1 deletion Disabler/Disable.reg
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@ Windows Registry Editor Version 5.00
"EnableSvchostMitigationPolicy"=hex(b):00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH]
"Enabled"=dword:00000000
"Enabled"=dword:00000000

; disabling UAC

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000
"ConsentPromptBehaviorAdmin"=dword:00000000
"FilterAdministratorToken"=dword:00000001
"LocalAccountTokenFilterPolicy"=dword:00000001
10 changes: 9 additions & 1 deletion Disabler/Enable.reg
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,12 @@ Windows Registry Editor Version 5.00
; mitigations

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH]
"Enabled"=dword:00000001
"Enabled"=dword:00000001

; Enabling UAC

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000001
"ConsentPromptBehaviorAdmin"=dword:00000004
"FilterAdministratorToken"=-
"LocalAccountTokenFilterPolicy"=-
10 changes: 9 additions & 1 deletion DisablerS/Disable.reg
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,12 @@ Windows Registry Editor Version 5.00
"EnableSvchostMitigationPolicy"=hex(b):00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH]
"Enabled"=dword:00000000
"Enabled"=dword:00000000

; disable UAC

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000
"ConsentPromptBehaviorAdmin"=dword:00000000
"FilterAdministratorToken"=dword:00000001
"LocalAccountTokenFilterPolicy"=dword:00000001
10 changes: 9 additions & 1 deletion DisablerS/Enable.reg
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,12 @@ Windows Registry Editor Version 5.00
;mitigations

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTH]
"Enabled"=dword:00000001
"Enabled"=dword:00000001

; enable UAC

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000001
"ConsentPromptBehaviorAdmin"=dword:00000004
"FilterAdministratorToken"=-
"LocalAccountTokenFilterPolicy"=-
3 changes: 2 additions & 1 deletion Remover/REGS/Disable UAC.reg
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000
"ConsentPromptBehaviorAdmin"=dword:00000000
"ConsentPromptBehaviorUser"=dword:00000003
"FilterAdministratorToken"=dword:00000001
"LocalAccountTokenFilterPolicy"=dword:00000001
"ConsentPromptBehaviorUser"=dword:00000003
"EnableUIADesktopToggle"=dword:00000000
"ValidateAdminCodeSignatures"=dword:00000000
"EnableInstallerDetection"=dword:00000000
Expand Down

0 comments on commit 97ae390

Please sign in to comment.