The 0x80080005 activation error points to a licensing service or permission failure, so the fix is to restore the service chain and retry activation.
This message shows up when Windows tries to validate your license and something in the activation pipeline refuses to cooperate. The code looks scary, but the cause is usually plain: Windows can’t start a licensing component, can’t write licensing data, or can’t reach the activation endpoint it needs.
You can treat this like troubleshooting a stuck checkout line. You don’t replace the whole store. You check the basics, reset the pieces that handle the transaction, and rerun the payment step. That’s what this article does, with steps that fit Windows 10 and Windows 11.
One note before you begin. If this PC is managed by a workplace or school, activation may depend on their licensing setup. In that case the error can keep returning until the device can reach the organization’s activation method.
An Error Occurred During Activation: 0x80080005 In Windows 10 And 11
Windows activation uses background services plus licensing files stored on the machine. A Microsoft Q&A post about the Software Protection service explains that it enables the download, installation, and enforcement of digital licenses, and warns against disabling it: Software Protection service not running.
The same 0x80080005 number also appears in other Windows areas, including COM failures and Windows Update installs. In update scenarios, Microsoft Q&A posts often tie it to access and permission issues during installation, which hints at why activation can trip on the same code when the system can’t read or write what it needs.
| What You See | Common Cause | First Move |
|---|---|---|
| Activation fails right after reinstall | Edition doesn’t match the license | Check edition, then run troubleshooter |
| Activation fails after “tweaks” | Licensing service disabled or blocked | Start Software Protection service |
| Work PC uses volume activation | KMS host can’t be reached | Connect to org network |
| Updates fail too | Corrupted files or stuck components | Repair files, reset update cache |
Fast Checks That Catch The Usual Causes
Start here. These checks are quick, low-risk, and they fix a lot of cases without touching services or command lines.
- Confirm the Windows edition — Open Settings, then System, then Activation. Make sure Home, Pro, or Enterprise matches the license you own.
- Check date, time, and time zone — Turn on automatic time and automatic time zone, then restart the PC.
- Test a clean connection — Disconnect VPNs, pause proxy tools, and try a different network if you can.
- Restart before retrying — A pending reboot can keep licensing files locked. Restart, sign in, wait a minute, then try again.
- Verify storage space — Low free space can break updates and servicing, which can cascade into activation problems.
If you’re on a metered connection, switch to an unmetered network for the activation attempt, then switch back after it completes successfully.
If you changed hardware, sign in with the Microsoft account you used on this device before. Many digital licenses are tied to device hardware, and account linking can matter during reactivation after a motherboard swap.
Check The License Channel In One Minute
Volume licenses behave differently from retail and OEM licenses. If your device was set up by an organization, activation may depend on KMS or MAK rules. Microsoft’s activation error code reference is written for those volume scenarios and explains what different codes mean: Troubleshoot activation error codes.
- Open an administrator terminal — Run Windows Terminal or Command Prompt as administrator.
- View license details — Run
slmgr /dlvand read the activation channel details. - Look for KMS language — If you see KMS client wording, the device likely needs an org activation host.
Fixing Windows Activation Error 0x80080005 With Service Resets
If the fast checks look fine, act as if a licensing service got stuck. The goal is to restore the service chain, then rerun activation with a clean request.
Start The Software Protection Service
On many PCs, this one service is the whole story. If it’s disabled or fails to start, Windows can’t finish licensing tasks. A Microsoft Q&A thread about the service explains that it enables the download, installation, and enforcement of digital licenses, and that the system can fall into notification mode if it’s disabled: Software Protection service not running.
- Open Services — Press Win + R, type
services.msc, then press Enter. - Find Software Protection — Double-click it to open properties.
- Set startup to Manual — If it’s Disabled, change it to Manual.
- Start the service — Select Start, wait for it to show Running.
- Reboot and retry — Restart, then retry activation from Settings.
Check Core Service Dependencies
If Software Protection won’t start, don’t guess. Check whether its dependencies are running, since a stopped dependency can make it fail instantly.
- Confirm Remote Procedure Call — Open Services and verify Remote Procedure Call (RPC) is running.
- Check Windows Event Log — If Event Log is stopped, many services fail with vague errors.
- Restart the PC once — A clean reboot can restore a service chain that got wedged after updates.
Use Event Viewer To See What Failed
If activation keeps failing with no extra detail, Event Viewer can show the service or file that threw the error. You’re not hunting for a magic log entry. You’re checking whether Software Protection is crashing, timing out, or failing a dependency call.
- Open Event Viewer — Press Win + R, type
eventvwr.msc, then press Enter. - Check System and Application — Look under Windows Logs, then scan for recent errors at the time you tried activation.
- Note the source name — If you see entries tied to Software Protection, RPC, or COM, that’s your next target.
Resubmit Activation With Slmgr
Slmgr.vbs is Microsoft’s built-in licensing script, documented with switches for checking license state, installing codes, and triggering activation. The official switch list is here: Slmgr.vbs options.
- Check status — Run
slmgr /xprto see whether Windows reports a permanent activation state. - Install your activation code — If you have a 25-character code, run
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. - Trigger activation — Run
slmgr /ato, then wait for the result dialog.
If you see “an error occurred during activation: 0x80080005” again after this, don’t loop the same step ten times. Move on to file repair and component resets.
Repair Files And Reset Components When Activation And Updates Both Misbehave
When activation errors show up alongside update failures, you can be dealing with damaged system files or a broken component store. Fixing those can restore services that licensing relies on.
- Run System File Checker — In an administrator terminal, run
sfc /scannowand let it finish. - Repair the component store — Next run
DISM /Online /Cleanup-Image /RestoreHealth, then restart. - Retry activation — Use Settings → Activation or rerun
slmgr /ato.
If Windows Update is failing with 0x80080005 as well, a reset of update components can remove stuck caches and restart services used by updates and licensing. One Microsoft Q&A answer lays out stopping services, renaming cache folders, and restarting the services: Reset steps for error 0x80080005.
- Open an administrator terminal — Run as administrator.
- Stop services — Run
net stop wuauserv,net stop bits, andnet stop cryptsvc. - Rename caches — Run
ren %Systemroot%\\SoftwareDistribution SoftwareDistribution.oldandren %Systemroot%\\System32\\catroot2 catroot2.old. - Start services — Run
net start cryptsvc,net start bits, andnet start wuauserv. - Restart and retry — After reboot, retry activation.
If you use a third-party security suite, test one activation attempt with it paused. Some suites hook system services and can block write access. Turn protection back on right after the test.
License And Edition Problems That No Reset Will Fix
Sometimes the PC is fine and the license doesn’t match the situation. These checks save time, because service resets won’t change licensing rules.
Edition Mismatch After Reinstall
Digital licenses are edition-specific. If the device has Windows Home installed but your digital license is for Pro, activation won’t complete until the installed edition matches. If you’re unsure, run the built-in activation troubleshooter from the Activation page in Settings.
- Read the installed edition — Settings → System → Activation.
- Match the edition — Install or upgrade to the edition your license covers.
- Retry activation — Run activation again after the edition change.
Organization Volume Licensing
If your license channel is KMS, the device needs to contact a KMS host. If the device can’t reach that host, activation can fail until you connect to the required network.
- Connect to the org network — Use the network method your organization requires.
- Retry activation — Run
slmgr /atoonce connected. - Swap to a personal license — If the device is yours now, use a retail code tied to you.
There are Microsoft Q&A threads where this exact code turned out to be a KMS license that could not activate without the organization’s activation path: Activation problem (error code 0x80080005).
Last Resorts That Still Stay On The Safe Side
If the error keeps coming back after services, repairs, and license checks, you’re likely dealing with a damaged licensing store or an install that needs a refresh. At this stage, two routes tend to work: an in-place repair install or a clean install with the correct edition.
Try An In-Place Repair Install
An in-place repair install reinstalls Windows system files while keeping apps and data in many cases. It can rebuild service registrations that normal repairs miss. After the repair, run activation again.
- Back up your files — Copy personal files to an external drive or cloud storage.
- Use Microsoft install media — Download Windows installation media from Microsoft, then run Setup inside Windows.
- Activate after setup — Open Settings → Activation and retry.
Use Phone Activation When Online Activation Isn’t Possible
Some activation paths allow telephone activation. You can generate an installation ID with slmgr and complete the call flow from the activation dialog.
- Generate the installation ID — Run
cscript.exe slmgr.vbs /dtiin an administrator terminal. - Follow the phone prompts — Enter the installation ID when asked.
- Enter the confirmation ID — Use the method shown in the activation dialog to finish.
If you hit “an error occurred during activation: 0x80080005” on a fresh install with the correct edition and a valid retail code, capture any secondary error codes shown by slmgr and use Microsoft’s activation error code reference to map the code to a specific licensing cause: Troubleshoot activation error codes.
Once activation succeeds, run slmgr /xpr one more time to confirm the state. Then install pending Windows updates. A current system tends to keep the licensing services healthy.
Write down the code shown in dialogs.
A final warning. Avoid third-party “activators” and sketchy codes. They can damage system files and make later repairs harder.
