Solved

Gp result check on multiple computers

Posted on 2014-09-30
4
122 Views
Last Modified: 2014-10-13
Is there any way I can run a gp check on multiple machines at once and generate a report to make sure it is being applied correctly? This is our screensaver/idle lock out. Some people say it works others say it doesn't and there is to many to just do one at a time. All of our machines are Windows 7
0
Comment
Question by:stlhost
  • 2
4 Comments
 
LVL 24

Expert Comment

by:Lionel MM
ID: 40354413
You can use a batch file that runs gpresult. You can set it up to run through a list of users you want gpresult on and have each result output to a text file. Something like this--then you can change the userList.csv as needed as the users you want to check changes
for /F "tokens=1=," %%i in (C:\Utils\UserList.csv) do  GPRESULT /USER %%1 /V
gpresult /? will show you other options that provide more details
0
 
LVL 2

Author Comment

by:stlhost
ID: 40354473
%%i was unexpected at this time.
0
 
LVL 24

Expert Comment

by:Lionel MM
ID: 40354800
my bad--copy and paste mistake
correct
for /F "tokens=1" %%i in
wrong
for /F "tokens=1=,"
0
 
LVL 23

Accepted Solution

by:
Dirk Kotte earned 500 total points
ID: 40356374
would run "gpresult -h \\share\%hostname%-%username%-%date%.html" from logon-script.
So you get the result from the real session for checking now or later.

also "gpresult -r >>yourfile" gets usefull informations.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question