-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 taskbar doesnt work #2138
Comments
Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better! |
Hello @cieres thank you for this. Are there any Windows users experiencing this, or something similar? |
Hello, EDIT |
A blank |
How do I fix this? My laptop is totally frozen on startup. |
Restart in safe mode, then remove all the hosts in the host file. Might need to right click in the start menu and open cmd in admin to modify it, cant remember. |
My file says that localhost is handled in DNS, so I ain't totally sure if it's necessary, but it sure won't hurt to have the basic localhost lines in there:
|
Windows 11 user here. Having the same crippling slow down for the first 5 minutes of rebooting the machine. DNS Client Network Service takes up only about 10% CPU, RAM, but querying sites clearly doesn't work, the whole explorer process is heavily taxed (search bar, file navigation, system tray barely respond), and many other startup apps hard crash. Assuming this is related to the large size of the hosts file and the DNS cache service on Windows, as mentioned in the README. I had the DNS caching service turned off for a couple years and the mostly-default hosts file here worked fine. Had to re-enable caching because WSL2 installed from the Microsoft Store crashes otherwise (see this comment). My current solution is to use one of the much smaller ~2000-line hosts files instead. |
Ah. Seems I've finally found a solution to this annoying boot issue, but would have to give up WSL2 in the future. Guess I'll take it for now. |
This seems related to #411 . In that case, the |
how exactly do you use this option? |
I usually generate the hosts file following this option, running the command with the following flags
( The command generates a new hosts file that contains up to 9 domains per line, improving the loading time on Windows. |
Thanks @stefanopini, the compressed hosts file works for me! |
Sharing my experiment so far as I faced similar issues (especially during Windows startup). With DNS Client enabledI faced similar issues (especially during Windows startup), such as:
Initially I always generate hosts file with With DNS Client disabledI also tried turning off / disabling DNS client. Problem occurs when I started Google Chrome / MS Edge Chromium. CPU peaks almost immediately at 100%. When using Firefox, I didn't encounter high cpu utilization. Summary / Bottomline:
|
I have the same issues when I want to block all Windows domaine, but I have blocked windows using linux firewall on this time with iptables. |
had the same issues. windows 10 with DNS cache service disabled, seems unusable. Browsers/IM run CPU usage through the roof every 10 seconds. I'll try the compressed version and see how this fares. (i7-4700K). Also since I use WSL2, I cannot actually disable DNS cache. Are there any stripped limited versions? I've used stephen black's list for years without issues, but I have not updated it for a couple of years and now that I updated it, it seems the size has gone through the roof. |
Tasos @pshlos46 I agree, I'm well aware of the issue. One of our source lists is responsible for most of that growth. That said, that source is very diligent and responsive. The real issue here is, Windows is a dumpster fire. No other OS has these problems. Considering Windows' bloat, the irony is not lost on me. |
@StevenBlack of-course I agree 100% that Window's way of handling this, is the problem here and not the large hosts file.
Just my ideas and feedback. Thanks a lot for all your work through the years. :) |
I have the same issue on Windows 11 with taskbar disappearing, also the internet is gone, seems like due to DNS. Running the BAT file there was error that Python's I think the BAT script should not run at all detecting the absence of such third party library on Windows. The taskbar doesn't load on restart. This could be fixed by running the below manually although the internet will still be gone:
I just ran the |
Open cmd and run |
I did that but the error isn't gone for some reason even though the package
is installed.
3 iyn 2023, Ş. 21:03 tarixində iam-py-test ***@***.***> yazdı:
… Running the BAT file there was error that Python's request library is not
installed.
Open cmd and run python -m pip install requests.
—
Reply to this email directly, view it on GitHub
<#2138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQHI3Z5T3QSMIFUK7UGT7Z3XJOC7PANCNFSM6AAAAAAR6NPIYA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Did you try it in an Admin command prompt? |
Of course
3 iyn 2023, Ş. 21:29 tarixində iam-py-test ***@***.***> yazdı:
… Did you try it in an *Admin* command prompt?
—
Reply to this email directly, view it on GitHub
<#2138 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQHI3Z2UFALXRF3J376FITTXJOGBNANCNFSM6AAAAAAR6NPIYA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have no idea. Maybe there is more than one version of Python installed and the script is using that? |
No, that's not the case, there is only one Python version on my system. I think there should be a notice that I had to delete my I think I need to restore DNS Cache back now, I see that |
For those suffering the same issue after disabling DNS Cache, here's the service values to restore: https://www.itprotoday.com/windows-78/jsi-tip-0324-registry-entries-services From my experience, however great, this shouldn't be used under Windows by the general public esp. by those with lesser technical proficiency, else you'll render your system useless. |
I cannot use this hosts file, it locks up my win10 machine, luckily I have an app unlocker unlock the hosts file to edit the hosts file back to 127.0.0.1 localhost. I also disabled dns cache but I found I need that enabled to access my nvidia shield over smb. |
Not much StevenBlack can do... |
ima get a rasberry pi and go with pi-hole and in need of a PI, prices are insane from shortage facepalm. i dont want to use a spare pc just to run ubuntu n pi hole, energy costs. |
i grabbed the rpi 8GB new $75, just got back in stock. |
dude holy crap finally decided to try this out, because at this point, Windows was taking more than half an hour to become usable after booting due to the Hosts file. It just took under 30 seconds with the compressed Hosts file. Thank you so much! EDIT: and I can actually update the HOSTS file while Windows is running without booting into Safe Mode. Takes less than 30 seconds to be able to use the internet again. |
I feel this issue has also been resolved. Unless I'm missing something, all of this stemmed from a misunderstanding/slow adoption of the |
Thank you @ScriptTiger I agree! Closing. |
I added the raw file to my hosts and made the windows taskbar to not work. Start menu is grayed out, cant right click or anything with it.
I tried removing the "Windows 10" section of the file, but it didnt work either. Idk which specific domain is doing it.
The text was updated successfully, but these errors were encountered: