Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


Stop Windows 10 Nagging and Spying. Works with Win7-10

Subscribe to updates I use BlockWindows

Statistics on BlockWindows

Number of watchers on Github 582
Number of open issues 22
Average time to close an issue 6 days
Main language Batchfile
Open pull requests 6+
Closed pull requests 11+
Last commit over 4 years ago
Repo Created almost 5 years ago
Repo Last Updated about 2 years ago
Size 89 KB
Organization / Authorwindowslies
Page Updated
Do you use BlockWindows? Leave a review!
View open issues (22)
View BlockWindows activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating BlockWindows for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


Stop Windows 7 through 10 Nagging and Spying updates, Tasks, IPs, and services. Works with Windows 7 through 10


BlockWindows.bat Right Click and Run as Admin

hosts.bat Works with Windows 7 and 8. Appends current hosts file. Run from your Downloads directory. Doesn't work on Windows 10, copy hosts file to your router or firewall if using Windows 10

hosts2.bat Blocks M$ hosts with firewall BLOCKS most M$ sites OUTLOOK,HOTMAIL,ETC REM any you use

hosts DNS file of MS hosts to block

hostlist MS Hosts file to blocking for router or firewall use

hosts-dnsmasq Hosts file for dd-wrt and other routers

HideWindowsUpdates.vbs Hides blocked updates, to reinstall click 'show hidden updates'

DisableWiFiSense.reg Adds registry to disable WiFi Sense, which steals your wifi password without your consent.

DisableGWX.reg Disables Windows Update Nagging Notifications

unblock.bat Unblocks hosts2.bat blocking

JavaScript HashCalc


I created this code from information from:




Colin Bowern and Opmet


Pascalgoty and Fuselet

Please submit any updates


PS There is a highly concerted effort by M$ to harass websites that link to this. I'm tired of constantly trying to convince website admins it's not spam.

Please repost these URLs many places on social media, blogs, etc. I'm in it for the long haul.




File Mirrors



SHA256 3a2308b59086c6e6dc5734c71a22b0eab3c8289c9f7feb1632b4351247fa341f



SHA256 5f02ddef572cb408c5a9e44387e7d07ee4c95843edcdc79fa690b5a9910f6c74

BlockWindows open issues Ask a question     (View All Issues)
  • about 4 years Updates to all files
  • about 4 years Evaluate KB3004394
  • over 4 years Add KB3123862, "Updated capabilities to upgrade Windows 8.1 and Windows 7"
  • over 4 years Hosts breaks Skype
  • over 4 years Add KB3112343, "This update also improves the ability of Microsoft to monitor the quality of the upgrade experience."
  • over 4 years Proof of M$ harassment?
  • over 4 years How to load list of updated to block into the VBS script?
  • over 4 years NCSI (Network Connectivity Status Indicator)
  • over 4 years IPv6 addresses?
  • over 4 years Add wns.windows.com?
  • over 4 years iptables rules for external firewalls / routers
  • over 4 years Some issues with this set of scripts...
  • almost 5 years other updates
  • almost 5 years Security Essentials, Planned Tasks, KB3065987, ...
  • almost 5 years A Mirror :)
BlockWindows open pull requests (View All Pulls)
  • Refactor update management
  • Update BlockWindows.bat
  • Disable "Get Windows 10" notifications (for Win 7 to Win 8.1)
  • Integrated CleanUnwantedUpdates
  • Update BlockWindows.bat
  • Add updates to removal list
BlockWindows list of languages used
Other projects in Batchfile