Solved

Gp result check on multiple computers

Posted on 2014-09-30
4
109 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

13 Experts available now in Live!

Get 1:1 Help Now