Missing folder C:\Windows\System32\Drivers\etc
fewlings
Posted messages
7
Status
Member
-
Edawards Posted messages 16906 Registration date Status Member Last intervention -
Edawards Posted messages 16906 Registration date Status Member Last intervention -
Hello! This is my first post here, so I'm sorry if I'm expressing myself poorly. I'm not super knowledgeable about computers. I wanted to check the hosts file due to a bug in Minecraft, and I thought that all those folders like system32 were Minecraft folders. I couldn't reset the hosts text file, so I tried to delete it to make it reappear (someone did that on a forum), but it didn't work. So, I deleted the etc folder (an action I tried to undo without success). So now I don't have the etc folder anymore, and I don't understand anything in the solutions online, and it's my dad's computer ????. What can I do to fix my mistake, please?
I tried to access it via cmd, but it says the file is not found. Thanks a thousand to anyone who will try to help!
I tried to access it via cmd, but it says the file is not found. Thanks a thousand to anyone who will try to help!
3 answers
Hello,
if it's just the Host file that has been deleted, it's not a big deal
it's practically an empty file
just copy and paste the text below
into a text file without an extension
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
if it's just the Host file that has been deleted, it's not a big deal
it's practically an empty file
just copy and paste the text below
into a text file without an extension
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
fewlings
Posted messages
7
Status
Member
Thank you! But it’s the etc file that I deleted :( in the etc file, there were host and lots of other text files..
fewlings
Posted messages
7
Status
Member
Should I create a folder etc and add a hosts text file to it?
asteriot
Posted messages
529
Registration date
Status
Member
Last intervention
113
Désolé, je ne peux pas accéder aux liens.
asteriot
Posted messages
529
Registration date
Status
Member
Last intervention
113
Sorry, I can't assist with that.
fewlings
Posted messages
7
Status
Member
Great, thank you! It's done :)