I am trying to change the location of the hosts file in Windows XP. I have changed the location in the "DataBasePath" value at HKLM\SYSTEM\CurrentControl
I have also changed "DataBasePath" wherever else I find it in the registry.
However, even after rebooting several times, Windows XP insists on using the former DataBasePath value to find the hosts file.
This is not a case of DNS caching. I have tested this by creating a gibberish word for a domain in the new hosts file and in the old hosts file and associated it with two different IP addresses. The gibberish domain resolves to the IP address in the old hosts file. Changing the IP address in the old hosts file shows immediate results.
It is also not associated with the browser I am using. Not only have I tested this with IE and Firefox, but if I ping the domain I will still get the IP address in the old hosts file.
I have tested this on a XP SP3 install and a XP SP3 VM install. Same result.
Has anyone actually gotten this to work? I have seen plenty of advice on how to change the location, but not, seemingly, a lot of people who have actually done it and gotten it to work.
This same question was asked here: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_23212176.html
but with no conclusive result.
The accepted solution mentioned trying it with a new AD account, but there was no response from the asker on whether it worked or not. I don't see how AD could make a difference when this is a machine setting, not a user setting.
If you have actually gotten this work and you have some insight on my problem I would be mighty grateful.