Flush Group Policy Cache

5th September 2024

Open an elevated command prompt with administrative rights

Run the following two commands:

rmdir /S /Q %windir%\System32\GroupPolicy

rmdir /S /Q %windir%\System32\GroupPolicyUsers

Reboot the computer or run from a command prompt: gpupdate /force

Update:
after doing this the server refused to reboot nicely, had to force a reboot. Didn’t fix our lost Profiles problem.