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

Поділитися
Вставка
  • Опубліковано 1 лип 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

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

  • @Xl4t3
    @Xl4t3 Рік тому

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

  • @ragequilt_
    @ragequilt_ Рік тому +3

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

  • @xcaptz
    @xcaptz Рік тому +1

    Nice to see you man! ❤

  • @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 🙂

  •  Рік тому +3

    Great job! Please continue this series.

  • @abdulr4279
    @abdulr4279 Рік тому

    Nice video Christian!

  • @Steve3dot1416
    @Steve3dot1416 Рік тому +4

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

  • @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!

  • @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

  • @Sevbh12
    @Sevbh12 7 місяців тому

    As usual, brilliant video. Thank you

  • @daniellejacoba.domingo8809
    @daniellejacoba.domingo8809 Рік тому

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

  • @rachitjain5489
    @rachitjain5489 Рік тому

    good work king, love you

  • @eduardo13355
    @eduardo13355 Рік тому

    Still working as of today! Thank you!

  • @persellmach
    @persellmach Рік тому

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

  • @stupidhead7881
    @stupidhead7881 Рік тому +1

    I like the series. Thank you

  • @vellingirigiri1632
    @vellingirigiri1632 Рік тому

    This was so helpful!! Thank you

  • @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 :)

  • @danielmuthini7347
    @danielmuthini7347 Рік тому

    This is the best free software Ive seen. Respect.

  • @core-computinglab
    @core-computinglab Рік тому

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

  • @ra7en250
    @ra7en250 Рік тому

    So informative, thanks a lot!

  • @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 :)

  • @narutoghoul9672
    @narutoghoul9672 Рік тому

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

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

  • @user-rl3du7gt2g
    @user-rl3du7gt2g Рік тому

    Very helpful

  • @sialeehwi6211
    @sialeehwi6211 Рік тому

    Works well!! DANKEEE

  • @mjenkins74
    @mjenkins74 5 місяців тому

    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  5 місяців тому

      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 Рік тому

    it work on my pc thx bro vеry much

  • @cybergreenlab1738
    @cybergreenlab1738 Рік тому +1

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

  • @ariannemaeo.moratalla8062
    @ariannemaeo.moratalla8062 Рік тому

    U BEST!!!

  • @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)

  • @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 :(

  • @mariamtsitsagi6655
    @mariamtsitsagi6655 Рік тому

    thanks helpful vid

  • @oklang3537
    @oklang3537 Рік тому

    GOD!!!My broo

  • @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 :)

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

  • @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

  • @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?

  • @officialszcz
    @officialszcz Рік тому

    🔥🔥🔥🔥

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

  • @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 ;)

  • @Ata5ll
    @Ata5ll 11 місяців тому

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

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

  • @tariktahaozdogan7459
    @tariktahaozdogan7459 3 місяці тому

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

    • @christianlempa
      @christianlempa  3 місяці тому

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

  •  Рік тому

    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

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

  • @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

  • @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 ?

  • @bytecorner123
    @bytecorner123 Рік тому +1

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

  • @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

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

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

  • @obsolete21
    @obsolete21 Рік тому

    IIRC, GP is updated every 15 minutes.

  • @ronald0122
    @ronald0122 Рік тому

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

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

  • @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 :)

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

  • @cindyayuamelita868
    @cindyayuamelita868 Рік тому

    Mlk, se pá que o canal foi hackeado

  • @chris23tr
    @chris23tr Рік тому

    Kanalname geändert

  • @ariahoogame269
    @ariahoogame269 Рік тому

    hahsdhahah good

  • @josephballos8053
    @josephballos8053 Рік тому

    This is the best free software Ive seen. Respect.

  • @abdulrahmanayman5221
    @abdulrahmanayman5221 Рік тому

    Very helpful

  • @emadnaser3501
    @emadnaser3501 Рік тому

    Very helpful