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...

Комментарии • 18

  • @semir3660
    @semir3660 6 месяцев назад +3

    You create really great content Danny 👍
    Btw. I like the tone of your voice and simplicity how you are explaining stuff. Good job!

    • @danny_moran
      @danny_moran  6 месяцев назад +1

      Thanks for watching!

  • @heygoober1653
    @heygoober1653 3 месяца назад +1

    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

  • @HeBambam
    @HeBambam 2 месяца назад +1

    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.

    • @danny_moran
      @danny_moran  2 месяца назад

      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!

    • @HeBambam
      @HeBambam 2 месяца назад +1

      For clarification, so meaning the computer configuration still executed/take effect to client computer even its not showing in gpresult /r (not an administrator)?.

    • @danny_moran
      @danny_moran  2 месяца назад

      The policies will still be applied to the computer, they're just not visible when running gpresult unless you run in an Administrator context.

    • @HeBambam
      @HeBambam 2 месяца назад

      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?.

  • @dominikzamkow8734
    @dominikzamkow8734 6 месяцев назад +1

    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 ?

    • @danny_moran
      @danny_moran  6 месяцев назад

      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

    • @heygoober1653
      @heygoober1653 3 месяца назад

      Is it possible you're running the command on PowerShell as opposed to CMD? Might make a difference

  • @unkownuser2320
    @unkownuser2320 6 месяцев назад +1

    if any command to get computer and user gpo settings html in normal user command prompt

    • @danny_moran
      @danny_moran  6 месяцев назад

      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!

    • @unkownuser2320
      @unkownuser2320 6 месяцев назад +1

      @@danny_moran question is how to get computer GPO with normal user login if any command or method is available

    • @danny_moran
      @danny_moran  6 месяцев назад

      I don't think you see what GPOs are applied to the computer using a standard user account.