We help IT Professionals succeed at work.
Get Started
Troubleshooting Question

to get password policy from Gpresult

Eric asked
Last Modified: 2021-02-05

I am trying to get Password Policy from domain joined computers. I know that running gpresult /H result.html will produce an html file where I can see this. However, my question is that

A- How can I just filtered the result so that I can only get the the password policy section , not whole HTML file.  see the image below.

B- more importantly!!!!!!!!, :::::: I want to run this command on a list of  computers, But without first logging to that remote computers, gpresult /H will not produce a result as There would not be no RSOP data yet on the computer for the gpresult pull the data
So,  is there any way to logging to list of remote computers remotely using an script so that RSOP data first be created so that gpresult /H will work after.

Note :I know that I can check the GPO from domain using gpmc.msc  etc etc, That is given for sure. But I need to see this on the servers themselves, that is my problem I am trying to solve. for some reason some server does not get these settings. so I am trying to see which servers are not actually on the server getting from the GPO. and this is about GPO inheritance etc etc OU stuff.

Watch Question
IT Manager
This problem has been solved!
Unlock 1 Answer and 42 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE