How to manage local administrator accounts on Windows Servers and Workstations using Group Policy

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 เม.ย. 2022
  • Learn how to manage local administrator accounts on Windows Servers and Windows Workstations using Group Policy. In this example, I go over the process of creating new security groups, and adding those new security groups to the local Administrators group on domain member servers and workstations using group policy and item level targeting.
    View the blog post here: www.dannymoran.com/manage-loc...
    Hi, I’m Danny Moran, a London based IT consultant and blogger. You can view all my blog posts at: www.dannymoran.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 32

  • @Daan007
    @Daan007 ปีที่แล้ว +1

    Incredible and clear video! Thanks,

  • @jcyanquen
    @jcyanquen 3 หลายเดือนก่อน

    Thank you for the video, is very Clear. I want to do this. But, before I want to REMOVE all local users different than "Administrator" that are in the Local Administrators Group. Should I add a rule in the GPO to do this with more priority than the rules you explained in this video?

  • @andrewenglish3810
    @andrewenglish3810 19 วันที่ผ่านมา +2

    Good video but I have a question, how to give some enough rights to administer a server without them having full on domain admin? Or is there anyway to deny a group from connecting to a server or workstation?

    • @danny_moran
      @danny_moran  18 วันที่ผ่านมา

      This is a tough one. Usually, people just end up with local administrator permissions on the servers they need to manage. This removes the need for them to have domain admin accounts.
      This method is still overkill as most things don't require full local administrator access. The problem with just trying to use the principle of least privilege is that it's quite hard to manage and also takes a lot of time and effort to get correct.
      This doesn't really answer your question as it really depends on each network, what your risk tolerance is, how secure accounts are, and mainly, how likely the user is to destroy the network if they're given too much access.
      Thanks for watching!

  • @user-yy4gj5lk6m
    @user-yy4gj5lk6m 3 หลายเดือนก่อน +1

    Hi Danny, thank you for the informative video! I realize that you link GPOs to the domain directly in this and many other videos. I wonder if there would be any advantage to just link the GPO to the specific OU? For example, in this video, could we link Local Admin Permissions GPO to the Company OU instead?

    • @danny_moran
      @danny_moran  3 หลายเดือนก่อน

      It won't make any difference. As long as the servers and workstations are within the Company OU, then it will work fine.
      In these guides, I just link directly to the domain, as it's easier to explain and it will guarantee that it will work if someone copies the setup.
      Thanks for watching!

  • @mikeerandio7502
    @mikeerandio7502 ปีที่แล้ว

    nice tutorial, I have a question, what about if I want to disable the local administrator only, is the policy still in effect for those who are members of sg-workstation-local? they can still be a local administrator for example your account with name of danny?, watching from PH.

    • @danny_moran
      @danny_moran  ปีที่แล้ว

      You can disable the local administrator account and accounts added to the security groups will still work.
      Thanks for watching!

  • @KyngD469
    @KyngD469 8 หลายเดือนก่อน +2

    Does this work in combination with Restricted Groups? Restricted Groups doesn't work with domain groups.

    • @danny_moran
      @danny_moran  8 หลายเดือนก่อน +1

      This method doesn't work if you are also using Restricted Groups.
      Thanks for watching!

  • @gudeboindy6674
    @gudeboindy6674 10 หลายเดือนก่อน +2

    Local Users and Groups (Local) access denied. I can't see users and groups. Please what can I do?. Thanks.

    • @danny_moran
      @danny_moran  10 หลายเดือนก่อน +1

      If you're getting access denied, you need to use an account with administrator permissions on the workstation to access the local users and groups.
      Thanks for watching!

    • @gudeboindy6674
      @gudeboindy6674 10 หลายเดือนก่อน +1

      @@danny_moran Thanks for your support.

  • @Khanajk3
    @Khanajk3 9 หลายเดือนก่อน +1

    I have an issue.. Can you please guide me ?

    • @danny_moran
      @danny_moran  9 หลายเดือนก่อน

      What's the issue?

  • @leojk2861
    @leojk2861 6 หลายเดือนก่อน +1

    I tried both GPOs using this method and restricted group method. Local administrator group (defined in AD) is indeed created on client computer but when i try to sign-in with the user credentials of local administrator security geoup, it ends in error "the username or password is incorrect"
    To check this policy I try to login PcName\user(local administrator securtit group) instead of domain, that is the reason admin account is created on all workstations.
    Please guide why it ends in error as mentioned.

    • @danny_moran
      @danny_moran  6 หลายเดือนก่อน

      This method pushes a security group to the local Administrators group of servers and/or workstations.
      When you login, you will want to use the domain user account of a member of the security group, and not a local user account.
      This method doesn't create a local user account, which is why you are getting an error.
      Thanks for watching!

    • @leojk2861
      @leojk2861 6 หลายเดือนก่อน +1

      @@danny_moran a few years ago, in production environment there became an issue when all domain users were not getting logged into the their accounts because of some domain trust relationship issue and while those computers were joined to domain, I disabled all their local admin accounts and no other account was created. I also could not log in using a domain admin account and that was a wasted day. If such a thing happens again (AD not authenticating logins for whatever reason), will this account which is created to mimic local admin account still work to login into windows even temporarily

    • @leojk2861
      @leojk2861 6 หลายเดือนก่อน +1

      @@danny_moran no, thank you sir for your amazing videos and the fact you reply all questions. Great job 👍

    • @leojk2861
      @leojk2861 6 หลายเดือนก่อน +1

      I added a question to this topic but I cannot find it in comments so I am posting again sir,
      A couple of years ago, when I was testing a domain and deployed it in a production environment, for some unknown reason the domain started declining logins due to security trust relationship between client and AD. When I had joined those machines to domain, I disabled all local accounts including a local admin account. So you can imagine, no user was able to login to his computer and I had to go a long way to do workaround and it wasted their time and mine.
      My question is that if such an issue happens again for whatever reason, would this account which is created to mimic the local admin account will let me login into the computer even temporarily to backup the data of the user.?
      Or will it still require authentication from AD? Local admin account lets you login even if the domain has some problem but if I disabled local admin account for security reasons and trust the account created as in this video, will it benefit me?

    • @danny_moran
      @danny_moran  6 หลายเดือนก่อน

      You should look into setting up LAPS. This will set a random password for the local Administrator account on all the workstations and store the password in AD. Then if you need to login to the machine using a local admin, then you can get the password from AD.
      How to setup and deploy LAPS (Local Administrator Password Solution): th-cam.com/video/iI1XA2G420U/w-d-xo.html

  • @shanuv8756
    @shanuv8756 2 ปีที่แล้ว +1

    Hi, How can I change the Password of local Administrator of the Workstations more than 2000 PCs. I tried to update it using Group policy, GP Result shows policy is updated. But in the event viewer this policy shows policy gets the error and the password didn't get changed.

    • @danny_moran
      @danny_moran  2 ปีที่แล้ว +1

      Hi, I wouldn't recommend using Group Policy to update the local administrator password for workstations.
      You should look into using a tool called Local Administrator Password Solution (LAPS), which is published by Microsoft.
      You can download it from Microsoft here: www.microsoft.com/en-us/download/details.aspx?id=46899
      Thanks for watching!

    • @shanuv8756
      @shanuv8756 2 ปีที่แล้ว +1

      @@danny_moran Is there any issue using LAPS in existing Exchange 2013 hybrid environment?

    • @danny_moran
      @danny_moran  2 ปีที่แล้ว

      I can't see why there would be any issues. LAPS just updates the local administrator password and stores it within active directory.
      I would recommend testing it in a lab before deploying into production if you have never used LAPS before.

  • @walterbertin
    @walterbertin 2 ปีที่แล้ว +1

    What is with the sound on some of your Videos on TH-cam - I turn everything i have to 100% and can bearly hear anything
    some videos sound are good some very weak - like this one here

    • @danny_moran
      @danny_moran  2 ปีที่แล้ว

      Hi, some of the original videos were created using a cheap headset. The newer videos are using a standalone microphone and should have better audio.
      Thank you for your feedback, and thanks for watching!

    • @walterbertin
      @walterbertin 2 ปีที่แล้ว +1

      @@danny_moran could you rework the bad ones - make like second version of the video - with better audio - especialy the one - deploy Windows 11 using MDT and WDS
      when MDT and WDS are out of fashion now - Microsoft is forcing Intune and autopilot - the old fashion method to depoloy OS ist still of value as it is free - Intine and cloud costs - next them need bandwith on internet - this is not everwhere available

    • @danny_moran
      @danny_moran  2 ปีที่แล้ว

      My plan is to refresh all of the videos I have created now that I have better equipment and have more of an understanding of video production. I'm not sure when I will get around to doing that as I have quite a lot on at the moment.
      I also plan on focusing more on Microsoft Azure and Microsoft 365 at some point in the future, but I haven't made the time to start doing that yet, unfortunately.