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

Поделиться
HTML-код
  • Опубликовано: 14 июл 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.

  • @drbyte2009
    @drbyte2009 Год назад +1

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

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

  •  Год назад +3

    Great job! Please continue this series.

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

  • @xcaptz
    @xcaptz Год назад +1

    Nice to see you man! ❤

  • @rachitjain5489
    @rachitjain5489 Год назад

    good work king, love you

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

  • @abdulr4279
    @abdulr4279 Год назад

    Nice video Christian!

  • @eduardo13355
    @eduardo13355 Год назад

    Still working as of today! Thank you!

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

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

  • @ChethanNN-fl9qc
    @ChethanNN-fl9qc Год назад

    OMG THANKS SO SO MUCH THIS HELPED!!!

  • @daniellejacoba.domingo8809
    @daniellejacoba.domingo8809 Год назад

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

  • @ra7en250
    @ra7en250 Год назад

    So informative, thanks a lot!

  • @stupidhead7881
    @stupidhead7881 Год назад +1

    I like the series. Thank you

  • @core-computinglab
    @core-computinglab Год назад

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

  • @narutoghoul9672
    @narutoghoul9672 Год назад

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

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

  • @danielmuthini7347
    @danielmuthini7347 Год назад

    This is the best free software Ive seen. Respect.

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

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

  • @mariamtsitsagi6655
    @mariamtsitsagi6655 Год назад

    thanks helpful vid

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

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

  • @ariannemaeo.moratalla8062
    @ariannemaeo.moratalla8062 Год назад

    U BEST!!!

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

  • @oklang3537
    @oklang3537 Год назад

    GOD!!!My broo

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

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

  • @officialszcz
    @officialszcz Год назад

    🔥🔥🔥🔥

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

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

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

  • @homemedia4325
    @homemedia4325 Год назад

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

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

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

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

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

  • @treslobos5164
    @treslobos5164 Год назад

    thx for soft mate

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

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

  • @obsolete21
    @obsolete21 Год назад

    IIRC, GP is updated every 15 minutes.

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

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

  • @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 Год назад

    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.

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

  • @ronald0122
    @ronald0122 Год назад

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

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