Solved

Gp result check on multiple computers

Posted on 2014-09-30
4
114 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:lionelmm
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:lionelmm
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now