none
Group policy RRS feed

  • Question

  • Hi,

    I want to know that how to generate Group policy reports , that shows policies are applied or not on <domain>\client machine  from one machine.


    Tushar
    Tuesday, September 13, 2011 6:12 AM

Answers

  • Create a share folder in Network location, Grant the Authenticated user Read/Write permission on that folder.

     

    Create a logon script and put the following command.

    [gpresult /v >\\Sharefolderpath\%username%.txt]

     

     

    This will create a Separate notepad file for every user.


    ------- Subodh
    Tuesday, September 13, 2011 9:47 AM

All replies

  • run the below command one client machine.

    gpresult /v >> c:\gpsettings.txt

    or

    You can run the vbscript on client PC.

    _____VBSCRIPT___________

    Set oGpm = CreateObject("GPMGMT.GPM"
    Set oGpConst = oGpm.GetConstants() 
     
    Set oRSOP = oGpm.GetRSOP( oGpConst.RSOPModeLogging, "" , 0
    strpath = Left(Wscript.ScriptFullName, InStrRev(Wscript.ScriptFullName,"\", -1, vbTextCompare) ) 
     
    oRSOP.LoggingFlags = 0 
    oRSOP.CreateQueryResults() 
    Set oResult = oRSOP.GenerateReportToFile( oGpConst.ReportHTML,  strPath & "rsop.html"
    oRSOP.ReleaseQueryResults() 
     
    WScript.Echo "Complete"

    ____________________________

    http://gallery.technet.microsoft.com/scriptcenter/008c30d7-f2be-48db-b91f-6dc89c45a19f 


    Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    Tuesday, September 13, 2011 6:15 AM
  • Hi,

    From single PC you can use the below command to connect to the set of PC's and check

    gpresult /S HOSTNAME /v

    Tuesday, September 13, 2011 6:23 AM
  • Hi,

    View an RSoP report at the command line

    http://technet.microsoft.com/en-us/library/cc776131(WS.10).aspx

    For more information on Gpresult

    http://technet.microsoft.com/en-us/library/cc755461(WS.10).aspx

    Hope it helps!

    Regards,

    Jane

    Tuesday, September 13, 2011 6:38 AM
    Moderator
  • Hi,

    You can use Group Policy results in GPMC.msc.

    http://www.windowsecurity.com/articles/group-policy-management-console.html


    Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Edited by Tanmoy Manik Tuesday, September 13, 2011 6:53 AM
    Tuesday, September 13, 2011 6:45 AM
  • thanks all for reply but i need to generate a report for all client machines from one node not for a single machine and not to disturb users.
    Tushar
    Tuesday, September 13, 2011 8:56 AM
  • Create a share folder in Network location, Grant the Authenticated user Read/Write permission on that folder.

     

    Create a logon script and put the following command.

    [gpresult /v >\\Sharefolderpath\%username%.txt]

     

     

    This will create a Separate notepad file for every user.


    ------- Subodh
    Tuesday, September 13, 2011 9:47 AM