diff --git a/Individual Scripts/block-ads.ps1 b/Individual Scripts/block-ads.ps1 new file mode 100644 index 00000000..fd2ee174 --- /dev/null +++ b/Individual Scripts/block-ads.ps1 @@ -0,0 +1,3 @@ +$adlist= Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/Brandonbr1/ad-list-hosts/main/host' +$adfile = "$env:windir\System32\drivers\etc\hosts" +$adlist | Add-Content -PassThru $adfile \ No newline at end of file diff --git a/Individual Scripts/block-telemetry.cmd b/Individual Scripts/block-telemetry.cmd deleted file mode 100644 index dd5c165c..00000000 --- a/Individual Scripts/block-telemetry.cmd +++ /dev/null @@ -1,61 +0,0 @@ -echo off -color F0 -title Block All Telemetry -mode con: cols=82 lines=21 - -cls -echo Batch script created by EverythingTech! -timeout 3 > nul - -:menu -cls -echo If you would like to continue, type in "yes". If not, then type in "no". -echo If you would like to revert, type in "revert". -echo Input your answer below: -set /p a= -if "%a%" == "yes" goto :block -if "%a%" == "revert" goto :unblock -if "%a%" == "no" goto :exit -cls - -:misspell -cls -echo Misspell detected! -timeout 2 > nul -echo Redirecting back to menu. -timeout 2 > nul -goto :menu - -:block -netsh advfirewall firewall add rule name="Block Windows Telemetry" dir=in action=block remoteip=134.170.30.202,137.116.81.24,157.56.106.189,184.86.53.99,2.22.61.43,2.22.61.66,204.79.197.200,23.218.212.69,65.39.117.23,65.55.108.23,64.4.54.254 enable=yes > nul -netsh advfirewall firewall add rule name="Block NVIDIA Telemetry" dir=in action=block remoteip=8.36.80.197,8.36.80.224,8.36.80.252,8.36.113.118,8.36.113.141,8.36.80.230,8.36.80.231,8.36.113.126,8.36.80.195,8.36.80.217,8.36.80.237,8.36.80.246,8.36.113.116,8.36.113.139,8.36.80.244,216.228.121.209 enable=yes > nul -cls -echo Telemetry Successfully blocked! -timeout 2 > nul -cls -echo Exiting. -timeout 1 > nul -cls -echo Exiting.. -timeout 1 > nul -cls -echo Exiting... -timeout 1 > nul -exit - -:unblock -netsh advfirewall firewall delete rule name="Block Windows Telemetry" > nul -netsh advfirewall firewall delete rule name="Block NVIDIA Telemetry" > nul -cls -echo Telemetry Successfully unblocked! -timeout 2 > nul -cls -echo Exiting. -timeout 1 > nul -cls -echo Exiting.. -timeout 1 > nul -cls -echo Exiting... -timeout 1 > nul -exit diff --git a/Individual Scripts/ram-reducer.reg b/Individual Scripts/ram-reducer.reg deleted file mode 100644 index bc669a8f..00000000 --- a/Individual Scripts/ram-reducer.reg +++ /dev/null @@ -1,77 +0,0 @@ -Windows Registry Editor Version 5.00 - -; lowers ram usage and process count by a lot -[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] -"WaitToKillServiceTimeout"="2000" - -[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile] -"NetworkThrottlingIndex"=dword:0000000a -"SystemResponsiveness"=dword:0000000a - -[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching] -"SearchOrderConfig"=dword:00000000 - -[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power] -"HiberbootEnabled"=dword:00000000 - -[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling] -"PowerThrottlingOff"=dword:00000001 - -[HKEY_CURRENT_USER\System\GameConfigStore] -"GameDVR_Enabled"=dword:00000000 -"GameDVR_FSEBehaviorMode"=dword:00000002 -"Win32_AutoGameModeDefaultProfile"=hex:01,00,01,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00 -"Win32_GameModeRelatedProcesses"=hex:01,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ - 00,00,00,00,00,00,00,00,00,00 -"GameDVR_HonorUserFSEBehaviorMode"=dword:00000000 -"GameDVR_DXGIHonorFSEWindowsCompatible"=dword:00000000 -"GameDVR_EFSEFeatureFlags"=dword:00000000 - -[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power] -"HibernateEnabled"=dword:00000000 - -[HKEY_CURRENT_USER\Control Panel\Desktop] -"MenuShowDelay"="0" -"WaitToKillAppTimeout"="5000" -"HungAppTimeout"="4000" -"AutoEndTasks"="1" -"LowLevelHooksTimeout"=dword:00001000 -"WaitToKillServiceTimeout"=dword:00002000 - -[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] -"DisableAntiSpyware"=dword:00000001 - -[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] -"ClearPageFileAtShutdown"=dword:00000001 - -[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ndu] -"Start"=dword:00000004 - -[HKEY_CURRENT_USER\Control Panel\Mouse] -"MouseHoverTime"=dword:00000010 diff --git a/Individual Scripts/service disabler.ps1 b/Individual Scripts/service disabler.ps1 deleted file mode 100644 index 74437eda..00000000 --- a/Individual Scripts/service disabler.ps1 +++ /dev/null @@ -1,104 +0,0 @@ -# Description: -# This script disables unwanted Windows services. If you do not want to disable -# certain services comment out the corresponding lines below. - -$services = @( - "diagnosticshub.standardcollector.service" # Microsoft (R) Diagnostics Hub Standard Collector Service - "DiagTrack" # Diagnostics Tracking Service - "dmwappushservice" # WAP Push Message Routing Service (see known issues) - "lfsvc" # Geolocation Service - "MapsBroker" # Downloaded Maps Manager - "NetTcpPortSharing" # Net.Tcp Port Sharing Service - "RemoteAccess" # Routing and Remote Access - "RemoteRegistry" # Remote Registry - "SharedAccess" # Internet Connection Sharing (ICS) - "TrkWks" # Distributed Link Tracking Client - "WbioSrvc" # Windows Biometric Service (required for Fingerprint reader / facial detection) - #"WlanSvc" # WLAN AutoConfig - "WMPNetworkSvc" # Windows Media Player Network Sharing Service - #"wscsvc" # Windows Security Center Service - "WSearch" # Windows Search - "XblAuthManager" # Xbox Live Auth Manager - "XblGameSave" # Xbox Live Game Save Service - "XboxNetApiSvc" # Xbox Live Networking Service - "XboxGipSvc" #Disables Xbox Accessory Management Service - "ndu" # Windows Network Data Usage Monitor - "WerSvc" #disables windows error reporting - "Spooler" #Disables your printer - "Fax" #Disables fax - "fhsvc" #Disables fax histroy - "gupdate" #Disables google update - "gupdatem" #Disable another google update - "stisvc" #Disables Windows Image Acquisition (WIA) - "AJRouter" #Disables (needed for AllJoyn Router Service) - "MSDTC" # Disables Distributed Transaction Coordinator - "WpcMonSvc" #Disables Parental Controls - "PhoneSvc" #Disables Phone Service(Manages the telephony state on the device) - "PrintNotify" #Disables Windows printer notifications and extentions - "PcaSvc" #Disables Program Compatibility Assistant Service - "WPDBusEnum" #Disables Portable Device Enumerator Service - #"LicenseManager" #Disable LicenseManager(Windows store may not work properly) - "seclogon" #Disables Secondary Logon(disables other credentials only password will work) - "SysMain" #Disables sysmain - "lmhosts" #Disables TCP/IP NetBIOS Helper - "wisvc" #Disables Windows Insider program(Windows Insider will not work) - "FontCache" #Disables Windows font cache - "RetailDemo" #Disables RetailDemo whic is often used when showing your device - "ALG" # Disables Application Layer Gateway Service(Provides support for 3rd party protocol plug-ins for Internet Connection Sharing) - #"BFE" #Disables Base Filtering Engine (BFE) (is a service that manages firewall and Internet Protocol security) - #"BrokerInfrastructure" #Disables Windows infrastructure service that controls which background tasks can run on the system. - "SCardSvr" #Disables Windows smart card - "EntAppSvc" #Disables enterprise application management. - "BthAvctpSvc" #Disables AVCTP service (if you use Bluetooth Audio Device or Wireless Headphones. then don't disable this) - #"FrameServer" #Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.) - "Browser" #Disables computer browser - "BthAvctpSvc" #AVCTP service (This is Audio Video Control Transport Protocol service.) - "BDESVC" #Disables bitlocker - "iphlpsvc" #Disables ipv6 but most websites don't use ipv6 they use ipv4 - "edgeupdate" # Disables one of edge update service - "MicrosoftEdgeElevationService" # Disables one of edge service - "edgeupdatem" # Disables another one of update service (disables edgeupdatem) - "SEMgrSvc" #Disables Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements) - #"PNRPsvc" # Disables peer Name Resolution Protocol ( some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work) - #"p2psvc" # Disables Peer Name Resolution Protocol(nables multi-party communication using Peer-to-Peer Grouping. If disabled, some applications, such as HomeGroup, may not function. Discord will still work) - #"p2pimsvc" # Disables Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly.Discord will still work) - "PerfHost" #Disables remote users and 64-bit processes to query performance . - "BcastDVRUserService_48486de" #Disables GameDVR and Broadcast is used for Game Recordings and Live Broadcasts - "CaptureService_48486de" #Disables ptional screen capture functionality for applications that call the Windows.Graphics.Capture API. - "cbdhsvc_48486de" #Disables cbdhsvc_48486de (clipboard service it disables) - "BluetoothUserService_48486de" #Disables BluetoothUserService_48486de (The Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.) - "WpnService" #Disables WpnService (Push Notifications may not work ) - #"StorSvc" #Disables StorSvc (usb external hard drive will not be reconised by windows) - "RtkBtManServ" #Disables Realtek Bluetooth Device Manager Service - "QWAVE" #Disables Quality Windows Audio Video Experience (audio and video might sound worse) - #Hp services - "HPAppHelperCap" - "HPDiagsCap" - "HPNetworkCap" - "HPSysInfoCap" - "HpTouchpointAnalyticsService" - #hyper-v services - "HvHost" - "vmickvpexchange" - "vmicguestinterface" - "vmicshutdown" - "vmicheartbeat" - "vmicvmsession" - "vmicrdv" - "vmictimesync" - # Services which cannot be disabled - #"WdNisSvc" -) - -foreach ($service in $services) { - # -ErrorAction SilentlyContinue is so it doesn't write an error to stdout if a service doesn't exist - - Write-Host "Setting $service StartupType to disabled" - Get-Service -Name $service -ErrorAction SilentlyContinue | Set-Service -StartupType Disabled - - $running = Get-Service -Name $service -ErrorAction SilentlyContinue | Where-Object {$_.Status -eq 'Running'} - if ($running) { - Write-Host "Stopping $service" - Stop-Service -Name $service - } -} diff --git a/LICENSE b/LICENSE index f2e4ce15..f0489367 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 CT Tech Group, LLC +Copyright (c) 2021-2022 CT Tech Group, LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/win10debloat.ps1 b/win10debloat.ps1 index fc7a10e5..386d7ad1 100644 --- a/win10debloat.ps1 +++ b/win10debloat.ps1 @@ -1022,6 +1022,118 @@ $essentialtweaks.Add_Click({ Write-Host "Hiding 3D Objects icon from This PC..." Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}" -Recurse -ErrorAction SilentlyContinue + # Disables Ads + Write-Host "Disabling ads in the Host file(\System32\drivers\etc\hosts)" + + $adlist= Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/Brandonbr1/ad-list-hosts/main/host' + $adfile = "$env:windir\System32\drivers\etc\hosts" + $adlist | Add-Content -PassThru $adfile + + # reuducing ram via regedit + Write-Host "Using regedit to improve RAM performace" + + Set-ItemProperty -Path "HKLM:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type Hex -Value 01,00,01,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00 + + Set-ItemProperty -Path "HKLM:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type Hex -Value 01,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ + 00,00,00,00,00,00,00,00,00,00 + + Set-ItemProperty -Path "HKLM:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type Hex -Value 00000000 + Set-ItemProperty -Path "HKLM:\System\GameConfigStore" -Name "GameDVR_HonorUserFSEBehaviorMode" -Type Hex -Value 00000000 + Set-ItemProperty -Path "HKLM:\System\GameConfigStore" -Name "GameDVR_EFSEFeatureFlags" -Type Hex -Value 00000000 + Set-ItemProperty -Path "HKLM:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type DWord -Value 00000000 + Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling" -Name "PowerThrottlingOff" -Type DWord -Value 00000001 + Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Power" -Name "HiberbootEnabled" -Type DWord -Value 0000000 + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching" -Name "SearchOrderConfig" -Type DWord -Value 00000000 + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" -Name "SystemResponsiveness" -Type DWord -Value 0000000a + Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" -Name "NetworkThrottlingIndex" -Type DWord -Value 0000000a + Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control" -Name "WaitToKillServiceTimeout" -Type DWord -Value 2000 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "MenuShowDelay" -Type DWord -Value 0 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "WaitToKillAppTimeout" -Type DWord -Value 5000 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "HungAppTimeout" -Type DWord -Value 4000 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "AutoEndTasks" -Type DWord -Value 1 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "LowLevelHooksTimeout" -Type DWord -Value 00001000 + Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "WaitToKillServiceTimeout" -Type DWord -Value 00002000 + # Disabling Antispyware flags script as virus and also doesn't work with anti-tamper measures introduced in 20H2+ + # Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender" -Name "DisableAntiSpyware" -Type DWord -Value 00000001 + Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" -Name "ClearPageFileAtShutdown" -Type DWord -Value 00000001 + Set-ItemProperty -Path "HKLM:\SYSTEM\ControlSet001\Services\Ndu" -Name "Start" -Type DWord -Value 00000004 + Set-ItemProperty -Path "HKLM:\Control Panel\Mouse" -Name "MouseHoverTime" -Type DWord -Value 00000010 + + + Write-Host "Blocking Ip telemetry " + + # executes a cmd command in a new window + # cmd.exe /c "netsh advfirewall firewall add rule name="Block Windows Telemetry" dir=in action=block remoteip=134.170.30.202,137.116.81.24,157.56.106.189,184.86.53.99,2.22.61.43,2.22.61.66,204.79.197.200,23.218.212.69,65.39.117.23,65.55.108.23,64.4.54.254 enable=yes > nul" + # cmd.exe /c "netsh advfirewall firewall add rule name="Block NVIDIA Telemetry" dir=in action=block remoteip=8.36.80.197,8.36.80.224,8.36.80.252,8.36.113.118,8.36.113.141,8.36.80.230,8.36.80.231,8.36.113.126,8.36.80.195,8.36.80.217,8.36.80.237,8.36.80.246,8.36.113.116,8.36.113.139,8.36.80.244,216.228.121.209 enable=yes > nul" + + + $WindowsIpTele = { + 134.170.30.202, + 137.116.81.24, + 157.56.106.189, + 184.86.53.99, + 2.22.61.43, + 2.22.61.66, + 204.79.197.200, + 23.218.212.69, + 65.39.117.23, + 65.55.108.23, + 64.4.54.254 + } + + $NividiaTele = { + 8.36.80.197, + 8.36.80.224, + 8.36.80.252, + 8.36.113.118, + 8.36.113.141, + 8.36.80.230, + 8.36.80.231, + 8.36.113.126, + 8.36.80.195, + 8.36.80.217, + 8.36.80.237, + 8.36.80.246, + 8.36.113.116, + 8.36.113.139, + 8.36.80.244, + 216.228.121.209 + } + + # blocks ip Nividia + NetSH AdvFirewall Firewall Add Rule Name=$NividiaTele Dir=in Action=Block enable=yes > null + + # blocks ip Windows + NetSH AdvFirewall Firewall Add Rule Name=$WindowsIpTele Dir=in Action=Block enable=yes > null + + + # Network Tweaks Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" -Name "IRPStackSize" -Type DWord -Value 20