Question

Difficulty: EasyMicrosoft Command-Line Tools

A network technician makes a critical change to a domain Group Policy Object (GPO) to update user password parameters. The technician needs to apply these new policy settings immediately to a user's Windows workstation without restarting the computer or requiring the user to log off. Which command-line tool and switch should the technician run from an elevated command prompt?

  1. gpupdate /forceAnswer
  2. B
    gpresult /r
  3. C
    systemctl restart gpo
  4. D
    secpol.msc /refresh

Answer

The command gpupdate /force should be used to immediately re-apply all Group Policy settings.
Executing gpupdate /force forces the Windows operating system to immediately re-apply all new and existing Group Policy settings from Active Directory without requiring a reboot or logoff.

Step-by-Step Solution

1
Identify the administrative requirement
The goal is to force an immediate refresh of Group Policy settings without rebooting or logging out.
Standard Group Policy updates happen periodically in the background, but immediate application requires manual enforcement.
2
Select the appropriate Windows command-line utility
Choose gpupdate with the /force switch.
The /force flag instructs the utility to re-apply all policies regardless of whether changes have been detected.

Key Concept

Group Policy Command-Line Refresh
Rate this question