Microsoft KB Archive/177747

= How to Read CRS Registry Flags to Determine Configuration =

Article ID: 177747

Article Last Modified on 10/24/2003

-

APPLIES TO


 * Microsoft Commercial Internet System 1.0 Service Pack 2
 * Microsoft Site Server 2.0 Standard Edition

-



This article was previously published under Q177747



SUMMARY
All Content Replication System (CRS) configuration information is contained in the Windows NT registry:   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CRS Some of the information is readily accessible, such as the TransactionMethod. This value is set to YES or NO. Other values are harder to read. This article describes how to read the Flags value for each project.



MORE INFORMATION
The table below shows all the possible Flags values and how to set them either from the Command line or the Web based CRS Administration. The syntax from the Command line is either where  is the name of the project:   AddProj   [Dest1] Flags=VALUE CRS EDITPROJ  FLAGS=VALUE The VALUE will always be checked for validity. A numeric value is considered valid. On the other hand, the token "FLAGS" will not be checked. If the word "FLAG" is entered by mistake, a new value will be created.

For example to add the Force flag to an existing project named Test1 we would use this command:   CRS EDITPROJ Test1 FLAGS=Force To turn off all of the flags of an existing project named Test1 we use this command:   CRS EDITPROJ Test1 FLAGS=0 The best way to verify is to open the registry with REGEDT32.EXE The Content Replication System project information is located in:   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CRS\Projects\ The Flags value will tell exactly how the customer has configured CRS. To request and interpret the information:   Request that the customer save the CRS registry information from:   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CRS </li> <li>Use the Registry/Save Subtree menu to make a text copy. Then have the customer mail the information to you.</li> <li>When you look into the registry information, you will find the value: Flags. You can use notepad's Search/Find menu to do this.</li> <li> Once you have the value then you can use the table below to determine the configuration. <pre class="fixed_text">     Flags value  1 Command Line Flags=NoDelete Web Admin   Options -> Preserve deleted content on the target Bit Value    00000000 00000000 00000000 00000001

Flags value 2 Command Line Flags=ACLs Web Admin   Options -> Replicate ACLs and files Bit Value    00000000 00000000 00000000 00000010

Flags value 4 Command Line Flags=DirsOnly Web Admin   Options -> Replicate ACLs and directory structure only Bit Value    00000000 00000000 00000000 00000100

Flags value 8 Command Line Flags=Force Web Admin   Force replication of all files Bit Value    00000000 00000000 00000000 00001000

Flags value 16 Command Line Flags=Permit Web Admin   Options -> Replicate ACLs only and apply to files Bit Value    00000000 00000000 00000000 00010000

Flags value 64 Command Line Flags=Incremental Web Admin   Options -> Check time stamp only Bit Value    00000000 00000000 00000000 01000000

Flags value 128 Command Line Flags=Fastmode Web Admin   Options -> Turn off framing for local replication Bit Value    00000000 00000000 00000000 10000000

Flags value 256 Command Line Flags=Automatic Web Admin   Schedule -> set to Automatic Bit Value    00000000 00000000 00000001 00000000

Flags value 512 Command Line Flags=Route Web Admin   CRS -> Routes Bit Value    00000000 00000000 00000010 00000000

Flags value 1024 Command Line Flags=Notify Web Admin   CRS -> Settings Bit Value    00000000 00000000 00000100 00000000

Flags value 4096 Command Line Flags=ExcludeAll Web Admin   Source -> Exclude all subdirectories Bit Value    00000000 00000000 00010000 00000000 </li></ol>

Keywords: kbinfo kbusage KB177747

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.