PStools


How to Force Remote Group Policy Processing
Tools used: PSTOOLS/PSEXEC

“This method is very easy to implement and requires almost no scripting abilities. Why invent something that has already been invented, right?
PsExec is developed by Mark Russinovich, the former owner of Sysinternals which was acquired by Microsoft in July 2006. It is currently available in version 1.95 and can be downloaded from Microsoft Technet here ” (Jacob Heidelberg)

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx.

note: download the pstools set of files into your %windir% after you decompress the zip file.

 

I used the psexec tool:

Start/Run     psexec \\JeffNew5.ACRS.local gpupdate
This command forces a group policy update on Jeffnew5 workstation.
Here are some other examples:
Examples

The following command launches an interactive command prompt on \\marklap:

psexec \\marklap cmd

This command executes IpConfig on the remote system with the /all switch, and displays the resulting output locally:

psexec \\marklap ipconfig /all

This command copies the program test.exe to the remote system and executes it interactively:

psexec \\marklap -c test.exe

Specify the full path to a program that is already installed on a remote system if its not on the system’s path:

psexec \\marklap c:\bin\test.exe

Run Regedit interactively in the System account to view the contents of the SAM and SECURITY keys::

psexec -i -d -s c:\windows\regedit.exe

To run Internet Explorer as with limited-user privileges use this command:

psexec -l -d “c:\program files\internet explorer\iexplore.exe”

=======

This site also has some good tips on group policy changes for remote computers:

http://www.windowsecurity.com/articles/How-Force-Remote-Group-Policy-Processing.html

Another tool to force Remote Group Policy Processing is called FLEX and it is used for entire OU instead of one computer: Here is the link for it:

http://www.heidelbergit.dk/Code/FLEXCOMMAND.HTA

======= jp 5-18-09

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: