Logging into a Windows Domain is very SLOW

To override your computer’s DNS information for a specific entry, we’ll make changes to the system’s host file. Using a plain text editor (such as Notepad), make the following changes to %WINDIR%\System32\drivers\etc\hosts, adjusting the address and name information accordingly to fit your situation:

192.168.1.55     fluffygerbil     fluffygerbil.example.com

 Next, we need to override your computer’s WINS information. Using the same method, make the following changes to %WINDIR%\System32\drivers\etc\hosts, adjusting the address and name information accordingly to fit your situation:

192.168.1.55     fluffygerbil     #PRE     #DOM:mydomain
192.168.1.55     "mydomain       \0x1b"     #PRE

 The syntax for this file is somewhat different. The #PRE command tells Windows to automatically load this line into memory upon startup. The #DOM command tells Windows the name of the domain that this entry belongs to. The second line contains similar information, however it is specific to the Windows Domain itself; to accomplish this, we’ve put quotation marks around the name and added \0×1b to the end, for a total of 20 characters. Now, we need to flush our NetBIOS cache (note the uppercase -R):

nbtstat -R

Comments are closed.