Updating Registry Information

When you deploy an instance of SQL Server Notification Services, you register the instance on every server that runs any of the following components:

  • Hosted event providers
  • Non-hosted event providers
  • Generators
  • Distributors
  • Subscription management interfaces

Registering the instance adds information to the Windows registry about the instance and its database server. It also creates performance counters for the instance.

You can also create the NS$instanceName Windows service when you register the instance. This Microsoft Windows service runs the Notification Services engine, which runs hosted event providers, generators, and distributors.

If you are hosting the Notification Services engine in your own application or process, do not create the Windows service when registering the instance. For more information, see Hosting the Notification Services Engine.

If instance or application properties change, you might need to update registry information for the instance of Notification Services:

  • If you add, modify, or remove an application, re-register the application to update the performance counters.
  • If the NS$instanceName Windows service uses SQL Server Authentication to connect to the Database Engine, re-register the instance to update the SQL Server user name and password.
  • If you need to update the user name and password for the NS$instance_name Windows service, re-register the instance and provide the new user name and password. (You can also do this in the Windows Services Manager.)

To re-reregister an instance, you must first unregister it and then register it again. Make sure to register the instance on all servers where it was previously registered.

Community Additions