W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.03k stars 853 forks source link

Failed to remove hosts file #278

Closed mikelty closed 3 years ago

mikelty commented 3 years ago

Hi I'm on windows 10 2004 19041.685 and ran your app as admin. I got the following console output; 14:40:18 ERROR: Hosts: Failed to modify hosts file Traceback (most recent call last): File "dwt_util.py", line 312, in host_file IOError: [Errno 22] invalid mode ('a') or filename: 'C:\\Windows\\System32/drivers/etc/hosts' Help plz.

W4RH4WK commented 3 years ago

File "dwt_util.py", line 312, in host_file IOError

I think you are on the wrong project. There is no dwt_util.py here. I suspect this is what you are looking for: https://github.com/10se1ucgo/DisableWinTracking