The information in this article applies to:
SUMMARY
You can use the Winsdmp.exe and Winscl.exe Resource Kit utilities to
remove corrupt entries from the Windows Internet Name Service (WINS)
database.
MORE INFORMATION
The example below uses low order bit of the version ID (which is 502 in the earlier example) and the high order bit (which is 0 in the earlier example) to remove a single WINS entry. Example: (with annotations in <<< >>>) Winscl.exe TCP/IP or named pipe. Enter 1 for TCP/IP - 1 <<<enter 1 here>>> Address of Nameserver to contact--130.0.10.1 <<<this is the IP address of the WINS server>>> RN-Register a name QN-Query a name DN-Delete a name GV-Get the current vers. counter value GM-Get the Owner Id to Max. Vers. No. mappings GMO-Get the Owner Id to Max. Vers. No. mappings (3.5 WINS) GST-Get WINS statistics GSTO-Get WINS statistics (3.5 WINS) PUSHT-Send a push trigger to another WINS PULLT-Send a pull trigger to another WINS SI-Statically initialize the WINS CC-Initiate consistency check on the WINS - HIGH OVERHEAD OPERATION SC-Initiate scavenging on the WINS DRR-Delete all or a range of records PRR-Pull all or a range of records from another WINS GRBN-Get records by name GRBV-Get Records by version numbers BK-Backup the database RS-Restore the db RSO-Restore the db (created by a pre-SUR WINS) RC-Reset WINS counters CR-Count the number of recs. in the db GI-Get Info about WINS SDB-Search the db GD-Get domain names DW-Delete WINS records and info. CW-Connect Wins WA-Get Add of current Wins ME-SHOW MENU NOME-DONT SHOW MENU EX-Terminate winscl Command - DRR <<<this command deletes a record or range of records>>> Address of Owner Wins -- 130.10.10.10 <<<this is the IP address of the WINS server which owns the entry>>> Min. Vers. No (<high part> <low part> -- 0 502 <<<this is the minimum version ID>>> Max. Vers. No (<high part> <low part> -- 0 502 <<<this is the maximum version ID. In this case, since the min. and max. are the same, only one registration will be deleted>>> Status returned is (SUCCESS - 0) NOTE: If the Maximum Version Number is different than the Minimum Version Number it will delete the full range. The version number can also be obtained from the WINS Manager in the Show Database window under version ID column. The version ID shown in this window is in HEX. It needs to be converted to decimal to use with Winscl.exe. For example, if the version ID is 201 for the record that needs to be deleted, the Minimum version number becomes 0 513 when used with WINSCL. For more information on using WINSCL.EXE, please see the following article in the Microsoft Knowledge Base: Q137582 Using WINSCL.EXE Additional query words: bit doublewide order
Keywords : kbnetwork nthowto ntnetserv nttcp ntreskit NTSrv |
Last Reviewed: February 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |