Windows server and Windows XP – How to troubleshoot Group Policy from the command line using GPRESULT

Posted by aidas | Posted in Group policy, Windows 2003, Windows 2008, Windows XP | Posted on 26-07-2010

0

If you are trying to determine why Your new GPO policy is not being applied as expected, one of first things you should do is examine the Resultant Set of Policy (RSoP) for the user and computer experiencing problems with policy settings on Your Windows Server 2008.

Using the Gpresult command-line utility, you can view RSoP.

Gpresult command provides details on the following:

  • special settings applied for folder redirection, software installation, disk quota, IPSec, and scripts;
  • last time Group Policy was applied;
  • domain controller from which policy was applied and the security group memberships for the computer and user accounts;
  • complete list of GPO that were applied and complete list of GPO that were not applied because of filters.

Gpresult has the following syntax:
gpresult /s [ComputerName] /user [Domain\UserName]

[ComputerName] – is the name of the computer that you want to log policy results for

[Domain\UserName] – domain user that you want to log policy results for

Lets for example view the RSoP for server named “TestServer1” and the user “testuser1” in the “test.lan” domain. In this case open command line on Your Windows server and type:
gpresult /s TestServer1 /user test.lan\testuser1

Also You can view more detailed output by using one of the two verbose options.

/v parameter turns on verbose output and results are displayed only for policy settings in effect

/z parameter turns on verbose output with settings for policy settings in effect and all other GPOs that have the policy set

In additionYou can create an HTML report using the /h parameter or an XML report using the /x parameter.

Have fun !

Windows server 2003 – How to use group policy to disable USB, CD-ROM and FDD

Posted by Thomas | Posted in Group policy, Windows 2003 | Posted on 29-06-2009

0

By default you cant do this in your Windows server 2003 based domain.

I found Microsoft article that will help you build custom group policy ADM templates and restrict access to USB, CD-ROM, Floppy Disk and LS-120 drivers.

Read it here

Enjoy

Windows server 2003 and Windows XP – How to modify group policy security settings update time

Posted by aidas | Posted in Group policy, Registry, Windows 2003, Windows XP | Posted on 14-05-2009

0

As you know, by default, group policy is being refreshed every 90 min + random time up to 30 min on domain members. And this refresh will occur only if group policy settings were modified.  In addition, every 960 min, security settings are being refreshed regardless of whether any changes to group policy were made. This post will show you how to modify time value for security settings refresh on you Windows server 2003 or Windows XP machine. To modify open registry editor and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}

Double click on “MaxNoGPOListChangesInterval”, change base to Decimal and enter your new Data value in minutes.

Windows server 2008 – How to view group policy information via command line

Posted by aidas | Posted in Command line, Group policy, Windows 2008 | Posted on 06-05-2009

0

This post will show you how to view Resultant Set of Policy information with gpresult command. To view policy information for user named “Testuser” open command line on your Windows server 2008 and type:

gpresult /user Testuser

If you want to see only computer related policy settings type:

gpresult /user Testuser /scope computer

If you want to list policy information on remote server named “Testserver” type:

gpresult /s Testserver /user Testuser /scope computer

More gpresult usage examples can be found here .

Windows server 2003 and Windows 2000/XP – How to inventory group policy

Posted by aidas | Posted in Group policy, Tools, Windows 2000, Windows 2003, Windows XP | Posted on 03-05-2009

0

This how to post presents you with GPInventory.exe tool used for group policy inventory and other tasks. It can be downloaded from this location .  This tool retrieves Group Policy informations and is effective for pulling out detailed system information, such as applications that have been installed, processor name and speed, or the list of installed hotfixes.

You will need Windows server 2003 or Windows 2000/XP to run this tool.