-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
043c8d5
commit 70cb57a
Showing
10 changed files
with
136 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@echo off | ||
echo "Killing processes..." | ||
taskkill /F /IM "powershell.exe" | ||
taskkill /F /IM "curl.exe" | ||
|
||
echo "Unblock raw.githubusercontent.com" | ||
attrib -S C:\Windows\System32\drivers\etc\hosts | ||
attrib -R -H C:\Windows\System32\drivers\etc\hosts | ||
copy C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\hosts.downloader.backup | ||
type C:\Windows\System32\drivers\etc\hosts | find /V "raw.githubusercontent.com" > C:\Windows\System32\drivers\etc\hosts | ||
ipconfig /flushdns | ||
|
||
echo "Downloading..." | ||
del /F "%temp%\system_hijack_removal_tool.ps1" | ||
curl "https://raw.githubusercontent.com/iam-py-test/my_filters_001/main/wiki/system_hijack_removal_tool.ps1" --output "%temp%\system_hijack_removal_tool.ps1" | ||
powershell -executionpolicy bypass "%temp%\system_hijack_removal_tool.ps1" | ||
del /F "%temp%\system_hijack_removal_tool.ps1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Write-Host "Hidden uninstall entries" | ||
$uninstall_entries = (Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall) | ||
foreach($u in $uninstall_entries){ | ||
$uname = $u.Name | ||
$props = Get-ItemProperty "Registry::$uname" | ||
if($props.SystemComponent -eq 1){ | ||
Write-Host $props.DisplayName | ||
} | ||
} | ||
|
||
$unhide = (Read-Host "Enter the name of the program to unhide (press enter to unhide nothing)") | ||
if($unhide -eq ""){ | ||
Write-Host "Nothing unhidden" | ||
exit; | ||
} | ||
|
||
$uninstall_entries = (Get-ChildItem HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall) | ||
foreach($u in $uninstall_entries){ | ||
$uname = $u.Name | ||
$props = Get-ItemProperty "Registry::$uname" | ||
if($props.DisplayName -eq $unhide){ | ||
$dname = $props.DisplayName | ||
Write-Host "Unhiding $dname" | ||
Set-ItemProperty -Path "Registry::$uname" -Name "SystemComponent" -Value 0 | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters