How to read the Flags value in the registry for Commerce Server Staging projects that run on Commerce Server 2007 (920675)



The information in this article applies to:

  • Microsoft Commerce Server 2007 Enterprise Edition
  • Microsoft Commerce Server 2007 Developer Edition
  • Microsoft Commerce Server 2007 Standard Edition

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

INTRODUCTION

This article describes how to read the Flags value in the registry for Microsoft Commerce Server Staging (CSS) projects that run on Microsoft Commerce Server 2007. Additionally, this article includes all the possible Flags values and how to set these values from the command line.

MORE INFORMATION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
All CSS configuration information is contained in the following Microsoft Windows NT registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CSS

Some of this information is available, such as the TransactionMethod registry entry. The value of this registry entry can be set to YES or to NO.

The following information shows how to set and to verify the Flags value on a computer that is running Commerce Server 2007.

Set a flag from the command line

To set a Flags value, run one of the following commands at a command prompt:
  • CSS AddProj ProjectNameDirectory [Dest1] Flags=VALUE

    Note ProjectName is a placeholder for the name of the project. VALUE is a placeholder for a numeric value that is always checked for validity. However, the token "Flags" will not be checked. If you mistakenly enter the word "Flag," a new value will be created.
  • CSS EditProj ProjectName FLAGS=VALUE

    For example, to add the Force flag to an existing project that is named Test1, run the following command:

    CSS EditProj Test1 FLAGS=Force

    To turn off all the flags of an existing project that is named Test1, run the following command:

    CSS EditProj Test1 FLAGS=0

Verify flags by using Registry Editor

The content replication system project information is located in the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CSS\Projects\<ProjectName>

The Flags value shows how the customer has configured CSS. To determine the configuration, use the following table.
Flags valueCommand lineBit value
1Flags=NoDelete00000000 00000000 00000000 00000001
2Flags=ACLs00000000 00000000 00000000 00000010
4Flags=DirsOnly00000000 00000000 00000000 00000100
8Flags=Force00000000 00000000 00000000 00001000
16Flags=Permit00000000 00000000 00000000 00010000
64Flags=Incremental00000000 00000000 00000000 01000000
128Flags=Fastmode00000000 00000000 00000000 10000000
256Flags=Automatic00000000 00000000 00000001 00000000
512Flags=Route00000000 00000000 00000010 00000000
1024Flags=Notify00000000 00000000 00000100 00000000
4096Flags=ExcludeAll00000000 00000000 00010000 00000000

Modification Type:MajorLast Reviewed:7/11/2006
Keywords:kbhowto kbinfo KB920675 kbAudITPRO