This guide explains how to fix CcmSetup failed with error code 0x87d00227. This error is usually encountered during the client installation and can be addressed using multiple solutions.

The client push installation is the recommended method for deploying the SCCM client to computers where it is not already installed. However, on some Windows endpoints the client agent may fail to install, resulting in error 0x87d00227.

In the below screenshot, we see that SCCM client installation has failed on the computer, with error code 0x87d00227. The ccmsetup.log says that client deployment cannot be fulfilled since use of metered network is not allowed. The ccmsetup.log also logs the following error messages:

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC
Failed to get assigned site from AD. Error 0x80004005	ccmsetup
GetADInstallParams failed with 0x80004005
Couldn't find an MP source through AD.
No valid source or MP locations	ccmsetup
Failed to get client version for sending state messages. Error 0x8004100e
Failed to send status 329. Error (87D00215)	ccmsetup
Failed to connect to policy namespace. Error 0x8004100e	ccmsetup
Failed to revoke client upgrade local policy. Error 0x8004100e	ccmsetup
Failed to get client version for sending state messages. Error 0x8004100e
Failed to send status 322. Error (87D00215)
Failed to connect to policy namespace. Error 0x8004100e
Failed to revoke client upgrade local policy. Error 0x8004100e
CcmSetup failed with error code 0x80004005
Client deployment cannot be fulfilled since use of metered network is not allowed.
CcmSetup failed with error code 0x87d00227
CcmSetup failed with error code 0x87d00227
CcmSetup failed with error code 0x87d00227

CcmSetup failed with error code 0x87d00227

The Ccmsetup error code 0x87d00227 translates to “Functionality Disabled”. This error occurs when you install SCCM client on a device that is connected to a metered network. To resolve this, you must install ccmsetup with /AllowMetered parameter or simply allow client communication on metered internet connections.

You can use ConfigMgr error lookup tools to understand what the error means. According to these tools, the error code -2016411097 (0x87d00227) translates to Functionality disabled.

Translate error code 0x87d00227
Translate error code 0x87d00227

Solution 1: Install ccmsetup with /AllowMetered parameter

If the client installation is failing on multiple Windows devices with error 0x87d00227, you can add the /AllowMetered parameter and install the client. Running the command ccmsetup.exe /? Shows available command-line parameters for ccmsetup.exe.

The /AllowMetered parameter directs the client to override default restrictions on communication over metered connections, allowing installation even when connected to a metered network.

1. On the SCCM server, navigate to the \\SCCMServerName\SMS_SiteCode\Client. Copy the ccmsetup.exe file and the Client folder to a temporary location on the target computer.

2. Open a command prompt with administrator privileges on the target computer. Navigate to the directory where you copied the ccmsetup.exe file.

3. Run the command ccmsetup.exe /install /AllowMetered. This should install the client and resolve the ccmsetup error 0x87d00227.

Resolve CCMSetup failed with error code 0x87d00227
Resolve CCMSetup failed with error code 0x87d00227

Solution 2: Allow Client communication on metered internet connections

In the client settings, when you allow client communication on a metered network for ccmsetup, it downloads the content, registers with the site, and downloads the initial policy. To enable this:

  1. Open the Configuration Manager console.
  2. Go to Administration\Overview\Client Settings.
  3. Select the desired client settings and choose Properties.
  4. Select Metered Internet Connections and select Allow.
Allow Client communication on metered internet connections
Allow Client communication on metered internet connections

After the above changes are done, allow the client policy settings to apply to the client devices. To speed up the client policy retrieval, you can manually trigger machine policy retrieval and evaluation cycle on the client computer.

Try installing the agent on the Windows computer, and you should notice that the client installs successfully without encountering error 0x87d00227.

Solution 3: Configure UserCost Registry Value

If you have not enabled metering on any of the Network adapters, you can try this method. This solution was first posted in Prajwal Desai community forums that suggested configuring the UserCost value for network adapter.

1. On the client computer encountering error 0x87d00227, run the regedit.exe command to launch the registry editor.

2. Navigate to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DusmSvc\Profiles.

3. If any of the adapters are set to metered, they will appear under the profiles key and have a property named “UserCost” with a non-0 value. Set the value to 0.

4. Restart the DusmSvc service (Data Usage) and try to deploy the SCCM client again. That should resolve the error code 0x87d00227 on the device.

Further Reading

Have a look at some related guides on ccmsetup error codes and their solutions.

  1. Fix ConfigMgr Client Install Error 0000052e
  2. SCCM Client Agent Install Error 0x80200010
  3. Resolve SCCM Client Installation Error 00000005
  4. Client Agent Installation Error code 80041002
  5. Fix SCCM Client Push Error 0x800706ba

Still Need Help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Prajwal Desai

Prajwal Desai is a technology expert and 10 time Dual Microsoft MVP (Most Valuable Professional) with a strong focus on Microsoft Intune, SCCM, Windows 365, Enterprise Mobility, and Windows. He is a renowned author, speaker, & community leader, known for sharing his expertise & knowledge through his blog, YouTube, conferences, webinars etc.