Hosts file not editable after Kaspersky "desinfection"

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 5,328
    Windows 11 Pro 64-bit
       #11
      My Computer


  2. Posts : 59
    Windows 10 Pro 22H2 19045.3208
    Thread Starter
       #12

    Thanks, FreeBooter.
    Before I do changes to my registry:
    Will this work in the Windows folder? I thought I read something that it does not work there.
      My Computer


  3. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #13

    Is your account in the Administrators group?

    Enter net localgroup administrators from a Elevated Command Prompt to see.
      My Computers


  4. Posts : 59
    Windows 10 Pro 22H2 19045.3208
    Thread Starter
       #14

    Yes it is.
    Thanks for posting.
    I also exited Kaspersky totally and tried your previous commands without success.
      My Computer


  5. Posts : 5,328
    Windows 11 Pro 64-bit
       #15

    You can take ownership of the Hosts file.
      My Computer


  6. Posts : 30,592
    Windows 10 (Pro and Insider Pro)
       #16

    Get Process explorer and find which process have the file open.

    - Go to Find, Find Handle or DLL
    - Enter the name of the file and press Search.
    You can close the handle manually
      My Computers


  7. Posts : 6,838
    22H2 64 Bit Pro
       #17

    Try disabling Kaspersky temporarily.
      My Computer


  8. Posts : 59
    Windows 10 Pro 22H2 19045.3208
    Thread Starter
       #18

    AndreTen said:
    Get Process explorer and find which process have the file open.

    - Go to Find, Find Handle or DLL
    - Enter the name of the file and press Search.
    You can close the handle manually
    It's only svchosts.exe. Kill?
      My Computer


  9. Posts : 5,328
    Windows 11 Pro 64-bit
       #19

    No don't terminate svchosts.exe.
      My Computer


  10. Posts : 30,592
    Windows 10 (Pro and Insider Pro)
       #20

    Muxthepux said:
    It's only svchosts.exe. Kill?
    Did you run Process explorer with admin rights?

    Check this thread at superuser.. One of the anwsers includes solution when file is locked by svchosts.exe, by killing it and imidiately renaming hosts file to something else, then copying default file over.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:16.
Find Us




Windows 10 Forums