2023-03-17 01:09:16 +07:00
---
pagetitle: Fix WPA Registry
---
# Fix WPA Registry
------------------------------------------------------------------------
2023-10-24 20:46:54 +07:00
- In some cases, the system may have corrupt WPA registry keys at `HKEY_LOCAL_MACHINE\SYSTEM\WPA` which can cause `sppsvc` to not work and activation to fail.
2023-03-17 01:09:16 +07:00
2023-10-25 23:47:27 +07:00
- The activation scripts in MAS can detect this issue and will inform you accordingly when it is necesarry to run this option. We suggest running this only when the script asks you to do so. If you are not sure whether you need to do it or not, you can get help from [here ](troubleshoot.html ).
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- This registry key is protected by the Kernel and cannot be deleted normally. That is why we need to follow some more steps below to clear it.
2023-03-17 01:09:16 +07:00
------------------------------------------------------------------------
## Steps To Fix WPA Registry
2023-07-30 04:13:50 +07:00
- Download < https: // github . com / asdcorp / rearm / archive / refs / heads / principalis . zip >
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- Extract this zip file.
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- Copy `rearm.cmd` file to the root of the C drive, like `C:\rearm.cmd` .
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- Open the command prompt as administrator and enter the below command\
2023-09-25 20:45:25 +07:00
`Shutdown /f /r /o /t 0`
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- After the system restarts, select Troubleshoot \> Advanced Options \> Command Prompt.
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- Enter the following command\
2023-03-17 01:09:16 +07:00
`C:\rearm.cmd`
2023-10-24 20:46:54 +07:00
- If it says the command is not recognized, enter\
2023-03-17 01:09:16 +07:00
`bcdedit | find "osdevice"`
2023-10-24 20:46:54 +07:00
- It will show you the OS drive letter. Use that drive letter in the command, for example -\
2023-03-17 01:09:16 +07:00
`E:\rearm.cmd`
2023-10-24 20:46:54 +07:00
- Wait for it to finish. When it's finished, you will be able to type in the command prompt, If not then wait.
2023-03-17 01:09:16 +07:00
2023-10-24 20:46:54 +07:00
- Once done, exit and then normally boot into Windows.
2023-03-17 01:09:16 +07:00
- Let [us know ](contactus.html ) if it doesn't help.
------------------------------------------------------------------------
2024-02-13 01:56:18 +07:00
2024-02-13 02:13:16 +07:00
## Video_Tutorial
2024-02-13 01:56:18 +07:00
![](files\Fix_WPA_Registry.mp4)
------------------------------------------------------------------------