Wednesday, April 13, 2011

Remove a server or application via DsCheck.exe

Sometimes your DataStore contains corrupted records.

In our case a server whose registration was corrupted.
The only way (accessible) can check the status of your DataStore is the use of DsCheck.exe (dscheck command allows you to validate the consistency of the DataStore and can repair inconsistencies found).
A prior backup of the DataStore is recommended ;) .
Commands to delete an application in the DatasStore:

dscheck / full Apps "App Name" / deleteMF / SILENT
dscheck / full Apps "App Name" / deleteComApp / SILENT
Commands to remove a server in the DatasStore:

dscheck / full servers "Server HostName" / deleteMF / SILENT
dscheck / full servers "Server HostName" / deleteComApp / SILENT
The / DeleteMF deletes the entry of the record in the DataStore
The / DeleteComApp removes the common input in the DataStore.
If you want more information on DsCheck.exe:
CTX124406 (XenApp 4.5 / 5 for Windows 2003 32/64 Bits)
CTX107800 (Presentation Server 3.0/4.0 for Windows 2000/2003)

No comments:

Post a Comment