Recently encountered an issue where Windows server 2012R2 could not be activated, the problem is that every time you run an activation or activation command, an error occurs: 0xc000022 on a computer that is running a non-core version of Microsoft Windows.
Solution:
1, open C:\WINDOWS\SYSTEM32\SPP, find the Store folder, and then see if there is a folder named 2.0 under the Store folder, if present, please go directly to the 2nd step, if not present, press the WIN+X key, Open a command prompt (administrator), open and enter the Sfc/scannow command to perform a system file check.
2, right click on the Store folder, open the Properties dialog box, switch to the Security tab, click "Edit", as shown in:
Click "Edit", pop up the following new Store dialog box, click on the "Add" button, pop up the "Users and Groups" window, click "Advanced", first click "Find Now", then find the "LOCAL SERVICE" user and select, click OK, then go all the way to determine, This adds the "LOCAL service" user right to the store folder, and the same method adds the "NETWORK service" user. :
3. Press Win+r to open the run, enter Services.msc to open the service, then locate the "Software Protection" service, double-click Open, set its startup type to "Start", and then start the service.
After the above three steps, the basic can completely solve the activation of the 0xc000022 error occurred.
Troubleshoot Windows Server 2012R2 operating system activation error 0xc000022