How to change the SQL Server 2005 service accounts by using the Windows Management Instrumentation (WMI) Provider for Configuration Management (911839)
The information in this article applies to:
- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Express Edition
- Microsoft SQL Server 2005 Workgroup
SUMMARYThis article describes how to change the Microsoft SQL Server 2005
service accounts by using the Microsoft Windows Management
Instrumentation (WMI) Provider for Configuration Management. This article contains a script sample. You can use this script sample to change the SQL Server service accounts. INTRODUCTIONPermissions on the accounts that are used by SQL Server 2005 services
are managed by group membership. When you try to change the SQL Server service accounts by
using the Windows Service Control Manager, you must manually remove the old
accounts and then add the new accounts to the corresponding groups. Therefore, we
recommend that you use SQL Server Configuration Manager to change the SQL Server service
accounts.
SQL Server 2005 provides the WMI Provider for Configuration Management. You can use the WMI Provider for Configuration Management to manage changes to group membership and changes to service accounts. Specifically, you can use the WMI Provider for Configuration Management in a script
file to simplify the operations. For example, you can
repeatedly call a script file to automate changing the SQL Server service
accounts each month.
Modification Type: | Major | Last Reviewed: | 1/23/2006 |
---|
Keywords: | kbsql2005setup kbExpertiseAdvanced kbinfo KB911839 kbAudDeveloper kbAudITPRO |
---|
|