Microsoft KB Archive/171927

= Missing WINS Directory Causes Missing/Corrupt Error =

Article ID: 171927

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q171927



SYMPTOMS
When your Microsoft Windows NT WINS server starts, you may receive the following error message:

  Windows Internet Naming Service

WINS could not come up due to missing/corrupt database.

Restore the database using WINS Manager or Winscl.exe (in the Resource  Kit) and then restart WINS. If WINS still does not come up, start with a  fresh copy of the database. To do this:

1. Delete all the files in the %SystemRoot%\System32\Wins directory

NOTE: If WINS database file (typically named wins.mdb) is not in     the above directory, check the following registry entry for the full file path:

"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wins\       Parameters\DbFileNm"

Delete the .mdb file.

NOTE: If Jet*.log is not in the above directory, check the following registry entry for the full file path.

"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wins\      Parameters\LogFilePath"

Delete all log files.

2. Net start WINS.

Please click on OK to terminate WINS.



CAUSE
This error may be caused by a missing WINS folder.



RESOLUTION
You will need to manually create the WINS folder and restart the WINS service, using the following steps:  From an MS-DOS command prompt, change to the System32 folder by typing the following:

cd %Systemroot%\System32

 Create the WINS folder by typing the following:

md WINS

 Restart the WINS service by typing the following:

net start WINS





MORE INFORMATION
This error normally occurs when the WINS database has actually become corrupt. While you try to troubleshoot this error, you may delete the WINS folder instead of only deleting the files in the WINS directory and the error message will reappear until the folder is recreated.

Keywords: kbnetwork kbprb KB171927

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.