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

Sdílet
Vložit
  • čas přidán 14. 07. 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.

Komentáře • 126

  • @bradleydiggs
    @bradleydiggs Před rokem +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.

  • @Xl4t3
    @Xl4t3 Před rokem

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

  • @ragequilt_
    @ragequilt_ Před rokem +3

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

  • @drbyte2009
    @drbyte2009 Před rokem +1

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

  • @Alex-zd3sz
    @Alex-zd3sz Před rokem +1

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

  •  Před rokem +3

    Great job! Please continue this series.

  • @Steve3dot1416
    @Steve3dot1416 Před rokem +4

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

  • @crzr5
    @crzr5 Před rokem

    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!

  • @xcaptz
    @xcaptz Před rokem +1

    Nice to see you man! ❤

  • @rachitjain5489
    @rachitjain5489 Před rokem

    good work king, love you

  • @r3m0dul8
    @r3m0dul8 Před rokem

    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

  • @abdulr4279
    @abdulr4279 Před rokem

    Nice video Christian!

  • @eduardo13355
    @eduardo13355 Před rokem

    Still working as of today! Thank you!

  • @Sevbh12
    @Sevbh12 Před 8 měsíci

    As usual, brilliant video. Thank you

  • @persellmach
    @persellmach Před rokem

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

  • @vellingirigiri1632
    @vellingirigiri1632 Před rokem

    This was so helpful!! Thank you

  • @ThePoorInvestor
    @ThePoorInvestor Před rokem +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  Před rokem

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

  • @ChethanNN-fl9qc
    @ChethanNN-fl9qc Před rokem

    OMG THANKS SO SO MUCH THIS HELPED!!!

  • @daniellejacoba.domingo8809

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

  • @ra7en250
    @ra7en250 Před rokem

    So informative, thanks a lot!

  • @stupidhead7881
    @stupidhead7881 Před rokem +1

    I like the series. Thank you

  • @core-computinglab
    @core-computinglab Před rokem

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

  • @narutoghoul9672
    @narutoghoul9672 Před rokem

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

  • @techripper703
    @techripper703 Před rokem +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 :)

  • @danielmuthini7347
    @danielmuthini7347 Před rokem

    This is the best free software Ive seen. Respect.

  • @bennettste
    @bennettste Před 11 měsíci +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.

  • @user-rl3du7gt2g
    @user-rl3du7gt2g Před rokem

    Very helpful

  • @sialeehwi6211
    @sialeehwi6211 Před rokem

    Works well!! DANKEEE

  • @mjenkins74
    @mjenkins74 Před 6 měsíci

    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  Před 6 měsíci

      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

  • @musicworld8652
    @musicworld8652 Před rokem

    it work on my pc thx bro vеry much

  • @cybergreenlab1738
    @cybergreenlab1738 Před rokem +1

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

  • @mariamtsitsagi6655
    @mariamtsitsagi6655 Před rokem

    thanks helpful vid

  • @leerussell6536
    @leerussell6536 Před rokem

    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  Před rokem +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 :(

  • @HetKaasKanaal
    @HetKaasKanaal Před rokem

    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  Před rokem

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

  • @ariannemaeo.moratalla8062

    U BEST!!!

  • @bennettste
    @bennettste Před 11 měsíci +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 Před rokem +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 Před rokem

    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

  • @oklang3537
    @oklang3537 Před rokem

    GOD!!!My broo

  • @posalab
    @posalab Před rokem

    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  Před rokem +1

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

  • @piotr5256
    @piotr5256 Před rokem

    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 Před rokem +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 Před rokem +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 Před rokem +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 Před rokem

      @@PlaidMagic have you tried Samba AD? ;)

    • @christianlempa
      @christianlempa  Před rokem

      💯

    • @donalddrunk9882
      @donalddrunk9882 Před měsícem

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

  • @officialszcz
    @officialszcz Před rokem

    🔥🔥🔥🔥

  • @DJRhinofart
    @DJRhinofart Před rokem

    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.

  • @Ata5ll
    @Ata5ll Před 11 měsíci

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

  •  Před rokem

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

    • @christianlempa
      @christianlempa  Před rokem

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

  • @tariktahaozdogan7459
    @tariktahaozdogan7459 Před 4 měsíci

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

    • @christianlempa
      @christianlempa  Před 4 měsíci

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

  • @iOXiNG
    @iOXiNG Před rokem

    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.

  • @homemedia4325
    @homemedia4325 Před rokem

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

  • @berndeckenfels
    @berndeckenfels Před rokem

    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 Před rokem +1

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

  • @Thomate1375
    @Thomate1375 Před rokem +1

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

    • @christianlempa
      @christianlempa  Před rokem +1

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

    • @Lauch-Melder
      @Lauch-Melder Před rokem

      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.

  • @core-computinglab
    @core-computinglab Před rokem

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

    • @christianlempa
      @christianlempa  Před rokem

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

  • @adfjasjhf
    @adfjasjhf Před rokem

    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  Před rokem

      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

  • @treslobos5164
    @treslobos5164 Před rokem

    thx for soft mate

  • @ThePoorInvestor
    @ThePoorInvestor Před rokem

    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  Před rokem

      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.

  • @surisurendrababu
    @surisurendrababu Před rokem

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

    • @christianlempa
      @christianlempa  Před rokem

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

    • @surisurendrababu
      @surisurendrababu Před rokem

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

  • @obsolete21
    @obsolete21 Před rokem

    IIRC, GP is updated every 15 minutes.

  • @streamx2
    @streamx2 Před rokem

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

    • @christianlempa
      @christianlempa  Před rokem

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

    • @DJRhinofart
      @DJRhinofart Před rokem

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

  • @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 Před rokem

      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)

  • @senx3824
    @senx3824 Před měsícem

    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.

  • @Steve3dot1416
    @Steve3dot1416 Před rokem

    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  Před rokem

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

  • @jeanfiedler7374
    @jeanfiedler7374 Před rokem

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

  • @Steve3dot1416
    @Steve3dot1416 Před rokem

    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  Před rokem

      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 Před rokem

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

  • @ronald0122
    @ronald0122 Před rokem

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

  • @cindyayuamelita868
    @cindyayuamelita868 Před rokem

    Mlk, se pá que o canal foi hackeado

  • @chris23tr
    @chris23tr Před rokem

    Kanalname geändert

  • @ariahoogame269
    @ariahoogame269 Před rokem

    hahsdhahah good

  • @josephballos8053
    @josephballos8053 Před rokem

    This is the best free software Ive seen. Respect.

  • @abdulrahmanayman5221
    @abdulrahmanayman5221 Před rokem

    Very helpful

  • @emadnaser3501
    @emadnaser3501 Před rokem

    Very helpful