How to Handle Windows Activation Error 0xC0000022

Windows Activation Error
Quick Fix

Click to download Outbyte PC Repair and discover its benefits for your Windows system.

Designed for Windows 10 and 11.

Take advantage of our special offer to enhance your PC performance. For more details, please read About Outbyte, and Uninstall Instructions. Also, please review our End User License Agreement (EULA) and Privacy Policy.

When installing a new copy of Windows or changing hardware essential to the system, users need to activate the software with Microsoft. The activation process verifies if the product key is genuine or not. If the key has been used on another computer or is pirated, activation will fail.

Windows Activation is a straightforward process as long as you have a genuine product key. Just click the activation link, type in your product key, wait for Microsoft to verify it, and you’re done! The process is fairly easy, but this is not always the case. Activation errors, such as 0xC0000022, can happen during the process and lead to activation failure.

What Is the 0xC0000022 Error?

Windows Activation error 0xC0000022 is usually accompanied by the following message:

Windows couldn’t be activated
Go to Control Panel to learn about other ways to activate.
Error code: 0xC0000022
Error description: (Access Denied)

A process has requested access to an object, but has not been granted those access rights.

Expert Tip: For smoother PC performance, consider using a PC optimization tool. It handles junk files, incorrect settings, and harmful apps. Make sure it's right for your system, and always check the EULA and Privacy Policy.

Free Scan for PC Issues
Compatible with: Windows 10/11, Windows 7, Windows 8

Special offer. About Outbyte, uninstall instructions, EULA, Privacy Policy.

This error is not something new because it has been around as early as Windows XP. And this error code is not exclusive to the Windows Activation service. Error code 0xC0000022 can also be triggered by specific applications such as Adobe programs.

What Causes 0xC0000022 Error?

Error 0xC0000022 happens when there’s a problem with access rights due to damaged or stopped Software Protection Service. This is a critical Windows system service because it manages the download, installation, and enforcement of all digital licenses for the Windows operating system and its applications. So when you encounter this error, it might be because Software Protection Service isn’t running, or is damaged or missing some components.

Although error code 0xC0000022 is mostly associated with Software Protection Service, it could also be caused by other factors such as corrupted files, an overprotective antivirus program, or DLL accessibility issues.

How to Fix 0xC0000022 Error

There are several ways to fix the 0xC0000022 error, but the first thing you need to do is perform some basic cleanup in case the issue is temporary. Reboot your computer and consider using a reputable PC repair tool, such as the one referred to by PC repair tool, to delete junk files from your system Disable your antivirus temporarily and try to see if the activation would proceed successfully this time. If not, then jump to the fixes listed below.

Fix #1: Check Software Protection Service.

Since this error is closely associated with Software Protection Service, the first thing you need to do is to check if the service is running. If it is not, you need to turn it off for Windows Activation to proceed smoothly.

To start Software Protection Service, follow the steps below:

  1. Press Windows + R to launch the Run dialog.
  2. Type in services.msc, then press Enter.
  3. Scroll down to Software Protection, then double-click on it.
  4. In the Software Protection Properties window, click the Start button, then OK.

Once the service has started, reboot your computer and try to activate Windows again to see if it works. If you’re still seeing the error message after starting the service, you might have some permission or file issues preventing Software Protection from running. To fix this, follow the instructions below:

  1. Click Start then type in command prompt in the search box.
  2. Right-click on Command Prompt from the list of search results and choose Run as administrator.
  3. Type in the following command, followed by Enter:

Icacls %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform /grant “BUILTIN\Administrators:(OI)(CI)(F)” “NT AUTHORITY\SYSTEM:(OI)(CI)(F)” “NT Service\sppsvc:(OI)(CI)(R,W,D)” “NETWORK SERVICE:(OI)(CI)(F)”

  1. Close Command Prompt.
  2. Press Windows + R to open the Run dialog.
  3. Type in %windir%\System32, then hit Enter.
  4. Click View, and tick off Hidden items.
  5. Find the 7B296FB0-376B-497e-B012-9C450E1B7327-5P-0.C7483456-A289-439d-8115-601632D005A0 folder, right-click on it, and choose Delete. Click Yes for all confirmation dialogs. If you see multiple folders with this name, delete them all.
  6. Close Windows Explorer and go back to the Run dialog by pressing Windows + R.
  7. Type in %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\, then press Enter.
  8. Find the dat file and right-click on it. Select Rename and change the file name to tokens.bak.
  9. Hit Enter.

This should fix any permission or file issues with Software Protection. The next step is to make sure that the service starts automatically during startup. To do this:

  1. Open the Run dialog using the instructions above.
  2. Type in services.msc, then press Enter.
  3. Double-click Software Protection.
  4. Under Startup Type, choose Automatic.
  5. Click Start, then OK.

Restart your computer for all these changes to apply, then try to activate Windows again.

Fix #2: Repair Missing or Corrupted Files.

If the error is due to missing, damaged, or corrupted files, running the System File Checker usually resolves this problem. To run SFC, follow the instructions below:

  1. Click Start, then choose Command Prompt (Admin) from the Power Menu.
  2. Type in the following commands in the terminal:
    • WSReset.exe
    • dism /online /cleanup-image /restorehealth
    • dism /online /cleanup-image /StartComponentCleanup
    • sfc /scannow
    • powershell
    • Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like “*SystemApps*”} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
  3. Press Enter to execute the command.

Wait for scan to complete and follow the on-screen instructions to resolve any issues detected by SFC. Try activating your Windows to check if the issue has been fixed.

If not, you can run a deeper scan using Deployment Image Servicing and Management (DISM). To do this:

  1. Launch Command Prompt as an admin using the instructions above.
  2. Type in the commands in the Command Prompt windows, then press Enter after each line to execute the command:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • Dism /Online /Cleanup-Image /RestoreHealth

Let DISM do its work, then reboot your computer after the process is completed. Next, check if you are now able to activate your Windows without any errors.

Fix #3: Check for Permission Issues.

Another reason why 0xC0000022 error occurs is insufficient administrative rights. To acquire admin rights to your computer, follow the instructions below:

  1. Open File Explorer and click This PC.
  2. Right-click on C: or the drive where your operating system is installed.
  3. Choose Properties.
  4. Click on the Security tab, then click Advanced.
  5. Click Change, then type in your username in the Enter the Object Name field.
  6. Click OK to save your settings.
  7. Restart your computer, then check if the activation error has been resolved.

Summary

Windows Activation is a crucial service that checks the authenticity of your Windows operating system. Failure during activation could mean that something is preventing the service from performing certain tasks, such as Software Protection issues, corrupt system files, or insufficient administrative rights. The solutions provided above should be enough to cover the most common causes of this error. Work your way down the list to find which solution works for you. However, please remember that any changes to system files and settings should be done at your own risk. This article is intended for informational purposes and it’s recommended to consult with a professional before making any changes to your system.

Disclaimer: The information provided in this article is for educational and informational purposes only. While the steps outlined here are provided with the intent of resolving specific issues related to Windows Activation, users should exercise caution when making changes to system files and settings. Such modifications can lead to unexpected consequences or system instability. If you are unsure about any of the procedures described, it is strongly recommended to consult with a professional technician or IT expert. Always ensure that you have a complete backup of your system and important files before making any changes to your computer.

Give us some love and rate our post!
[Total: 0 Average: 0]
Subscribe
Notify of
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Jessy
2 years ago

In my case, a simple “Sfc /scannow” command, typed in the command prompt and a reboot after it solved the problem.