Microsoft Knowledge Base Email Alertz

On a computer running Windows NT Server, if Gateway Services for NetWare (GSNW) is installed, a SAP Type 640 broadcasts every 60 seconds by the remote procedure call (RPC) service. This SAP broadcast continues even if the user disables the

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 171307 - Last Review: November 1, 2006 - Revision: 1.6

How to Disable SAP Broadcast for RPC Service

System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows Vista Solution Center
This article was previously published under Q171307
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  (http://kbalertz.com/Feedback.aspx?kbNumber=256986/EN-US/ ) Description of the Microsoft Windows Registry

On This Page

SYMPTOMS

On a computer running Windows NT Server, if Gateway Services for NetWare (GSNW) is installed, a SAP Type 640 broadcasts every 60 seconds by the remote procedure call (RPC) service. This SAP broadcast continues even if the user disables the GSNW and the SAP Agent Service.

On a computer running Windows NT Workstation, the RPC service does the SAP broadcast if the Client Services for NetWare (CSNW) and the SAP Agent service are installed. This SAP broadcast continues even if the user disables the SAP agent.

CAUSE

By default, the RPC service checks for the presence of Gateway Services for NetWare and the SAP Agent service on the computer running Windows NT Server.

On the computer running Windows NT Workstation with CSNW, the RPC service checks for the SAP Agent service. If the services are present, RPC starts its own thread that does the SAP broadcast Type 640 every minute.

RESOLUTION

Windows NT Server 4.0, Terminal Server Edition

To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
152734  (http://kbalertz.com/Feedback.aspx?kbNumber=152734/EN-US/ ) How to Obtain the Latest Windows NT 4.0 Service Pack

Windows NT Server or Workstation 4.0

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
  • 152734  (http://kbalertz.com/Feedback.aspx?kbNumber=152734/EN-US/ ) how to obtain the latest windows nt 4.0 service pack
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)

STATUS

Windows NT Server 4.0, Terminal Server Edition

Microsoft has confirmed that this is a problem in Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT Server 4.0, Terminal Server Edition Service Pack 6.

Windows NT 4.0

Microsoft has confirmed that this is a problem in Windows NT 4.0. This problem was first corrected in Windows NT 4.0 Service Pack 5.

MORE INFORMATION

After applying this fix, perform the steps below to create a new registry value.

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. Run Registry Editor (Regedt32.exe).
  2. Go to the following key in the registry:
          HKEY_LOCAL_MACHINE\Software\Microsoft\RPC
    						
  3. On the Edit menu, click Add Value and use the following entry:
          Value Name: AdvertiseRpcService
          Data Type:  REG_SZ
          String:     No
    						

    Using No for the string turns RPC sapping off.
    Using Yes for the string turns RPC sapping on.
  4. Restart the computer for the registry change to take effect.
If the SAP broadcasts continue after following these steps, you may want to disable SAP broadcasts as a troubleshooting step. To disable SAP broadcasts, delete the Ncacn_spx string value in following registry key:
   HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\ServerProtocols\ 
				
NOTE: This should be used only as a troubleshooting step. Deleting this string value completely disables SAP broadcasts which some programs may need in order to function properly.

For additional information about, please see the following article in the Microsoft Knowledge Base:
142533  (http://kbalertz.com/Feedback.aspx?kbNumber=142533/EN-US/ ) 0x640 SAP Packets Increase Using Remote Registry Service

APPLIES TO
  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
Keywords: 
kbhotfixserver kbqfe kbfix kbother kbprb KB171307
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate