Reinstall SCCM Client on Windows 11 Workstation

Douglass, Robert 25 Reputation points
2025-06-09T13:55:43.3633333+00:00

SCCM did not install properly on a newly imaged system and need to reinstall SCCM on a Windows 11 workstation.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,895 questions
0 comments No comments
{count} votes

Accepted answer
  1. Finn Dang 380 Reputation points
    2025-06-10T19:55:53.5266667+00:00

    Hello Robert,

    Below is a step-by-step guide you can follow whenever a newly imaged Windows 11 PC needs a fresh ConfigMgr/SCCM client install.

    I) Uninstall the existing client

    1. Open an elevated PowerShell or CMD window: Win + X → Terminal (Admin)
    2. Run the built-in uninstall command: ccmsetup /uninstall
    3. Wait for the process to finish: Watch C:\Windows\ccmsetup\Logs\ccmsetup.log until you see the entry CcmSetup is exiting with return code 0.
    Action Purpose
    Delete C:\Windows\CCM and C:\Windows\ccmsetup Clears any corrupt files
    Delete C:\Windows\CCM and C:\Windows\ccmsetup Clears any corrupt files
    Delete C:\Windows\CCMCache Frees disk space & resets cache
    Open Services.msc and stop SMS Agent Host (if still running) Ensures no handles are open

    (Rare) WMI repair:

    winmgmt /verifyrepository

    If “WMI repository is inconsistent,” run winmgmt /salvagerepository | Fixes WMI errors that prevent re-enrollment |

    Reboot once the cleanup is complete.

    III) Reinstall the client

    A) Manual install (works offline)

    \\<SiteServer>\SMS_<SiteCode>\Client\ccmsetup.exe ^
      /mp:<MP_FQDN> ^
      SMSSITECODE=<SiteCode> ^
      SMSMP=<MP_FQDN> ^
      /source:\\<SiteServer>\SMS_<SiteCode>\Client ^
      /skipprereq:scclient_x64.msi	
    
    • Replace <SiteCode> (e.g., ABC) and <MP_FQDN> with your values.
    • Add /logon if you want it to pick up AD site assignment automatically.
    • If the device is on the VPN, use the VPN-resolvable FQDN.

    B) Client Push from the console

    • Assets and Compliance → Devices → Right-click PC → Install Client
    • Tick “Uninstall existing ConfigMgr client” and “Restart if required”.

    IV) Verify a healthy install

    1. Logs
      • C:\Windows\ccmsetup\Logs\ccmsetup.log -> look for Return code 0.
      • C:\Windows\CCM\Logs\ClientIDManagerStartup.log -> look for “Successfully registered.”
    2. Control Panel -> Configuration Manager should show:
      • Correct Site Code under Site Tab.
      • Client Version matches your current release (e.g., 5.00.9128.1000).
    3. Console status -> Device should flip to “Active” and “Client = Yes” within a few minutes.

    References:

    Microsoft Learn. Manage clients.

    Microsoft Learn. Client installation parameters and properties.

    Microsoft Learn. Deploy clients to Windows computers.

    Microsoft Q&A. How to troubleshoot SCCM client installation issue.

    I hope this helps.

    Best regards,

    Finn Dang


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.