Zoomed Image

Apply Group Policy, Repair System Files and Reset Network Settings

Endpoint Management Guide

Fix a Computer

Apply Group Policy, Repair System Files and Reset Network Settings

Apply Group Policy, Repair System Files and Reset Network Settings each run a standard Windows repair command on the selected computers. None of them has a dialog. Each asks in a Confirmation box first. Apply Group Policy is at Endpoints > Endpoint List > select one or more computers > Change > Security Policy. Repair System Files and Reset Network Settings are at Change > Repair.

Action What runs on the computer Confirmation Time limit
Apply Group Policy gpupdate /force Yes 5 minutes
Repair System Files DISM /Online /Cleanup-Image /RestoreHealth, then sfc /scannow, in the background Yes None: returns at once
Reset Network Settings ipconfig /flushdns, then netsh winsock reset Yes 2 minutes

Apply Group Policy

Apply Group Policy reapplies computer and user policy from the domain as it stands now. The agent answers No to any prompt from gpupdate to log off or restart. The run reports Applied when gpupdate ends.

Use it after you change a Group Policy object and want selected computers to take it now.

Undo: none. Policy is reapplied from the domain as it stands.

Repair System Files

Repair System checks and repairs Windows system files. A confirmation asks "Repair Windows system files on the selected computers?". Below the question it says "This runs in the background and can take up to an hour." Click Yes to send it.

The agent starts the repair in the background and reports Applied at once. Applied means the repair has started. It does not mean the repair has finished or found anything.

  1. DISM /Online /Cleanup-Image /RestoreHealth repairs the Windows component store. It can download files from Windows Update.
  2. If DISM succeeds, sfc /scannow checks the protected system files and replaces damaged ones from the store.

The repair writes its results to the computer's own logs: C:\Windows\Logs\DISM\dism.log and C:\Windows\Logs\CBS\CBS.log. The run does not return them.

Because the repair runs in the background, the agent is free for other actions while it runs.

Undo: none. Repaired system files are not put back.

Reset Network Settings

Reset Network clears the DNS cache and resets the Winsock catalog to its default. A confirmation asks "Reset the network settings on the selected computers?". Below the question it says "The change takes effect after a restart." Click Yes to send it.

The DNS cache is cleared at once. The Winsock reset takes effect only after the computer restarts. Restart it with Change > Power and User > Restart. See Restart and Shut Down.

A Winsock reset removes any third-party network layer, for example some VPN and web-filter clients. Those programs may need to be reinstalled after the restart.

Undo: none. A network reset has no inverse.

After you click Yes

Each action shows "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Endpoints > Endpoints Dashboard > Activity. See Following a run.

Key points

  • Apply Group Policy and Reset Network Settings run with or without the agent. Repair System Files needs the agent. Agentless, it starts but never reports a result. See Agent and Agentless.
  • A failing command fails the run for that computer and shows the program's exit code and output.
  • Run Repair System when Windows updates fail to install or system files are reported damaged. Expect it to keep the computer busy for up to an hour.