Microsoft KB Archive/287523

= STS: How to Set the Cutoff Property for New Item Display Tag =

Article ID: 287523

Article Last Modified on 6/11/2002

-

APPLIES TO


 * Microsoft SharePoint Team Services

-



This article was previously published under Q287523



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article describes how to set a registry key to remove the New Tag that is displayed when you create a new entry, for example, Announcements, Events, and so on.



Method 1: Add a Registry Key
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Click Start and then click Run. In the Open box, type Regedit, and then click OK. Go to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Ports\Port /LM/W3SVC/5:

 Right-click Port, point to New, and then click String. Name the string NewItemDisplayCutoff. Set Value = 0 or 1.</li></ol>

NOTE: You can set the global property by using the All Ports key.

Method 2: Use the Command Line Owsadm.exe
You can also use the Owsadm.exe command line to set the property value. To do this, follow these steps: <ol> Click Start, point to Run, and then type cmd in the Open box. Click OK.</li> Change the directory to %\program files\common files\microsoft shared\web server extensions\50\bin.</li> Type the following:

<pre class="fixed_text">owsadm.exe -o setproperty -pn NewItemDisplayCutoff -pv # -p 80 or /lm/w3svc/5

-pn = property name -pv = property value 0=don't display anything 1= until midnight
 * 1) = value 0 or 1

-p = port -p /lm/w3svc/5 -p 80 -p 80 -m www.microsoft.com

</li> Open the Windows registry again, and verify that the NewItemDisplayCutoff key is in place:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Ports (or \Port, depending on which value you used with -p)

</li></ol>

The NewItemDisplayCutoff value specifies whole days only. For example, if NewItemDisplayCutoff is set to 1, and you create an item today at 5 PM, the item is considered new until today at midnight.

For additional information about the Owsadm.exe utility, click the article number below to view the article in the Microsoft Knowledge Base:

272945 STS: Using SharePoint Team Services Command-Line Utility

Additional query words: inf SP2002 SPTS

Keywords: kbhowto KB287523

-

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

© Microsoft Corporation. All rights reserved.