This utility provides a way to perform validation checks on a server farm's data store. Results are displayed on the console and written to the event log. The /Clean option deletes inconsistent records. Citrix recommends that you back up the data store before using the /Clean option.
Extract the contents of the dscheck35.zip file to a temp directory.
From the command line change to the temp directory the DSCheck.exe extracted to.
From the command line change to the temp directory where the DSCheck.exe utility resides. Run the following switch commands:
• dscheck /full Servers [Options]
o <ServerName> - Verify/Clean or Delete the server. May be left blank. Defaults to all servers.
o /Clean - Modify the data store to correct the errors.
o /DeleteAll - Delete the server entries from the data store.
o /DeleteMF - Delete the MetaFrame Server entry from the data store.
o /DeleteComSrv - Delete the Common Server entry from the data store. If specified without a server name, will attempt to remove all the duplicate Common Server entries.
Note : In general, use /Delete *** with caution.
• dscheck /full Apps [Options]
o < AppName> - Verify/Clean or Delete the application. May be left blank. Defaults to all applications.
o /Clean - Modify the data store to correct the errors.
o /ServerCheck - Verify that all applications are hosted by valid servers.
o /DeleteMF - Delete the MetaFrame Application entry from the data store.
o /DeleteComApp - Delete the Common Application entry from the data store.
• dscheck /full Printers [Options]
o /purge_replications - Removes all printer replications from the data store.
o /purge_client_printers - Removes all Client Auto-Create printers pending deletion from the data store.
o /purge_drivers - Removes all drivers that are not associated with any servers from the data store.
• dscheck /full Groups [Options]
o /Clean <GroupName> - Removes the group object. GroupName is the relative DN from the Context.
o /Clean <ParentGroupName> <GroupName> -Removes the group from the parent group. Use the output of DSCHECK.exe GROUPS /verify" for both ParentGroupName and GroupName.
• dscheck /full MSLicense [Options]
o /purge_licenses - Removes all Microsoft Licenses from the data store.
o /list - Lists all Microsoft Licenses in the data store.
• dscheck /full Folders /clean - Collapse orphaned folders in the data store.
• dscheck /full Licenses /clean - Removes all corrupt licenses from the data store.