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.
Note
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.
Common Reasons to Update the Registy
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.
To update registry information for an instance of Notification Services
- How to: Re-Register an Instance of Notification Services (SQL Server Management Studio)
- How to: Register an Instance of Notification Services for Client Components (SQL Server Management Studio)
- nscontrol unregister Command
- nscontrol register Command
- UnregisterLocal
- RegisterLocal
See Also
Concepts
Configuring Notification Services Windows Services
Securing Notification Services
Hosting the Notification Services Engine
Other Resources
Updating Instances and Applications
Administering Notification Services