Using Winscl.exe to Remove Corrupt WINS Entries by Version IDLast reviewed: February 23, 1998Article ID: Q169216 |
The information in this article applies to:
SUMMARYYou can use the Winsdmp.exe and Winscl.exe Resource Kit utilities to remove corrupt entries from the Windows Internet Name Service (WINS) database. This article explains how to use Winsdmp.exe to determine the version ID of the corrupt entries and how to use Winscl.exe to remove those entries. In certain cases (such as when names contain extended characters or spaces) it is necessary to remove entries based on their version ID, rather than name (using the DN option). The DN option fails when you attempt to remove these entries with extended characters or spaces. Also, the DN option only removes single entries, and does not remove ranges of entries. NOTE: The WINS Server must be running when you use Winscl.exe to modify the 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 addressof 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 theWINS server which owns the entry>>> Min. Vers. No (<high part> <low part> -- 0 502 <<<this is the minimumversion ID>>> Max. Vers. No (<high part> <low part> -- 0 502 <<<this is the maximumversion 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:
ARTICLE-ID: Q137582 TITLE : Using WINSCL.EXE |
Additional query words: bit doublewide order
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |