How to check what Group Policy Objects are being applied using gpresult
HTML-код
- Опубликовано: 25 авг 2024
- Learn how to check which group policies are applied to the logged-in user. In this example, I show you how to use the gpresult command to view a list of which group policy objects are applied to the current workstation or server session and how to export those to an HTML file to see the exact policy settings.
View the blog post with all the commands and step-by-step instructions here: www.dannymoran...
Hi, I’m Danny, a London based IT consultant and blogger. You can view all my blog posts at: www.dannymoran...
You create really great content Danny 👍
Btw. I like the tone of your voice and simplicity how you are explaining stuff. Good job!
Thanks for watching!
Dude, I've watched 2 videos of yours relevant to what I was looking for. Checked out what else you got on your channel. Cause for subscribing. Keep up the great work
Thanks for watching!
Thank you for the helpful video sir, so it's means that if you run gpresult /r on clint, only the user configuration will show and not computer configuration GPO. is that right?. only if you run gpresult /r on administrator the computer configuration will show. before i though i'm having some problem with my GPO because its not showing.
Yes, that's correct. If CMD/PowerShell isn't run in an Administrator context, then it will only show the user GPOs applied.
Thanks for watching!
For clarification, so meaning the computer configuration still executed/take effect to client computer even its not showing in gpresult /r (not an administrator)?.
The policies will still be applied to the computer, they're just not visible when running gpresult unless you run in an Administrator context.
I just recently found out that all my computer configuration was not been take effect to my test client, only all user configuration, i created a test sample to disabled CMD under computer configuration, but its not working, my GPO was created normally and nothing fancy setup, is there any settings or setup i forgot to do or not to do?.
Thanks for this! I tried to run for testing gpresult -h test.html but got errors:
ERROR: Invalid argument/option - '-h'.
Type "GPRESULT /?" for usage.
any idea why ?
I just copied and paste the command you put in the comment into my cmd and it worked fine. I'm not sure why it wouldn't work for you.
gpresult -h test.html
Is it possible you're running the command on PowerShell as opposed to CMD? Might make a difference
if any command to get computer and user gpo settings html in normal user command prompt
If the user is a local admin then it will show both. If the user isn't a local admin, then it will only show the user settings.
Thanks for watching!
@@danny_moran question is how to get computer GPO with normal user login if any command or method is available
I don't think you see what GPOs are applied to the computer using a standard user account.