home Tech Using gpresult to checkout group policies settings

Using gpresult to checkout group policies settings

In a domain based environment,Windows clients get their settings from a domain controller.These settings or policies are called group policy objects or GPOs.

Whenever a new or modified GPO is applied to a client yet the client can’t seem to reflect those changes,gpupdate/force from command prompt is commonly used to refresh all GPOs on the client box.

What if we want to see what GPOs are getting actually applied in real time to client which will help us actually troubleshoot GPO problems?
There is a very very useful command for this – gpresult run on the client box which lists everything.

Suppose I want to analyze the output of gpresult to see what kind of GPOs are being served on my XP box.So I pipe the output to a txt file which serves as a log for future references too.

Here is how :
1.Open command prompt (Start>run>cmd)
2.Type gpresult>>”c:gpo_log.txt”

This will make a new text log which has all the information produced by gpresult.

Logging is useful for analyzing as well as troubleshooting various stuff that we come across in a Windows environment and gpresult logged is no different.

Hope it has been an informative post.

Peace.

Leave a Reply

Your email address will not be published. Required fields are marked *