Slow webpage loading/rendering (chrome, firefox, etc)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Malnutrition
    PCHF Moderator
    • Jul 2016
    • 7045

    #16
    Reset your Hosts file.

    [ol]
    [li]Click here to download RstHosts v2.0[/li][li]Save the file to your desktop.[/li][li]Right Click and Run as Administrator.[/li][li]Click on Restaurer, then click OK at the prompt.[/li][li]This will restore the default host file.[/li][/ol]



    Open a notepad and copy the content of the code box below, paste into open notepad and save it to your desktop as clean.bat then right click on clean.bat and run as admin.

    Note: Do not copy the word code.

    Note: This batch will reboot your machine so close anything you are working on and save it.
    Code:
    @echo off
    netsh advfirewall reset
    netsh advfirewall set allprofiles state On
    wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("76.76.19.19", "8.8.4.4")
    %WINDIR%\SYSTEM32\lodctr.exe /R
    %WINDIR%\SysWOW64\lodctr.exe /R
    C:\Windows\SYSTEM32\lodctr.exe /R
    C:\Windows\SysWOW64\lodctr.exe /R
    DISM.exe /Online /Cleanup-Image /StartComponentCleanup
    pause
    DISM.exe /Online /Cleanup-image /Restorehealth
    pause
    del /s /q C:\Windows\SoftwareDistribution\download\*.*
    del /s /q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*"
    del /s /q "%userprofile%\AppData\Local\Opera Software\Opera Stable\Cache\Cache_Data\*.*"
    del /s /q "%userprofile%\AppData\Local\temp\*.*"
    del /f /s /q %systemdrive%\*.tmp
    del /f /s /q %systemdrive%\*.log
    del /f /s /q %systemdrive%\*.chk
    del /f /s /q %systemdrive%\recycled\*.*
    del /f /s /q %windir%\*.bak
    del /f /s /q %windir%\prefetch\*.*
    ipconfig /flushdns
    sc stop sysmain
    sc config sysmain start= disabled
    sc stop DiagTrack
    sc config DiagTrack start= disabled
    sc stop dmwappushservice
    sc config dmwappushservice start= disabled
    reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
    sfc /scannow
    pause
    shutdown -r
    Exit /B


    Use O&O shutup ten with suggested and somewhat suggested settings enabled.

    Reboot your machine and check the issue.

    Comment

    • relyae
      PCHF Member
      • Oct 2022
      • 9

      #17
      Originally posted by Malnutrition
      Reset your Hosts file.

      [ol]
      [li]Click here to download RstHosts v2.0[/li][li]Save the file to your desktop.[/li][li]Right Click and Run as Administrator.[/li][li]Click on Restaurer, then click OK at the prompt.[/li][li]This will restore the default host file.[/li][/ol]



      Open a notepad and copy the content of the code box below, paste into open notepad and save it to your desktop as clean.bat then right click on clean.bat and run as admin.

      Note: Do not copy the word code.

      Note: This batch will reboot your machine so close anything you are working on and save it.
      Code:
      @echo off
      netsh advfirewall reset
      netsh advfirewall set allprofiles state On
      wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("76.76.19.19", "8.8.4.4")
      %WINDIR%\SYSTEM32\lodctr.exe /R
      %WINDIR%\SysWOW64\lodctr.exe /R
      C:\Windows\SYSTEM32\lodctr.exe /R
      C:\Windows\SysWOW64\lodctr.exe /R
      DISM.exe /Online /Cleanup-Image /StartComponentCleanup
      pause
      DISM.exe /Online /Cleanup-image /Restorehealth
      pause
      del /s /q C:\Windows\SoftwareDistribution\download\*.*
      del /s /q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*"
      del /s /q "%userprofile%\AppData\Local\Opera Software\Opera Stable\Cache\Cache_Data\*.*"
      del /s /q "%userprofile%\AppData\Local\temp\*.*"
      del /f /s /q %systemdrive%\*.tmp
      del /f /s /q %systemdrive%\*.log
      del /f /s /q %systemdrive%\*.chk
      del /f /s /q %systemdrive%\recycled\*.*
      del /f /s /q %windir%\*.bak
      del /f /s /q %windir%\prefetch\*.*
      ipconfig /flushdns
      sc stop sysmain
      sc config sysmain start= disabled
      sc stop DiagTrack
      sc config DiagTrack start= disabled
      sc stop dmwappushservice
      sc config dmwappushservice start= disabled
      reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF
      sfc /scannow
      pause
      shutdown -r
      Exit /B


      Use O&O shutup ten with suggested and somewhat suggested settings enabled.

      Reboot your machine and check the issue.
      Looks like this did the trick! Thank you so much! Do you think this is something I’ll need to revisit? I’m curious as to what caused things to go south in the first place.

      Again, thank you both so much for helping here. Huge relief!

      Comment

      • Malnutrition
        PCHF Moderator
        • Jul 2016
        • 7045

        #18
        Windows 10 just has some wonky settings, and too much telemetry. The batch file disabled useless crap…

        If you have this issue again just re run the batch file. Or start a new thread if it does not help. I am glad to be of service, tell a friend or two about the forum.

        Marked as solved for you.

        Comment

        Working...