Search This Blog

Feb 14, 2012

Activation Issue - The following Failure occurred while trying to use the product by: Code: 0x80070005 Description: Access is denied

Hello ALL,

Today I was reading some old emails with the solutions done and I would like to share another issue it happens all the time. Hope it helps.

Issue
==========

Sometimes you may have Access Denied message when you're trying activate your Windows edition.
The message error is:

Invalid Product key
The following Failure occurred while trying to use the product by: Code: 0x80070005 Description: Access is denied.


  • Probably if you have facing an issue like this one if you try run the command (even using Administrator account) "slmgr.vbs /dlv" on the server the activation error will show you the following message:










  • For this case the best way is use one generic key to try install it and check if the Windows recognize it. After activating with that generic key we will be able to install the correct one to activate the Window properly.


        C:\Windows\System32>cscript slmgr.vbs /ipk 489J6-VHDMP-X63PK-3K798-CPX3Y
             Microsoft (R) Windows Script Host Version 5.8
             Copyright (C) Microsoft Corporation. All rights reserved.


              Error: 0x80070005 Access denied: the requested action requires elevated privileges



Actions Taken
==============


  • When attempting to activate any type of licensing (MAK or KMS client) received the following error message to permissions issues.
  • Validated using RSOP.MSC the path "Computer Configuration/Policies/Windows Settings/Security Settings/System Services" and service "Plug and Play" has been set as "Not Defined".
  • Checked the permission within the Regedit to the following key "HKEY_USERS\S-1-5-20" and the local account 'Network Service' has Full Control permission.





Solution
=============


  • Added to Full Control permission to the 'Everyone' account in the following folders
    • "C:\users\default\AppData\Roaming\Microsoft"
    • "C:\Windows\serviceprofiles\networkservice\appdata\roaming\microsoft"


  • Restarted the service "Software Protection" and and made Activation of Windows Server with a generic key as below:


C:\Windows\System32>cscript slmgr.vbs /ipk 489J6-VHDMP-X63PK-3K798-CPX3Y
                                     Microsoft (R) Windows Script Host Version 5.8
                                     Copyright (C) Microsoft Corporation. All rights reserved.


Installed product key 489J6-VHDMP-X63PK-3K798-CPX3Y successfully.


  • Started the "Activate Now" Wizard. Typed the correct license successfully.
  • Double check the license thru command "cscript slgmr.vbs /dlv"


C:\Windows\System32>cscript slmgr.vbs /dlv
                                    Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Software licensing service version: 6.1.7600.16385
Name: Windows Server(R), ServerEnterprise edition
Description: Windows Operating System - Windows Server(R), VOLUME_MAK_B channel
Partial Product Key: G7X78
License Status: Licensed
Remaining Windows rearm count: 3



Cause
=========


  • This issue was related to insufficient permissions on the folders mentioned above.

23 comments:

  1. AWESOME! AWESOME! AWESOME!

    Work for me on a virtual machine with Windows 2008 R2 Enterprise.

    Thank you very much. Excellent!

    ReplyDelete
    Replies

    1. how to upgrade windows 7 home basic to professional key free , product key windows 7 professional validi , windows 10 activation windows , active key for windows 7 ultimate , windowd 7 keys , windows 7 ult keys retail , cheap office 2016 series key , windows 10 activation 2 , lTcKON

      buy office 2016 product key

      windows server 2012 r2 free

      rosetta stone french key sale

      windows 10 product serial number offer

      windows 7 product serial number

      Delete
    2. DUDE this totally worked for me. All I had to do was share the two folders with everyone then readd my volume key and activate. I really appreciate this solution. YOU ROCK!!!!

      Delete
  2. Thank you Chang, it certainly fixed the issue.

    ReplyDelete
  3. you my friend are a champion
    works like a charm after trying everything else I had given up and Microsoft answer was you have to re-install the os

    ReplyDelete
  4. Thank you. This fixed an issue I was having with installing windows updates. I was getting an error of unable to configure windows updates reverting changes. After many months of searching on that error I was able to discover the 0x80070005 Description: Access is denied error and this article fixed the issue.

    ReplyDelete
  5. thanks Chang,,works for me help in office.

    ReplyDelete
  6. Let me add this. If the server is part of a domain and there is a Group Policy that contains a setting controlling the "Plug and Play" Service. (Windows Settings-->Security Settings-->System Services-->Plug and Play) You must make sure that the "Network Service" account has full control to the plug and play service.

    ReplyDelete
  7. It was very useful and relieved me from pressure from the application team.

    ReplyDelete
  8. EXXXXXXEEEELLENT DONE, Chang !!! Simple but very detailed and smart work done. Helped me on Windows 7SP1 HP. There was a little misjudge in resume after entering command, but activation of the authentic Microsoft key was successful. Thank You, Great Chang, very much from Estonia.

    ReplyDelete
  9. Oh you wonderful man! I spent a whole day playing around with this. Well done.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Thank you very much. No other solution worked. I can confirm this does. I had to add 'Everyone' to the access permissions of "C:\Windows\serviceprofiles\networkservice\appdata\roaming\microsoft" as well.

    ReplyDelete

  12. windows 10 product key verification , cheap office 2016 series key , windows 7 home basic download , windows 10 product key view , windows 10 key sale , how we get the product key of windows server 2003 , windows key shop review , windows 10 product keys , lJI4da

    buy office 2016 product key

    windows server 2012 r2 free

    rosetta stone french key sale

    windows 10 product serial number offer

    ReplyDelete

  13. windows 10 product key verification , cheap office 2016 series key , windows 7 home basic download , windows 10 product key view , windows 10 key sale , how we get the product key of windows server 2003 , windows key shop review , windows 10 product keys , lJI4da

    buy office 2016 product key

    windows server 2012 r2 free

    rosetta stone french key sale

    windows 10 product serial number offer

    ReplyDelete
  14. Can't thank you enough. You are genius man.

    ReplyDelete
  15. Kudos, worked for me. Thank you!

    ReplyDelete
  16. Thank you, thank you, thank you!!!! Worked perfectly.

    ReplyDelete
  17. Nice! Tried to solve myself, googled, asked on superuser.com, called Microsoft support, they tried for an hour, gave up saying that my system can't be repaired anymore, then I found this article and solved it in 3-5 minutes. Thank you very much!

    ReplyDelete