Error 0xC004F074 indicates the Software Licensing Service failed to contact Key Management Service (KMS). Fix this activation issue by running a script called Slmgr.vbs, use Slui.exe tool. Alternatively use the phone activation method if none of these methods work.
Download the Diagnostic
There are certain situations when missing entries in your registry and registry corruption causes this problem. Try running a registry scan to identify if there are any such issues.
- Click the button below to download and install the Diagnostic
- Perform a Registry scan and fix any problems detected.
- Restart your computer.

Estimated Download Time: 10 Seconds
Run Slmgr.vbs Script
You may have to run the specified Visual Basic script:
For Windows 10/ 8.1/ 8:
- Press Windows Key + X, select Command Prompt (Admin).
- Type following command:
- slmgr.vbs –ipk <Your 25 characters Product Key>
Remember, you need to enter dashes (-) as well. Example:
- slmgr.vbs –ipk ABCDE-ABCDE- ABCDE-ABCDE- ABCDE
- Press ENTER.
- Type following command and press ENTER:
- slmgr.vbs –ato
- Exit out of the screen.
For Windows 7/ Vista:
- Click Start, type “CMD” in Search Box.
- Right click the keyword, select Run as administrator.
- Refer Steps # 2-5 under Windows 10/ 8.1/ 8 user’s section.
Perform Activation through Slui.exe/ Phone
Try activating your genuine copy of Microsoft Office through phone activation.
For Windows 10/ 8.1/ 8:
- Press Windows Key + R keys simultaneously.
- Type following command:
- Slui 3
- In the new dialog, enter your 25 characters Product Key.
- Click Activate button.
Note: For phone activation, you may have to type “Slui 4” (without quotes)in Step # 2.
For Windows 7/ Vista:
- Click Start, point to All Programs | Accessories.
- Right-click Command Prompt; select Run as administrator.
- Refer Steps # 2-4 under Windows 10/ 8.1/ 8 user’s section.
Set Correct Time Zone Settings
Didn’t you set up your PC’s timezone correctly? Set up it appropriately.
For Windows 10:
1. Type “Change the Time Zone” in the Search Box on Taskbar and open it.
2. Select a time zone from “Time Zone” drop down box in the new window.
3. Exit out of the screen.
For Windows 8.1/ 8:
1. Right-click Date-Time area at the far right of your Taskbar.
2. Select Adjust Date/ Time.
3. It opens up a new dialog box.
4. Click Date and Time tab.
5. Click Change Time Zone button.
6. Set appropriate time zone, click OK | OK.
For Windows 7/ Vista:
1. Click Date-Time area at the far right corner of your Taskbar.
2. In the tooltip showing clocks, calendar; click “Change date and time settings” link.
3. Refer Steps # 3-6 under Windows 8.1/ 8 user’s section.
Change Firewall Outbound Rules
Ensure Windows Firewall or any other Firewall program you use doesn’t block an outbound rules connection.
For Windows 10/ 8.1/ 8:
- Press Windows Key + X, select Search.
- Type “Windows Firewall” in Search Box.
- Choose “Everywhere” (Windows 8.1); or click Settings (Windows 8).
- Open the keyword from Search Results.
- It opens up Windows Firewall.
- Click “Advanced settings” link in the left-hand side panel.
- Click “Outbound Rules” link in the left panel.
- Click Action menu.
- Select New Rule.
- It opens up a new wizard on your screen.
- In Rule Type page, select “Port” option, click Next.
- Enter “1688” (without quotes) in “Specific remote ports” text box in the subsequent page, i.e. Protocol and Ports page. Click Next.
- Select “Allow the connection” option in Action page. Click Next.
- Check-up all the boxes named Domain, Private and Public in Profile page. Click Next.
- You’ve to specify a name and description. Remember, the latter is entirely optional. After specifying a mandatory name, click Finish button.
For Windows 7/ Vista:
- Click Start, point to All Programs | Administrative Tools.
- Open Windows Firewall with Advanced Security.
- Refer Steps # 7-15 under Windows 10/ 8.1/ 8 user’s section.