How to Manually Recreate a WINS Database

Last reviewed: January 5, 1998
Article ID: Q168712
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.51 and 4.0

SUMMARY

In the event of database corruption, it may be necessary to delete and recreate the Windows Internet Name Service (WINS) database file. This article details the steps required to delete and recreate the WINS database file.

NOTE: The procedure for recreating the Wins.mdb file is different for Windows NT Server 3.51 and Windows NT Server 4.0.

MORE INFORMATION

Windows NT Server version 3.51

To delete and recreate your WINS database, follow these steps:

  1. Click Start, point to Settings, and click Control Panel. Double-click the Services icon, click Windows Internet Name Service, and then click Stop.

  2. Type the following at a command prompt, and then press Enter:

    ren %SystemRoot%\System32\WINS\Wins.mdb

           %SystemRoot%\System32\WINS\Wins.old
    

    NOTE: The commandline above is all on one line, it has been wrapped for readability.

  3. Overwrite the existing System.mdb file with a new one from your original Windows NT source media. Type the following at a command prompt and then press Enter after each line:

    copy D:\i386\System.md_ %SystemRoot%\System32\WINS\System.md_

    del %SystemRoot%\System32\WINS\System.mdb

    expand %SystemRoot%\System32\WINS\System.md_

              %SystemRoot%\System32\WINS\System.mdb
    
       NOTE: The expand commandline above is all on one line, it has been
       wrapped for readability.
    
    

  4. Restart WINS.

When WINS is restarted, a new Wins.mdb will be created.

Windows NT Server version 4.0

To delete and recreate your WINS database, follow these steps:

  1. Click Start, point to Settings, and click Control Panel. Double-click the Services icon, click Windows Internet Name Service, and then click Stop.

  2. Type the following at a command prompt and then press Enter:

    ren %SystemRoot%\System32\WINS\Wins.mdb

           %SystemRoot%\System32\WINS\Wins.old
    

    NOTE: The commandline above is all on one line, it has been wrapped for readability.

  3. Type the following at a command prompt and then press Enter:

    ren %SystemRoot%\System32\WINS\*.log %SystemRoot%\System32\WINS\*.old

  4. Restart WINS.

When WINS is started, a new Wins.mdb will be created.


Additional query words: uninstall un-install delete removal rebuild
corrupt manual manually
Keywords : kbhowto nthowto ntnetserv NTSrv nttcp kbnetwork
Version : WinNT:3.51,4.0
Platform : winnt
Issue type : kbinfo
Solution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.