@@ -413,37 +413,7 @@ The hosts extensions are also available with the following options:
413413}
414414```
415415
416- ## Updating hosts file on Windows
417-
418- (NOTE: See also some third-party Hosts managers, listed below.)
419-
420- On Linux and macOS, run the Python script. On Windows more work is required due
421- to compatibility issues so it's preferable to run the batch file as follows:
422-
423- ``` sh
424- updateHostsWindows.bat
425- ```
426-
427- This file ** MUST** be run in command prompt with administrator privileges in the
428- repository directory. In addition to updating the hosts file, it can also
429- replace the existing hosts file, and reload the DNS cache. It goes without
430- saying that for this to work, you must be connected to the internet.
431-
432- To open a command prompt as administrator in the repository's directory, do the
433- following:
434-
435- - ** Windows XP** : Start → Run → ` cmd `
436- - ** Windows Vista, 7** : Start Button → type ` cmd ` → right-click Command Prompt →
437- "Run as Administrator"
438- - ** Windows 8** : Start → Swipe Up → All Apps → Windows System → right-click
439- Command Prompt → "Run as Administrator"
440- - ** Windows 10** : Start Button → type ` cmd ` → right-click Command Prompt → "Run
441- as Administrator"
442-
443- You can also refer to the "Third-Party Hosts Managers" section for further
444- recommended solutions from third parties.
445-
446- ### Warning: Using this ` hosts ` file in Windows may require disabling DNS Cache service
416+ ## Windows Caveat: Using this ` hosts ` file in Windows may require disabling DNS Cache service
447417
448418Windows has issues with larger hosts files. Recent changes in security within
449419Windows 10 denies access to changing services via other tools except registry
@@ -473,6 +443,16 @@ Open a command prompt with administrator privileges and run this command:
473443ipconfig /flushdns
474444```
475445
446+ To open a command prompt as administrator, do the following:
447+
448+ - ** Windows XP** : Start → Run → ` cmd `
449+ - ** Windows Vista, 7** : Start Button → type ` cmd ` → right-click Command Prompt →
450+ "Run as Administrator"
451+ - ** Windows 8** : Start → Swipe Up → All Apps → Windows System → right-click
452+ Command Prompt → "Run as Administrator"
453+ - ** Windows 10, 11** : Start Button → type ` cmd ` → right-click Command Prompt → "Run
454+ as Administrator"
455+
476456### Linux
477457
478458Open a Terminal and run with root privileges:
0 commit comments