Gpresult for entire domain machines

$computers = Get-ADComputer -SearchBase ‘OU=USA,DC=win,DC=com’ -Filter ‘*’ | foreach { $_.Name | Add-Content -Path c:\computers.txt}
$citrixTESTservers = Get-Content -Path c:\computers.txt
foreach ($server in $citrixTESTservers)
if (test-connection -computername $server -count -2 -quit)
Get-GPResultantSetOfPolicy -Computer $server -ReportType html -Path c:\$server.html

} else
Write-Warning “$Server seems dead not pinging”


Get-GPResultantSetOfPolicy -User “win\test” -Computer pc1 -ReportType html -Path c:\oc1new.html

Black Desktop wall paper after implementing group policy

  1. First you copy the wallpaper files to destination machines via GPP.














2)  administrative template you have to mention the local user profile wallpaper path.















Issue : 

check client machine reg settings:

3) This problem occurs if the Wallpaper registry value in HKEY_CURRENT_USER\Control Panel\Desktop is either missing or empty.

Here are steps to make a registry modification.

1. Open the Group Policy Management Console . Right-click the Group Policy object (GPO) that should contain the new preference item, and then click Edit .

2. In the console tree under Computer Configuration or User Configuration , expand the Preferences folder, and then expand 3. the Windows Settings folder.

4. Right-click the Registry node, point to New , and select Registry Item .

5. In the New Registry Item dialog box, select an Action for Group Policy to perform. Here is a screenshot.



















6. In the Value data box, type a value, such as c:\test\a.jpg, and then click OK.

Here is a link about configure a Registry Item.

Configure a Registry Item:


Fixing the “A fatal error occurred while trying to sysprep the machine” error

While running on System Preparation Tool (Sysprep) the following error message thrown.

Error :

System Preparation Tool 3.14


A fatal error occurred while trying to sysprep the machine.





1) Inside the Sysprep Unattend.xml file located at c:\windows\system32\sysprep, delete skiprearm=1 from the section. In order to edit the Unattend.xml file, you will need to slave the HDD onto a working machine in order to have access to a text editor for editing the file.

2) Under HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\, set GeneralizationState to 7

3) From an administrative command prompt, type the following

msdtc -uninstall

msdtc -install

4) Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\, change SkipRearm to 1

5) Rerun the sysprep

Refer :

D2 and D4 restore

Large initial Non-Paged Pool Memory is reserved after operating system boot-up

Network Monitor Filter Examples

performance counter

typeperf “\Memory\Available bytes” “\processor(_total)\% processor time”

typeperf “\Process(*)\pool nonpaged Bytes” “\processor(_total)\% processor time” -o c:\diskctr.csv

m/d/yy h:mm:ss AM/PM;@

Windows Performance Counters Explained

%d bloggers like this: