Solved

Gp result check on multiple computers

Posted on 2014-09-30
4
126 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 25

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 25

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 24

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Disable SSLv3.0/TLSv1.0 - Windows 2012R2 3 66
Risks of using Camtasia Studio 9 137
PCI compliance 16 59
Mac OS upgrade: Does it expunge malware? 4 21
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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