开发者

How to change the logon accounts for the SQL Server 2008 services

开发者 https://www.devze.com 2023-02-01 23:50 出处:网络
I have a requirement to change the service logon accounts for the SQL server 2008 services through script. I know we can do this 开发者_运维百科manaually using Sql Server Configuration Manager. But i

I have a requirement to change the service logon accounts for the SQL server 2008 services through script. I know we can do this 开发者_运维百科manaually using Sql Server Configuration Manager. But i couldnt find a script for achieving this.


Found via Google ("change sql 2008 service account programatically"), modifies the account using WMI:

http://blogs.msdn.com/b/mwories/archive/2006/11/03/wmi_5f00_change_5f00_password.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消