How to Block All Websites on Windows 10/11 Instantly Using Proxy & Registry (PowerShell Tutorial)
IT Ninja Warrior
0:00 / 0:00
How to Block All Websites on Windows 10/11 Instantly Using Proxy & Registry (PowerShell Tutorial)
75 просмотров · 4 дн. назад
IT Ninja Warrior
339 подписчиков
75 просмотров · 4 дн. назад
How to Block All Websites on Windows 10/11 Instantly Using Proxy & Registry and Allow List (PowerShell Tutorial)
Please subscribe to my channel ⬆️ and like this video ↗️
.
Registry Path:
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
Proxy Server: 127.0.0.1 Port: 80
Exceptions: *.yahoo.com;*.espn.com
.
#Set Variables
$Path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
Sites that bypass the proxy (example only)
$ProxyOverride = "*.yahoo.com"
.
Set-ItemProperty -Path $Path -Name ProxyEnable -Type DWord -Value 1
Set-ItemProperty -Path $Path -Name ProxyServer -Type String -Value "127.0.0.1:80"
Set-ItemProperty -Path $Path -Name ProxyOverride -Type String -Value $ProxyOverride
Get-ItemProperty -Path $Path | Select-Object ProxyEnable, ProxyServer, ProxyOverride
2x Sites Variable
$ProxyOverride = "*.yahoo.com;*.espn.com"
Multi site Variable
$ProxyOverride = "*.yahoo.com;*.espn.com;*.ebay.com;*.amazon.com"
.
Disable Proxy
Set-ItemProperty -Path $Path -Name ProxyEnable -Type DWord -Value 0
.
Whether you are a novice home user or experienced technician if you found this video helpful feel free to bookmark for future use or save the link in your knowledge base, wiki, confluence or ticket. Lets Ninja fix IT! 💪
.
Note: These guides are not intended to guarantee resolution on any issues, warnings, or errors you are experiencing with your infrastructure. A strong technical background is recommended in, but not limited to, server administration, Window OS, networking, Office 365, cmd line, powershell and general MSP best practices. Always export the current configuration, confirm backup solutions are up to date, make a backup\snapshot\checkpoint before making any changes. Do not make any irreversible changes or deletion events with out performing due diligence.
Hashtags
--------------
#windows #windows11 #Microsoft #tech #technology #innovation #gadgets #howto #fix #Windows10 #PowerShell #TechTips #Windows11 #CyberSecurity #SysAdmin #TechTutorial #ITNinjaWarrior #RegistryHack #WindowsServer #NetworkSecurity #PCtricks