Share via

Etc folder not found.

Anonymous
2017-08-04T02:34:21+00:00

Hello,

My etc folder seems to be missing, it was there before, but now gone.

I tired to find it but it is no where to be found.

I had tired using the search bar for it using the following:

%WinDir%\System32\Drivers\Etc

But it does not show.

Think my Anti-virus software might deleted the entire folder.

I am not so sure.

Could i replace the etc folder with my laptop's etc folder? 

I not really a tech guy.

Please give suggestions.

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. LemP 74,930 Reputation points Volunteer Moderator
    2017-08-05T20:38:48+00:00

    A.  Open an elevated Command Prompt window by clicking Start, typing cmd.exe into the Search box, right-clicking on the link to cmd.exe and selecting "Run as administrator" (respond as needed to the UAC prompt).

    B.  Drag your mouse across the first line of Frederick's post to select it (cd   /d  %Windir%\System32), right-click, and select Copy.

    C.  Right-click on the open black Command Prompt window and select Paste.

    D.  Press Enter

    E.  Drag your mouse across the second line of Frederick's post to select it (dir  /a  /s  drivers\e*.*  1>  "%UserProfile%\Desktop\Log.txt"  2>&1), right-click, and select Copy.

    F.  Right-click on the open black Command Prompt window and select Paste.

    G.  Press Enter.

    H.  Close the Command Prompt window.

    I.  Follow Frederick's step 4 (Open the desktop file Log.txt and paste its contents into your reply).

    7 people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2017-08-06T18:27:49+00:00

    Yes, i saw but folder is not visable.

    How can you say that the folder is not visible while at the same time saying that you saw it???

    Here are the correct commands to use from an elevated command prompt:

    attrib   /d  /s  -h  c:\Windows\System32\drivers\etc

    attrib  -h -r  c:\Windows\System32\drivers\etc\*

    4 people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2017-08-06T12:26:23+00:00

    Did you do it this way:

    Cwindows\system32\drivers>>attrib -h etc

    '-h' is not recognized as an internal or external command,

    operable program or batch file.

    or this way:

    C:\windows\system32\drivers>attrib -h etc

    C:windows\system32\drivers>

    And use the command prompt as the administrator

    1 person found this answer helpful.
    0 comments No comments

16 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-08-05T05:52:46+00:00

    No it's not. Not found.

    Please do this:

    1. Log on under an admin account.
    2. Open an elevated command prompt with cmd.exe.
    3. Type these commands exactly and press Enter after each:

    cd   /d  %Windir%\System32

    dir  /a  /s  drivers\e*.*  1>  "%UserProfile%\Desktop\Log.txt"  2>&1 4. Open the desktop file Log.txt and paste its contents into your reply.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-08-05T03:53:54+00:00

    It is here:

    C:\Windows\System32\Drivers\Etc\Hosts

    No it's not. Not found.

    1 person found this answer helpful.
    0 comments No comments