Windows Active Directory, how it works? Users, Permissions, Policies

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • How does the Microsoft Active Directory work? This is Part 2 of my Windows Server Tutorial, where I explain how to join an Active Directory with a Windows 11 Professional PC, and how to centralize the user authentication, file permissions and group policies. #Windows #ActiveDirectory #HomeLab
    Teleport-*: goteleport.com/thedigitallife
    Windows Server (Part 1): • Installing a Windows S...
    Sophos XG Video: • Protect your home netw...
    Follow me:
    TWITTER: / christianlempa
    INSTAGRAM: / christianlempa
    DISCORD: / discord
    GITHUB: github.com/christianlempa
    PATREON: / christianlempa
    MY EQUIPMENT: kit.co/christianlempa
    Timestamps:
    00:00 - Introduction
    01:02 - Advertisement-*
    01:35 - What you need (Pre-requisites)
    05:29 - Join the Active Directory
    06:47 - Centralized User Authentication
    11:31 - File Permissions
    16:56 - Organizational Units
    18:21 - Group Policies
    ________________
    All links with "*" are affiliate links.

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

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

    It's a great guide, easy to understand and has interesting examples. Keep up the good work Chris! Love you videos!

  • @bradleydiggs
    @bradleydiggs ปีที่แล้ว +9

    I've gone headfirst into Linux, DevOps, Docker, Cloud, and am learning Kubernetes and Python. My networking is still sharp but my AD skills that I started out with 20 years ago were getting rusty. And of course I find that Christian, whom is one of the ones I follow for the other things, has an entire series on this too! Gold.

  • @ragequilt_
    @ragequilt_ ปีที่แล้ว +3

    The quality of practical content on your channel is priceless! Looking forward to a video on Hashicorp Nomad and Waypoint.

  • @Steve3dot1416
    @Steve3dot1416 ปีที่แล้ว +4

    By the way, fantastic video. Excelant level of detail and well explained. Good video content. You won me : subscribed!

  • @Alex-zd3sz
    @Alex-zd3sz ปีที่แล้ว +1

    This is an awesome series windows AD servers and Domain controllers are always complicated so this is awesome to watch!

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

      Thank you! I’m glad you’re enjoying it :)

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

    Another great video Christian. I really like the serie.
    Ca'nt wait to see the next one 🙂

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

    Nice to see you man! ❤

  •  ปีที่แล้ว +3

    Great job! Please continue this series.

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

    Great Video!!! I like the way you explain about AD with simplicity, please keep this series, I am looking forward for the next video about granular setup of an AD, specially about GPO to enhance security policies!

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

    Nice video Christian!

  • @Sevbh12
    @Sevbh12 8 หลายเดือนก่อน

    As usual, brilliant video. Thank you

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

    Thank you for your videos, they are always so informative and helpful for a sysadmin like me :)

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

    This is the best free software Ive seen. Respect.

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

    Still working as of today! Thank you!

  • @techripper703
    @techripper703 ปีที่แล้ว +4

    Great video I enjoyed it please keep this series up maybe do another video on shared drives and folders . Thank you for your great work :)

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

    You've taught me so much about AD. I'd love to learn how to connect it to TrueNAS as well as allowing users to save/share/admin folder files to/from TrueNAS. Again thanks for another great video!

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

      You’re welcome! Yeah the idea with truenas is great :)

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

    I like the series. Thank you

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

    This was so helpful!! Thank you

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

    good work king, love you

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

    So informative, thanks a lot!

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

    BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!

  • @daniellejacoba.domingo8809
    @daniellejacoba.domingo8809 ปีที่แล้ว

    thanks, it actually let me through so i could download it.

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

    Love this video walk-through playlist type, just getting into ADDC myself so following along since your install. Love to know more about GP in a home-lab env

  • @core-computinglab
    @core-computinglab ปีที่แล้ว

    Great videos I always check out the channel when you upload.

  • @ChethanNN-fl9qc
    @ChethanNN-fl9qc ปีที่แล้ว

    OMG THANKS SO SO MUCH THIS HELPED!!!

  • @bennettste
    @bennettste 11 หลายเดือนก่อน +2

    Little trick when logging in as a local User, you can type .\ instead of the pc name in front of the local user account.

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

    Great video.
    Do more of AD use case in a professional environment.
    Well done

  • @user-rl3du7gt2g
    @user-rl3du7gt2g ปีที่แล้ว

    Very helpful

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

    Works well!! DANKEEE

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

    it work on my pc thx bro vеry much

  • @ariannemaeo.moratalla8062
    @ariannemaeo.moratalla8062 ปีที่แล้ว

    U BEST!!!

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

    I would like to see a video about integrating Active Directory users into other pieces of software like MediaWiki or SnipeIT. Keep up the great work.

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

      Oh that seems like a great suggestion, however you will need to wait until second half of the year until I come back to that :(

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

    Hi Christian. I really love your videos and your channel. I was wondering are you thinking of doing a windows deployment services tutorial at some stage? This would be a great addition to these active directory videos

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

      Thank you so much :) I'm still trying to figure out how I can make more Windows videos, maybe an Azure AD / Entra ID video at some point would be great

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

    thanks helpful vid

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

    I also have an Active Directory server in my homelab. I have a LDAP connection with Nextcloud to authenticate with my AD accounts.
    Also I have a free Azure Tenant and it supports SSO. So some of my applications use Azure SSO. It's very nice :)

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

      Sounds like a great set up! I haven’t look into Azure AD but I will :)

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

    GOD!!!My broo

  • @bennettste
    @bennettste 11 หลายเดือนก่อน +1

    Also always setup a local user for yourself as the admin. This gives you a backdoor into a PC if you have domain trust issue.

  • @berndeckenfels
    @berndeckenfels ปีที่แล้ว +4

    On deeper folder hierarchies it’s very painful to make ACL changes like adding groups or worse users. It is much better to have a type specific group assigned to files and folders and then only change its membership (as soon as you want to add more than one security group to it)

  • @Lauch-Melder
    @Lauch-Melder ปีที่แล้ว

    I'm running Windows Server 2019 as my main DC in my homelab. Got the free key for education at my school a few years ago. But for now I'll add some Zentyal DCs to switch completely to Linux because I don't want to pay for the licenses in a few years when Win2k19 is eol. Still some problems with the DNS replication with samba but pretty stable at the moment. :D

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

    Great video for introduction on GCP and AD.
    Maybe I can ask you to go in deep about integration also of OsX client to AD.
    It will be interesting in my opinion.
    Bye.

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

      Thank you! Yeah maybe... I'm thinking about it ;)

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

    🔥🔥🔥🔥

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

    About GPO auto update by computer - It can be set also via GPO, by default it is 90min for computers and servers, and 5min for Domain Controllers - This setting u can find in GPO path: Computer Configuration > Administrative Templates > System > Group Policy > Set Group Policy refresh interval for computer. Ofc there are dependensis with example GPO which is applicable for AD group, so if u will add user or computer asset to AD group then u need to relog after this, to let computer/user see that he have now new membership. Ofc u can avoid situation that restart is required when u will play with klist.

  • @Vera150607
    @Vera150607 ปีที่แล้ว +8

    With more than 20 years, AD DS still being the angular stone for so many corporations, Open LDAP and similar doesn’t come even close of it. Sure, nowadays with Azure AD connect and Azure AD you can free yourself from AD FS and AD CS in order to integrate your users to authentication with 3rd party app using always their same credentials adding features as MFA to it.

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

      It's true FreeIPA and such are good options but nothing can beat the behemoth thats MS Active Directory... The only thing that comes close is Samba AD.... That works surprisingly well for smaller tenants that don't require the really advanced features. You can even to a secondary domain controller with replication and all. The only thing that kinda sucks is that it's limited to a forest lvl of 2008R2. But since not a lot changed to 2016 it's mostly fine...

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

      Same here, 19 years in IT, I desperately wish there was an open source parallel to MS AD, but nothing comes close

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

      @@PlaidMagic have you tried Samba AD? ;)

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

      💯

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

      Do all corporation use VM to run both windows and window servers for their employees?

  • @tariktahaozdogan7459
    @tariktahaozdogan7459 4 หลายเดือนก่อน

    Great explanation! Is there anyone who can recommend a video that also tells how to control authorizations for applications from a DC?

    • @christianlempa
      @christianlempa  4 หลายเดือนก่อน

      Thanks! I've not done a video on this topic yet unfortunately

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

    I wonder if the windows updates gets downloaded ONCE to the server then gets pushed locally to the client computers instead of each PC downloading it on its own, because that would consume a lot of data and slow down the internet especially if the company has a low speed or metered internet connection.

  • @Ata5ll
    @Ata5ll 11 หลายเดือนก่อน

    You remind me of someone I once knew on Quakenet...

  •  ปีที่แล้ว

    Computer Setting are update in a reboot, User setting are update at login or after a gpupdate.

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

      Yep, that's right! In addition to the background update

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

    Just to let you know that when you log into the system if you put a .\LOCALUSERNAME for instance .\Mark in the username, it will log you in as an existing local user who's login is Mark with Mark's password.

  • @core-computinglab
    @core-computinglab ปีที่แล้ว

    Have you tried Zentel server, the Linux Alternative? Just wanted to let you know about it.

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

      I haven't, yet. But I guess I won't, because I'm fine with running Windows for that.

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

    Hi friend. Would you know how I’d go about setting what you did with Sophos for DNS request route but in a Pihole? I kinda got it to work by using cname and and DNS records. I got the pc to join the domain but it won’t fully work as GP aren’t fully transferred. So then I just put the dns of the active directory in the network adapter settings and it works. But I lose the advantage of a pihole. What do you suggest for pihole?

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

      I haven't done it for pihole, I'm not sure if pihole does provide a DNS setup like that. If not you might just continue running the windows as primary DNS and set up a forwarding to pihole on the windows DNS server config.

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

    Roaming Profiles!!! ... haha... I have done various setups... I am unsure how the newer replacement works!!

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

    do you have any video sync users between azure ad and Sophos xg firewall?

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

      Not yet, maybe I’ll do that somewhere next year

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

      @@christianlempa Thanks for the reply Christian if possible can you make in this week ?

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

    Nice video :D
    Would be nice if you can show us how to do this with a linux server^^

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

      Thx ;) Well about the Linux Server, I'm not sure if I'm going to do that.

    • @Lauch-Melder
      @Lauch-Melder ปีที่แล้ว

      Would be a great tutorial. I'm switching completely to Linux at the moment. Zentyal seems to be a great solution. Joined a Zentyal DC to my Windows DC using samba. The only problem I'm struggling with at the moment is that I can't access my forward zone in the Windows RSAT DNS settings on my secondary DC running zentyal-samba.

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

    While I do agree with the point that having password expiration creates another way to reveal the password however even if the password would be leaked, the attacked wouldn't have access to the account any amount of time but only for let's say 2 months as the password would have to be reset (Yes, it's still a lot but better than having unlimited access, right?)
    In our work I personally use password manager. I only know 2 passwords. My main account and my password manager password. All passwords have 3 months of expiry date but I still only need to remember 2 passwords instead of let's say 10.

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

      While this might be true for an individual, you need to have a look at the bigger picture here. We’re talking about normal users who don’t understand IT, who aren’t in security, do you really trust all your users to use a password manager and follow company guidelines? I don’t xD

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

    Using a procedure which does not require domain admin credentials on the new clients should be preferred or at least a limited join user

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

    Maybe you could do azure Active Directory. You can get a free e5 developer account to do it.

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

    thx for soft mate

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

    Do you mean both the domain controller and the others needs to be pro versions

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

      The Domain Controller needs to be a Windows Server, Essentials, Standard and Datacenter will work fine.

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

      The client OSs can be Pro, Ultimate, or Enterprise in order to join the actual Domain.

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

    what do you think about the best naming convention for a domain? tld or subdomain of tld or non tld?

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

      Either subdomain of tld or non routable tld

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

    hahsdhahah good

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

    The problem is : if you join a domain with an existing PC, you should reinstall all your applications who are not installed "for all users". Many applications don't give this option. Also, you must move your profile files. This is, I think, a crutial piece who is missing in Windows : A way to easily migrate an account from a workground to a domain or vice-versa... Anyone have an easy tool/way to do this?

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

      In the past, we've used the tool "profwiz", but I'm not sure if it's still a viable option. My days being a win admin are long ago :D

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

      @@christianlempa profwiz is still a useful tool to migrate profiles between AD and Workgroup :)

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

    At home, disable the change password is fine. In a business, this will lock out anybody with access they shouldnt have... Sticky note is safer than allowing improper access indefinately.

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

    IIRC, GP is updated every 15 minutes.

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

    Active Directory is only needed if you have more than 1 users end more pc en servers if you the only user then Active Directory is overkill

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

      You normally use it in a home lab to learn the technology since it’s an asset in the work place (at least it was, I guess nowadays starting with AzureAD is better)

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

    You sould be careful when you give the "Full Control" permission. This gives the users the permission to change the security access for everyone. Personally, I give it only to domain admins.

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

      Thanks for sharing! Yeah you need to be careful in production with these settings

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

    /force braucht man in 99,9 Prozent der Fälle nicht. Die Zeit bis ein gpupdate erfolgt ist einstellbar via gpo.😉
    Computer und User würde ich nicht in die gleiche ou packen.

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

    Kanalname geändert

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

    Mlk, se pá que o canal foi hackeado

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

    This is the best free software Ive seen. Respect.

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

    Very helpful

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

    Very helpful