Monday, April 25, 2011

Group Policy Report- Last time Group Policy was applied

I have created this post based on the question post on the TechNet forum. Here is a simple procedure you can use to generate a report with “Last time Group Policy was applied” information remotely.

The idea to run GPResult remotely using /S command and filter it using a FIND command. Here is the sample script:

echo off

FOR /f %%i in (C:\Computers.txt) do (

echo %%i >> C:\GPOutput.txt

gpresult /R /S %%i | find “Last time Group Policy was applied:”

>>C:\GPOutput.txt

)

The computers.txt files in an input file which contains all computer names. The Last time Group Policy was applied date will be in the GPOoutput.txt file

2 comments:

ADAudit Plus is a valuable security tool that will help you be compliant with all the IT regulatory acts. With this tool, you can monitor user activity such as logon, file access, etc. A configurable alert system warns you of potential threats.

http://www.manageengine.com/products/active-directory-audit/

I understand that. As you know, there are many other third party products available in the market that can perform these tasks. These are not free tools :)

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More