R W
asked on
Gp result check on multiple computers
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
ASKER
%%i was unexpected at this time.
my bad--copy and paste mistake
correct
for /F "tokens=1" %%i in
wrong
for /F "tokens=1=,"
correct
for /F "tokens=1" %%i in
wrong
for /F "tokens=1=,"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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