Share via


nscontrol unregister Command

Removes the instance from the registry, uninstalls the NS$<instance_name> Windows service, and removes the performance counters.

Syntax

nscontrol unregister 
    [-nologo]
    [-help]
        –name instanceName

Arguments

  • -nologo
    Suppresses the product and version statement that appears when you run an nscontrol command.
  • -help
    Displays the command syntax.
  • -nameinstanceName
    Is the name of the instance to unregister.

Remarks

The nscontrol unregister command must be run locally.

Stop the NS$<instance_name> Windows service before unregistering the instance. If the service is running, it is not deleted.

Permissions

The account used to run nscontrol unregister must be a member of the local Administrators group, which allows nscontrol unregister to access the Notification Services binary files, to update the registry, and to remove a Windows service.

Examples

This example shows how to unregister an instance named StockInstance.

nscontrol unregister -name StockInstance

See Also

Reference

nscontrol Utility

Other Resources

Deleting Instances of Notification Services

Help and Information

Getting SQL Server 2005 Assistance

Change History

Release History

5 December 2005

New content:
  • Added information about the SQLServerNotificationServicesUser Windows group.