Repairing broken clients using group policy

My9to5 261 Reputation points

We some devices that have the client, but it is broken. We are trying to implement an automated solution that fixes broken clients via group policy because of how our environment is currently set up.

  1. We did not extend the AD schema, but if we did, could they possibly fix themselves that way?
  2. I came across an article a while ago that would export a collection to GP and then run the reinstallation from there. Do any of you know where there is a guide to this or something?


Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. Sherry Kissinger 3,966 Reputation points

    Are you open to a GPO Computer Startup Script?

    We ourselves use a variant of a GPO computer startup script. The one at this link is the one I've heard the most about; but others may comment with different ones or newer ones; I haven't been keeping track. But it's certainly a place to start.

    I wonder if someone has a powershell version that I've forgotten about.

    These gpo computer startup scripts have been part of the cm world for years; and a lot of fixes have been added to them over the years, to keep client installs clean and happy.

1 additional answer

Sort by: Most helpful
  1. AllenLiu-MSFT 41,136 Reputation points Microsoft Vendor

    Thank you for posting in Microsoft Q&A forum.
    You may try to use below PowerShell script that detects and automatically fixes broken SCCM clients, you may test it in your test environment first:

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments