WMI Provider Error Access is denied - while changing SQL Server account password

Published Jan 15 2019 11:16 AM 3,856 Views
Microsoft
First published on MSDN on Jan 21, 2009

Recently one of our blog readers reported that when they tried to change the SQL Server account password in SQL Server Configuration Manager they were getting "WMI Provider Error Access is denied [0x80070005]".  This was happening on two separate Windows Server 2008 machines that were in a workgroup, and the user was logged on as local administrator.

I curiously enough was also having this problem on 3 of my machines (two Vista and one Windows 2008) when I was trying to update my password in SQL Server Configuration Manager after my domain account password expired and had to be changed.  I was logged on with my domain account that is a member of local administrator.  This problem was also happening whether I would use my SQL 2005 or SQL 2008 Configuration Manager.

I have yet to finish sorting out exactly why this access denied is occurring, but wanted to post a simple workaround I identified while investigating this.

First confirm that you are logged on with an account that is a local administrator (or member of local Administrators).  After you open SQL Configuration Manager and go to properties for the Service, instead of immediately trying to change the password, go to Browse and then type the account name in the "enter the object name to select" box and choose check names to let it resolve.  Then come back to the properties screen and enter the password.

Sarah Henwood | Microsoft SQL Server Escalation Services

%3CLINGO-SUB%20id%3D%22lingo-sub-315631%22%20slang%3D%22en-US%22%3EWMI%20Provider%20Error%20Access%20is%20denied%20-%20while%20changing%20SQL%20Server%20account%20password%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315631%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Jan%2021%2C%202009%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3ERecently%20one%20of%20our%20blog%20readers%20reported%20that%20when%20they%20tried%20to%20change%20the%20SQL%20Server%20account%20password%20in%20SQL%20Server%20Configuration%20Manager%20they%20were%20getting%20%22WMI%20Provider%20Error%20Access%20is%20denied%20%5B0x80070005%5D%22.%26nbsp%3B%20This%20was%20happening%20on%20two%20separate%20Windows%20Server%202008%20machines%20that%20were%20in%20a%20workgroup%2C%20and%20the%20user%20was%20logged%20on%20as%20local%20administrator.%3C%2FP%3E%0A%20%20%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F66195iB0ACD1A3B84900D7%22%20%2F%3E%3C%2FP%3E%0A%20%20%3CP%3EI%20curiously%20enough%20was%20also%20having%20this%20problem%20on%203%20of%20my%20machines%20(two%20Vista%20and%20one%20Windows%202008)%20when%20I%20was%20trying%20to%20update%20my%20password%20in%20SQL%20Server%20Configuration%20Manager%20after%20my%20domain%20account%20password%20expired%20and%20had%20to%20be%20changed.%26nbsp%3B%20I%20was%20logged%20on%20with%20my%20domain%20account%20that%20is%20a%20member%20of%20local%20administrator.%26nbsp%3B%20This%20problem%20was%20also%20happening%20whether%20I%20would%20use%20my%20SQL%202005%20or%20SQL%202008%20Configuration%20Manager.%3C%2FP%3E%0A%20%20%3CP%3EI%20have%20yet%20to%20finish%20sorting%20out%20exactly%20why%20this%20access%20denied%20is%20occurring%2C%20but%20wanted%20to%20post%20a%20simple%20workaround%20I%20identified%20while%20investigating%20this.%3C%2FP%3E%0A%20%20%3CP%3EFirst%20confirm%20that%20you%20are%20logged%20on%20with%20an%20account%20that%20is%20a%20local%20administrator%20(or%20member%20of%20local%20Administrators).%26nbsp%3B%20After%20you%20open%20SQL%20Configuration%20Manager%20and%20go%20to%20properties%20for%20the%20Service%2C%20instead%20of%20immediately%20trying%20to%20change%20the%20password%2C%20go%20to%20Browse%20and%20then%20type%20the%20account%20name%20in%20the%20%22enter%20the%20object%20name%20to%20select%22%20box%20and%20choose%20check%20names%20to%20let%20it%20resolve.%26nbsp%3B%20Then%20come%20back%20to%20the%20properties%20screen%20and%20enter%20the%20password.%3C%2FP%3E%0A%20%20%3CP%3ESarah%20Henwood%20%7C%20Microsoft%20SQL%20Server%20Escalation%20Services%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-315631%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Jan%2021%2C%202009%20Recently%20one%20of%20our%20blog%20readers%20reported%20that%20when%20they%20tried%20to%20change%20the%20SQL%20Server%20account%20password%20in%20SQL%20Server%20Configuration%20Manager%20they%20were%20getting%20%22WMI%20Provider%20Error%20Access%20is%20denied%20%5B0x80070005%5D%22.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-315631%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESCM%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jan 15 2019 11:16 AM
Updated by: