Windows Server Activation Error 0xC004FC07 & 0xC004F069

You are receiving error 0xC004FC07 when trying to apply a license to your Windows Server 2022 / 2025? Maybe your server is randomly shutting down after a few hours? This could be related to an invalid license being installed or someone started with an evaluation license, which is now expired. Let’s fix that.

Background on Error 0xC004FC07

An expired evaluation license can prevent Windows from activating properly, leading to errors like 0xC004FC07. If you’re using a Windows Server Evaluation version, it typically comes with a 90-day trial period, after which the system will display a license expired message and may shut down periodically.

Here are some steps you can take:

  • Check the activation status: Go to Settings > Update & Security > Activation to see if Windows is still in evaluation mode.
  • Rearm the evaluation period: You can try running slmgr -rearm in Command Prompt (Admin), but this may not work if the license or evaluation version has fully expired.
  • Purchase a valid license: If you want to continue using Windows Server, you may need to buy a full version and perform a fresh installation.
  • Verify system time settings: Sometimes, incorrect system time settings can interfere with activation.

Getting 0xC004FC07 or 0xC004F069 when adding a license

When looking into your System Settings you might see the following screen showing the error.

System Settings Error 0xC004FC07
System Settings Error 0xC004FC07

You could also get the error when running the following command to install the license. The below code is the example license for AVMA, which can be found on the Microsoft page here).

slmgr /ipk YDFWN-MJ9JR-3DYRK-FXXRW-78VHK

As you can see this error is related to the SKU not found (evaluation version has expired).

Error 0xC004FD069
Error 0xC004FD069

What is slui.exe?

The slui.exe command in Windows is a system process known as the Windows Activation Client. It plays a crucial role in activating Windows licenses and verifying their authenticity. This command allows users to manage activation tasks, such as entering a product key or activating Windows via the internet or phone. It is typically used when changing or updating the product key for Windows operating systems.

Fixing the error 0xC004FC07 or 0xC004F069

The recommendations on learn.microsoft.com and the community support are often misleading. In my scenarioes encountered in the homelab, I needed to update the OS version and manually apply the license key.

Luckily this can be done in one step and without downloading and creating OS installation files, like I showed here using Rufus.

My fix in those scenarios is to run a verify on the Operating System and apply the License key at the same time. In case you do this in Azure, please make sure you add the /EULA part. This is also a trick, if you need to do in place upgrades in Azure.

DISM /online /Set-Edition:ServerStandard /ProductKey:YDFWN-MJ9JR-3DYRK-FXXRW-78VHK /AcceptEula
Running DISM with Product key
Running DISM with Product key

Be patient. The DISM process can take a while and be stuck at 9 or 10% for a while. After the process has been completed, the system will ask to reboot. Since I am using AVMA for simplifying offline device activation, it will already be activated.

Windows Server is activated
Windows Server is activated

Make sure you use the correct Windows Server Edition and Product Key for your use key. The AVMA Keys for each OS and version can be found here.

The /Set-Edition parameter in the DISM (Deployment Image Servicing and Management) command allows you to upgrade a Windows Server image to a higher edition within the same edition family. The available editions depend on the specific Windows Server version you’re working with. For example, common editions include:

  • Standard
  • Datacenter
  • Essentials

To see the exact editions available for your image, you can use the /Get-TargetEditions parameter with DISM. Here’s an example command:

DISM.exe /Online /Get-TargetEditions

This will list all the editions you can upgrade to for the currently running Windows Server.

Conclusion

This command is a useful trick for performing in-place upgrades with Windows Server 2022 / 2025. The DISM process may appear to stall at 9 or 10% but be patient. Once the process is done, a system reboot will be required. I use AVMA for offline device activation, which ensures that the system is already activated. In conclusion, this command provides a convenient solution compared to the traditional update process, making it worth trying when encountering the mentioned errors.

Avatar for Andreas Hartig
Andreas Hartig - MVP - Cloud and Datacenter Management, Microsoft Azure

Related Posts

the IT Operations dragon looking at multiple screens with Group Policies on them and the GPO Policy Analyzer checking them all

How to use the GPO Policy Analyzer

Managing Group Policy Objects across a complex Active Directory environment has always been a challenge. Administrators often inherit hundreds of GPOs with overlapping configurations, stale settings, and hidden conflicts. Finding…

Read more
WAU Happy Dragons crazy about 110 percent security

Schedule Winget Auto Updates for operational usage

Deploying Winget Auto Updates (WAU) gives you a functional update baseline, for full functionality we need to configure more to get ready for production. If servers query the Winget repository…

Read more
WAU Happy Dragons about improved security

Centralized Software Patch Management: Deploying Winget Auto Updates (WAU) via Active Directory GPO

Deploying Winget Auto Updates for Software Patch Management for managing third-party software updates across an IT infrastructure typically requires expensive enterprise solutions. This article provides a technical guide on how…

Read more
Stay Hydrated Drink enoughv2

GPO Central Store – Help! My PolicyDefinitions Folder is missing

Your PolicyDefinitions Folder is missing? The GPO Central Store is key for Managing Group Policy Objects (GPOs) across multiple domain controllers can introduce configuration drift if administrative templates are not…

Read more
A single control plane for LAPS using AzureArc

Legacy LAPS vs. Windows LAPS vs. LAPS for Azure Arc

LAPS for Azure Arc is the new shining star, after for years, IT teams relied on the classic, legacy Microsoft LAPS tool. Microsoft then integrated Windows LAPS directly into the…

Read more
Dragons looking at AccountLockout Tool

AD Account Lockout (Free Tool)

The AD Account Lockout tool is free and very valuable in troubleshooting account lockouts in Active Directory. This is a task as old as the directory service itself. Even in…

Read more