I apologize up front if this has been asked and answered in the past but I was not able to find any info on it in my searches on here. I have an issue with a couple of of Windows XP computers on my domain. The users keep having issues with losing network printers and mapped drives.
I have a feeling that my issues may correspond with corrupt hosts file and possibly stale accounts in AD. I have noticed on occasion that the hosts file will sometimes create an entry with the old computer name listed in it and in addition, I notice that a hosts-lms.tmp file is created with the old computer name as well. I have made the hosts file read only and I delete the hosts-lms.tmp each time I see it but it returns each time the computer is powered back up and the user logs on to the domain.
In addition, I found stale computer name entries with IP addresses of computers with a different name listed in Active Directory and in my DNS Management forward lookup zones and deleted the duplicate entries of names and IP addresses but I am still having issues on the computers themselves as you have read above. By the way, this is a Windows 2003 domain.
Any ideas and possible solutions would be appreciated.