Link to home
Start Free TrialLog in
Avatar of intelogent
intelogentFlag for United States of America

asked on

Cleaning out the debris caused by the hosts file

hi,

i have made entries in the hosts file to be used for remote desktop.

certain entries previously made in host are no longer used.
they are now a nuisance, for when we use remote desktop, they all still show them self.
they must be in the registry somewhere...


how do i delete them from RDP choices of available computers?

using both windows 7 and 8 computers

Any help appreciated.
Avatar of McKnife
McKnife
Flag of Germany image

They are not in the registry, no. Ipconfig /flusdns
Avatar of intelogent

ASKER

is that command suppose to be run from dos?
how do i get to it
winkey+r opens the run prompt. Type cmd, hit enter. Now fire that command.
PS: there's no DOS in Windows 32 bit any more.
Hi There,

The entry is in your DNS Cache, not the registry if you have deleted it from teh hosts file.

Go to the search bar, in windows 7, i.e. click start then type CMD. in Windows 8 push the Windows Key and type cmd. That will bring up the Command Prompt Window.

Then type in McKnife's command
ipconfig /flushdns

Open in new window


This will remove any cached entries.
If you open the registry editor by running regedit.exe, you could use the search to find what it is that you would like to remove.  Once you are in the registry editor, press "Control + F" or in the menu under: "Edit..." select: "Find..."

If the item you are wanting to remove is "example.com" then search for "example.com" to find it.

In my registry, the values you are looking for are located here:
HKEY_USER\Software\Microsoft\Terminal Server Client\Default\

After you delete all the references, you may need to reboot your computer.
ASKER CERTIFIED SOLUTION
Avatar of TimFarren
TimFarren

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
AAH!! What Tim said!! Yeah... I misread that