CMD
Low risk
Generate a report of the applied Group Policies
Creates an HTML report detailing the GPOs applied to the user and computer.
gpresult /h "%USERPROFILE%\Desktop\rapport-gpo.html" /f
start "" "%USERPROFILE%\Desktop\rapport-gpo.html"
When should you use it?
Use this when a domain setting is not applied or when you need to identify the winning GPO.
What the script does
- gpresult collects the Resultant Set of Policy.
- The HTML report is saved to the desktop and then opened.
Precautions
- The report may contain internal domain, user, and server names.
Rollback
Delete rapport-gpo.html after the diagnostic is complete.