STS: How to Set the Cutoff Property for New Item Display Tag (287523)



The information in this article applies to:

  • SharePoint Team Services from Microsoft

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.

MORE INFORMATION

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.
  1. Click Start and then click Run.
  2. In the Open box, type Regedit, and then click OK.
  3. Go to the following registry key:

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

  4. Right-click Port, point to New, and then click String.
  5. Name the string NewItemDisplayCutoff.
  6. Set Value = 0 or 1.
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:
  1. Click Start, point to Run, and then type cmd in the Open box. Click OK.
  2. Change the directory to %\program files\common files\microsoft shared\web server extensions\50\bin.
  3. Type the following:

    owsadm.exe -o setproperty -pn NewItemDisplayCutoff -pv # -p 80 or /lm/w3svc/5
    
    -pn = property name
    -pv = property value
    # = value 0 or 1
    0=don't display anything
    1= until midnight
    
    -p = port
    -p /lm/w3svc/5
    -p 80
    -p 80 -m www.microsoft.com
    							

  4. 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)

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


Modification Type:MajorLast Reviewed:6/11/2002
Keywords:kbhowto KB287523