How to setup and deploy LAPS (Local Administrator Password Solution)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • Learn how to setup, configure, and deploy LAPS (Local Administrator Password Solution) to your active directory environment. In this example, I show you how install the laps application, update the Active Directory schema, deploy and configure LAPS using Group Policy, as well as showing you how to find the LAPS password, and forcing a password change.
    View the blog post with all the commands used in this video here: www.dannymoran...
    Hi, I’m Danny, a London based IT consultant and sporadic blogger. You can view all my blog posts at: www.dannymoran...

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

  • @twintron
    @twintron ปีที่แล้ว +16

    This is probably the best IT instructional video out there. Great job.

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

      Thanks for watching! Hope you found it useful!

  • @onji
    @onji ปีที่แล้ว +7

    Awesome job! Very thorough and to the point. One of the best tutorial vids. No fluff.

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

      Thanks for watching!

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

    Thank you very much! Your Videos about WDS Server and this one are helping me a lot as a beginner, for deploying new Clients! Very clear and straight forward, but every important detail is named. Thanks!

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

      Thanks for watching!

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

    Great video men, really clear! Thanks and greetings from Argentina.

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

      Thanks for watching, Franco!

  • @babukarthick7616
    @babukarthick7616 7 หลายเดือนก่อน +1

    Crystal Clear explanation 🥰🥰🥰

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

      Thanks for watching!

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

      @@danny_moran please put zabbix server and client installation for veeam dashboard...🙏🙏🙏🙏🙏

  • @canicemorris4021
    @canicemorris4021 5 หลายเดือนก่อน +1

    Danny Moran you are the man

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

      Thanks for watching!

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

    Thank you. Very informative and precise.

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

      Thanks for watching!

  • @therealchris
    @therealchris 7 หลายเดือนก่อน +1

    very well done, thanks. didn't solve my problem, but I learned something... and learning is always a good thing 😁

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

      Thanks for watching!

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

    Simple and to the point! Thank you dude :)

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

      Thanks for watching!

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

    simply wonderful, cheers mate

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

      Thanks for watching!

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

    great video, even better with the blog post keep up the good work!

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

      Thanks for watching! Hope you found it useful!

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

    To the point . I love it.

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

      Thanks for watching!

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

    Love your videos, straight to the point ! Any reasons to NOT install LAPS on a DC ?

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

      I installed the LAPS software onto my primary domain controller and did all of the configuration from there.
      Don't apply the LAPS group policy to the domain controllers' organisational unit. When you promote a domain controller, the local administrator account gets converted to the domain administrator account. I've never done this, but I can only assume bad things will happen if you apply it to that OU.
      Only apply the LAPS group policy to workstations and servers that aren't domain controllers. (Remember to test on a small number of workstations and servers first so you can confirm it works correctly, works as intended, and doesn't break anything.
      Thanks for watching!

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

    The best tutorial!

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

    Excellent video - helped me to completely setup LAPS.
    The only thing of note was that LAPS in group policy wasn't there, so I had to find out elsewhere from where to copy admpwd.admx/adml from/to in order to see it in group policy.

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

      Thanks for watching! Glad you got it working in the end!

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

      thank you.... i too was pondering over this for last 20 minutes, but you saved me time!

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

    Great video! Thanks for making this easy!

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

      Thanks for watching!

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

    Thanks, mate!! Awesome video.

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

      Thanks for watching!

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

    After this instruction, is the local admin password for all clients the same or for each workstation a different one?

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

      Each workstation is given a unique randomly generated password.
      Thanks for watching!

  • @lapinga02
    @lapinga02 4 หลายเดือนก่อน +1

    GOD BLESS YOU

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

      Thanks for watching!

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

    Incredible video!.

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

      Thanks for watching! Hope it was useful!

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

    I have the OU called computers inside several OUs for example Under DRH OU there is the Computers OU, I have another one under DSI OU, How can I specify the exact OUs that have the same name but under other OUs for the below command?
    Set-AdmPwdComputerSelfPermission -OrgUnit

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

      You would need to use the Distinguished Name of the OU. You can find this by going into Active Directory Users and Computers > View > Advanced Features. Once the Advanced Features are enabled, right click the OU and press Properties, then go to Attribute Editor, double click the attribute with the name distinguisedName, and then copy the value.
      Set-AdmPwdComputerSelfPermission -OrgUnit "OU=Workstations,OU=Company,DC=ad,DC=dannymoran,DC=com"
      Thanks for watching!

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

    Thank you! Worked perfectly for me :)

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

      Glad you found it useful! Thanks for watching!

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

    Excellent! Thank you!

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

      Thanks for watching!

  • @ValterPereira-lr6kn
    @ValterPereira-lr6kn 4 หลายเดือนก่อน +1

    Hello! I have done everything like you demonstrated in your video, the only change i performed is the custom administrator account, in the gpo i put the name of the account i want to be managed by laps but nothing happens, to the default administrator account works very well but for the custom administrator account doesnt work what i propably miss???
    Greetings from Portugal.

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

      I'm not sure why it wouldn't work using a custom administrator account. I have never actually tried it.
      You might be best trying an internet search to see if anyone else has had the same issue.
      Thanks for watching!

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

    This laps works only when is joint domain. If unjoin domain. Will still work? Of not, what is the workaround to preserve the local admin password to its original pw

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

      When you remove a device from the domain, it will keep whatever password it had at the time of removal.
      You will have to manually change the password before removing from the domain if you don't want a random LAPS password.
      Thanks for watching!

  • @thomaselser8786
    @thomaselser8786 ปีที่แล้ว +5

    Great video, nicely explained.
    Question: From a security view, is it ok to make certain domain users members of the security group "LAPSAdmins" so they can access the administrator password?

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

      Yes, it's fine to put the accounts for people who need to access the passwords set by LAPS into the LAPSAdmins group. The only thing that group does is it gives read access to the ms-Mcs-AdmPwd attribute.
      Thanks for watching!

  • @psychoticapex
    @psychoticapex 5 หลายเดือนก่อน +1

    Should LAPS be installed on the DC or somewhere else? I have found some conflicting information (based on what I understood) that installing it on DCs may cause problems, reset the Domain Administrator Password, etc. Is that an issue? I am ready to start implementing it but not sure where I must install it. Thanks!

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

      You run the LAPS installer on a domain controller, however, you don't apply the GPO to the domain controllers OU.
      Thanks for watching!

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

    Will the password be re-generated every time we force group policy as shown in video since you have left password age as default (30 days) during gpo creation?

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

      No, the password doesn't get regenerated everytime group policy is updated.
      Each AD computer unit gets a custom attribute called "ms-Mcs-AdmPwdExpirationTime", the password only gets updated when it has expired, or someone expires the password so it can generate a new password.
      Thanks for watching!

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

    What if the local admin in pc is disabled will it still work. Or need to enable it manually? what if during the time of setup windows created new local admin how to assign it. And how to prevent ulocal admin acct from auto removed in admin groups. once joint to domain.

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

      If the local Administrator account is disabled, LAPS will still update the password, however, the account will remain disabled. You will still need to enable the account, either manually or using group policy.
      During the Windows installation, if you create another local admin, it will stay in the local admins group. You will have to either manually remove it from the group or use group policy to remove it from the group.
      Thanks for watching!

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

    hey Danny, I am having issues updating the Schema, I get the error 'Update-AdmPwdADSchema : The distinguished name contains invalid syntax.'
    I have confirmed that my account is a part of Schema Admin. Any ideas why I am getting the error?

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

      Doesn't sound like a permission error, but an issue with the command you are running.
      Are you using the correct distingused name? You may also have to put the DN is quotes.
      Thanks for watching!

    • @user-sy3wy3fs2i
      @user-sy3wy3fs2i 7 หลายเดือนก่อน

      @@danny_moran what's a distinguished name? I can confirm that there are no any quotes.

  • @JPrez-io6qj
    @JPrez-io6qj ปีที่แล้ว +2

    For some reason, the sysvol/scripts directory wasnt' accessible for workstations devices - manually browsing to that LAPS location would generate access denied. I ended up creating a new directory called SoftwarePush and shared it as read only to everyone - it then became accessible to all workstations, and the GPO was able to install the software. This was on Server 2016 - any idea why mine was a bit different and is that expected? - Thx

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

      Sounds like it could be related to "hardened unc paths", but, it's hard to guess with just that information.
      It doesn't really matter where on the network the files are stored, as long as clients can reach them.
      Glad you got it working. Thanks for watching!

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

    With the OU structure serperated out by departments and a sub OU holding the computers (all with the name computers) how do you specify it to point at those sub OU's when running the Set-AdmPwdComputerSelfPermission -OrgUnit ??

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

      You should just need to run it against the parent-OU and it will filter through to sub-OUs.

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

    Thanks for the video. What about non built in local admin accounts that were created,can these be managed with laps also?

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

      You can only manage 1 account with LAPS. Either the built-in Administrator account, or you can change the group policy to look at a different account name.
      What other local administrator accounts to you have on workstations that would require this? Usually, You would just have the one local administrator account and the rest of the accounts would be managed using Active Directory.
      Thanks for watching!

  • @GeetaDevi-pi8sy
    @GeetaDevi-pi8sy 5 หลายเดือนก่อน +1

    Dose it also change the DC Administrator Password? After configuration the LAPS

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

      I would recommend not applying this GPO to your Domain Controllers OU and managing your Domain Administrator account manually.
      Thanks for watching!

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

    Thank you for this video it is great. I do have one question though. In our environment we have 3 Domain Controllers. Do I have to set up laps on all of them or just 1?

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

      No, you only need to install on to get the install files and gpo options.
      Once it's all configured on one, the settings will replicate to the other domain controllers automatically.
      Thanks for watching!

  • @ITCatz
    @ITCatz 5 หลายเดือนก่อน +1

    Computers need to be joined to the network/VPN to get the new password, correct?

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

      They need to be able to communicate with a domain controller.
      Thanks for watching!

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

    Quick question here, but when installing the LAPS package as you showed here on one DC I didn't get the LAPS.admx and LAPS.adml files to show up in the proper location so it wouldn't show. When I just copied those files from another DC that did get them I get a ton of other options not included in this video, but no "Enable Local Admin Password Management" setting in Group policy management editor. Do you happen to have any guidance? Or resources? Maybe just a point in another direction?

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

      Have you setup Group Policy Central Store on your network? If you are using a central store, try the steps below. If you aren't using a Central Store, you may need to run the installer again.
      If you ran the LAPS installer, it might have put the ADMX files into the local store and not the central store.
      Browse to C:\Windows\PolicyDefinitions and see if there are any files called AdmPwd
      You will then need to copy the AdmPwd files to \\domain.local\SYSVOL\domain.local\policies\PolicyDefinitions
      This should fix the issue if you are using a central store.

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

      @@danny_moran Thank you for the tip. So what fixed the problem for me was that yes we were using a central store but I assumed that the LAPS.admx/adml file was the one that needed to be transferred over. But it was actually the AdmPwd.admx/adml. Every tutorial online I found said you needed the LAPS files, but on a whim I extracted the MSI using 7zip and found the AdmPwd files and transferred them. It worked immediately. Thank you for inspiring me to take a deeper look at the stuff I had on hand.

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

      Glad you got it fixed.
      Thanks for watching!

  • @RaditioDwi
    @RaditioDwi 2 หลายเดือนก่อน +1

    hi, is this working for MacOS that joining to the AD?

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

      No, this just works for Windows devices.
      Thanks for watching!

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

    Is this for Microsoft Laps (The older one) Or windows Laps I have followed all steps and everything seems to work except I cant see the passwords, its just blank

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

      This is for the original Microsoft LAPS.
      Did you run the Set-AdmPwdReadPasswordPermission command against a security group to give those users permissions to view the passwords?
      Also, has group policy been updated on the workstation to install the software and has the password actually been updated on the client?

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

      @@danny_moran I figured it out. Nowhere in any of the documentation I found does it say that I have to make sure the local group policy password policy is greater than or equal to the settings that you set in the lapse software. I had it set in GPO for 8 character password minimum and then I tried to set laps for a 14 character password that’s why I didn’t work. Makes sense but I’m so surprised the documentation doesn’t say that.

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

      Glad you've got it working! Thanks for watching!

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

    I have a domain that is installed on 4 servers (replication), should I install LAPS on each server?

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

      No, you don't need to install it on all Domain Controllers. Just doing it on one will work fine.
      Thanks for watching!

  • @WorldEnder
    @WorldEnder 5 หลายเดือนก่อน +1

    does this work with windows server 2022 DC and windows 8.1 clients?

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

      Yes, this should work fine.
      Thanks for watching!

  • @Pham-Bao-Hoa
    @Pham-Bao-Hoa หลายเดือนก่อน +1

    To update the schemas, does the Domain Controller need access to the Internet?

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

      No, it doesn't need internet access.
      Thanks for watching!

    • @Pham-Bao-Hoa
      @Pham-Bao-Hoa หลายเดือนก่อน +1

      @@danny_moran Thank you for the step-by-step tutorial. I finally got LAPS up and running now.

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

    Love the videos! Quick question though... If your environment has multiple domain controllers, do you have to install the MSI file on all DCs or just one and it replicates to the others?

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

      You only need to run the installer on one domain controller and then the changes will replicate to the other domain controllers.
      Thanks for watching!

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

    I have followed your video, everything worked as charm for users' PCs, now after a while I wanted to apply this GPO on servers, but it doesn't seem to work on them, what could it be the reason ?

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

      Should work fine for servers. Did you make sure the GPO is linked to the OU the servers are in and also tried restarting the server for it to install the LAPS software?

    • @mrmanofof
      @mrmanofof 2 หลายเดือนก่อน +1

      @@danny_moran yes I did, I believe I read it works for windows server 2019 and above, is that true?

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

      Yes, it works for Windows Server 2019 and above.

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

    Hello, If I'm managing a different admin Account than the Windows administrator, and not all pcs in the domain have the specified admin account, and then i create it on a pc that doesn't, does it then after gpupdating become laps managed as well? Thank you

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

      Yes, it should do. As long as computer object within Active Directory is within an Organisational Unit that has the LAPS GPO applied to it.
      Thanks for watching!

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

    I have several local administrators on one domain pc (.\it1, .\it2 and .\it3). How does/can LAPS giv each account get its own password?

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

      LAPS can only manage one local administrator account. By default, it manages the .\Administrator account, however, you can change this to a different account in the group policy settings.
      Thanks for watching!

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

      Thank you.

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

    Hello, thank you for great video.
    If I go through these processes (on domain computer) and it still doesn't give me a password, what solutions should I look for?

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

      Double check that the GPO is being applied to the workstation and maybe give it a couple of reboots to make sure that the software has chance to be installed and run.
      If you try and login to the local admin of the workstation, has it actually been updated?
      I've never had an issue with it not showing the password and I've deployed this to many active directory environments.

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

    For some reason at 6:35 I don't have LAPS listed under the Administrative Template Policies. Is this something you could help with?

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

      Have you setup Group Policy Central Store on your network? If you are using a central store, try the steps below. If you aren't using a Central Store, you may need to run the installer again.
      If you ran the LAPS installer, it might have put the ADMX files into the local store and not the central store.
      Browse to C:\Windows\PolicyDefinitions and see if there are any files called AdmPwd
      You will then need to copy the AdmPwd files to \\domain.local\SYSVOL\domain.local\policies\PolicyDefinitions
      This should fix the issue if you are using a central store.

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

      This worked thank you so much for your help.@@danny_moran

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

      Glad you got it fixed.
      Thanks for watching!

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

    I have some technicians working under my supervision, they don't have access to AD but they need to know the local admin password, is it possible to set the same password for all the local admins and change it whenever I want.

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

      If you put the technicians into the LAPSAdmins security group and then install the laps software on their workstation, they should be able to access the passwords without having direct access to AD.
      Thanks for watching!

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

    Thank uuu sooo muuuch!!!!

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

      Thanks for watching!

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

    Nice tutorial

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

      Thanks for watching!

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

    the MS LAPS download link no longer works, there is an internal server error.

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

      The download link still seems to work for me: www.microsoft.com/en-us/download/details.aspx?id=46899
      Thanks for watching!

  • @charlesbuzz
    @charlesbuzz 5 หลายเดือนก่อน +1

    Thanks for this tutorial!
    Question: admin account is disable on all of the workstations, we use an other account for admin, can I use the GPO "name of administrator account to manage" and put the name of our admin account in that gpo?

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

      Yes, that's correct. Just change the value of that GPO setting and it will manage the account with that name.
      Thanks for watching!

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

    thank you, do i need to install it on all DC servers or only on one of them? and is it supporting windows server 2016?

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

      You just need to do the setup on one domain controller and all the required changes will automatically replicate to the other domain controllers.
      This works fine for server 2016 and onwards, as well as Windows 10 and 11.
      Thanks for watching!

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

    Useful

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

      Thanks for watching!

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

    running Dc on server 2019 on the GPME i can't find the LAPS under Administrative templates Policy

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

      Have you setup Group Policy Central Store on your network? If you are using a central store, try the steps below. If you aren't using a Central Store, you may need to run the installer again.
      If you ran the LAPS installer, it might have put the ADMX files into the local store and not the central store.
      Browse to C:\Windows\PolicyDefinitions and see if there are any files called AdmPwd
      You will then need to copy the AdmPwd files to \\domain.local\SYSVOL\domain.local\policies\PolicyDefinitions
      This should fix the issue if you are using a central store.

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

      @@danny_moran thank you, Danny, this has been solved but still having issues pushing Software installation via GPO yet when i install the software manually works fine. Yet not getting any errors, my permissions are fine

  • @LOWERCASE_GUY23
    @LOWERCASE_GUY23 4 หลายเดือนก่อน +1

    Thanks for this tutorial
    Currently stuck on GPO as the LAPS folder does appear under "Administrative Templates" and wondering if it could be because i never restarted the server?

    • @danny_moran
      @danny_moran  4 หลายเดือนก่อน +2

      Have you setup Group Policy Central Store on your network? If you are using a central store, try the steps below. If you aren't using a Central Store, you may need to run the installer again.
      If you ran the LAPS installer, it might have put the ADMX files into the local store and not the central store.
      Browse to C:\Windows\PolicyDefinitions and see if there are any files called AdmPwd
      You will then need to copy the AdmPwd files to \\domain.local\SYSVOL\domain.local\policies\PolicyDefinitions
      This should fix the issue if you are using a central store.

    • @LOWERCASE_GUY23
      @LOWERCASE_GUY23 4 หลายเดือนก่อน +1

      @@danny_moran let me try that out thanks
      Worked like a charm thanks a lot

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

      Glad that worked!

    • @Ian-S.
      @Ian-S. 2 หลายเดือนก่อน +1

      Side note, the AdmPwd.adml may also need to be moved into the appropriate language folder to go along with the AdmPwd.admx file.

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

    How do I remove LAPS from a computer? I already uninstalled from control panel but it still keeps changing password.

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

      I've never actually tried removing laps - I would assume if you remove the group policy and then un-install the software from the client it would stop updating the password.
      Thanks for watching!

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

    How can you show the information of computer on screen what do use for this ?

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

      It's called BgInfo. I have a guide on how to set it up here: th-cam.com/video/ZnCEpFzd9VU/w-d-xo.html
      Thanks for watching!

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

      Thank you som much

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

    Thanks

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

      Thanks for watching!

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

    so basically how it works, laps software set random pass for local admin and store it in ad ?

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

      Yes, that's correct.
      When you go through the LAPS setup process, a new AD attribute is created called "ms-mcs-AdmPwd" which will appear in all computer objects.
      The software then writes the password to this attribute.
      Thanks for watching!

  • @Lennert1712
    @Lennert1712 5 หลายเดือนก่อน +1

    Hey i have a question. When i do the gpupdate /force part it constantly gives me the same message over and over again. It says: The following warnings were encountered during computer policy processing: The group Policy Client Side Extension Software Installation was unable to apply one or more settings......... Certain Computer policies are enabled that can only run during startup. i am trying to do this in a vm 1 DC vm(Server 2022) and 1 client vm(Windows 11 pro). If anyone has some sort of explanation why its doing this then i would greatly appreciate if you can comment it under this.

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

      Have you tried restarting the Windows 11 client?
      GPO software installations are applied at startup and not when a gpupdate is run.
      Thanks for watching!

    • @Lennert1712
      @Lennert1712 5 หลายเดือนก่อน +1

      @@danny_moran thank you for respondig so fast. Yes i have tried that multiple times but i keep getting the same message

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

      I've not had that error before, so I can't assist much, unfortunately.
      You will probably have to search online to see if anyone else has had this error.

    • @Lennert1712
      @Lennert1712 5 หลายเดือนก่อน +1

      @@danny_moran hopefully i figure it out. Thanks anyway for trying to help.

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

    Just looking at deploying LAPS next year excellent video Danny, is there away to set a password and have it increment

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

      LAPS just generates a random password for each client. I don't think it can be configured in that way.
      Thanks for watching!

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

      Again Excellent tutorial @@danny_moran

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

    Can I use LAPS to manage Windows server Admins as well ?

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

      You can use it to manage the local Administrator account on Windows Servers.
      Thanks for watching!

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

    I followed all the steps in your video correctly but still can't see the password. I did on winserver 2022 . Please help me ??? Thanks

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

      If you manually check the active directory computer object for one of the workstations, can you see two attributes called ms-Mcs-AdmPwd and ms-Mcs-AdmPwdExpirationTime? Do they contain data?
      Use an account that is a domain administrator to check this to avoid any permission issues. This will confirm if the password is being sent back to active directory.

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

      did you find any solution? same here, followed everything yet it just don't work

  • @jasonyu9527
    @jasonyu9527 5 หลายเดือนก่อน +1

    How to undo the following command, which is to revoke permission for ou workstation:
    Set-AdmPwdComputerSelfPermission -OrgUnit Workstations

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

      I've never tried removing the permissions.
      You will need to check the Microsoft documentation to see how it's done.
      Thanks for watching!

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

      @@danny_moran I mistakenly granted permission to the OU where the domain controller is located, causing both my only domain administrator account and password to be changed. I checked the official documentation and found no command to revoke the permission. It's quite troublesome to solve this issue.

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

    do we install on all Domain controllers on only one?

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

      You only need to do this on one domain controller.
      Thanks for watching!

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

    How would it be to create a custom password and for all computers in the company, doing at once?

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

      I'm not sure I understand your question.
      Using LAPS, it creates a random password for the Administrator account on all computers that are within the scope of the Group Policy Object.
      Thanks for watching!

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

      @@danny_moran I wanted to create a custom password and change the name of the administardor account of all machines. But the goal is to change the password, but it can not be random but personalized.

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

      I wouldn't change the name of the local Administrator account, but I would use Group Policy and create a policy to disable it.
      You can then also use Group Policy to create a new user account with whatever name and password you want and put it in the local Administrators group on the workstations.

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

    Any resource to create a GPO with Software Package?

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

      I haven't created any guides on deploying software using Group Policy.
      I generally avoid Group Policy for this, as I have found it to be not very good. I would recommend using some kind of RMM solution or Configuration Manager to do this, as it will give you much more control and visibility.
      Thanks for watching!

  • @buenology
    @buenology 7 หลายเดือนก่อน +1

    you know Danny, I appreciate your tutorial and I thank you for the taking the time to help us. So here my questions for you, I followed your guide and my test environment is Windows Server 2022 (Trial), with Windows 11 Pro (fully updated). Both are VM's using Proxmox. Anyway, I installed Windows 11 23h2 AMDX and created my Central Store under \\domain.local\sysvol\domain.local\Policies\PolicyDefinitions and dump it all there, just the ADMX, and en-US ADML with not additional language folder, etc. However in your video, I see that you open LAPS under ComputerConfiguration/Policies/AdministrativeTemplates/LAPS where on my Policy, LAPS is under ComputerConfiguration/Policies/AdministrativeTemplates/System/LAPS and I also do not have the Enable Local Admin Password Management Policy. Should I be using another LAPS ADMX/ADML? I moved my C:\Windows\PolicyDefinitions LAPS ADMX/ADML to the SYSVOL\DOMAIN.LOCAL\Policies\PolicyDefinitions folder, and nothing has changed.
    Your thoughts?

    • @buenology
      @buenology 7 หลายเดือนก่อน +1

      Danny, I put 2 and 2 together. You're using local Group Policy - While I was using AD Group Policy. I found it. What are you thoughts anyway, LAPS cannot be done under AD Group Policy, or am I saying this incorrect? I was reading about Windows LAPS versus Microsoft LAPS, did I just installed Microsoft LAPS?

    • @buenology
      @buenology 7 หลายเดือนก่อน +1

      No wait, I think I am doing this all wrong, lol. Why would I need to use GPEDIT.MSC, and not the Group Policy Management? Laps is not found in the Group Policy Management, but only in the Local Group Policy Editor.

    • @buenology
      @buenology 7 หลายเดือนก่อน +1

      Nevermind, I figured it all out, lol - Thank you everyone. :D. Everything works, TY Danny. (Subscribed)

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

      Glad you've managed to get it working. Thanks for watching!

    • @buenology
      @buenology 7 หลายเดือนก่อน +1

      Your thoughts on SCCM? That is my next project in my test environment along with split DNS, RDS, Bit Locker encryption/Decryption GPO, etc.. I’m preparing for ROOT CA also. If you have any good videos on these, let me know. Thank you.

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

    Man i followed same steps which you performed but when we are checking password password is not coming

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

      If you manually check the active directory computer object for one of the workstations, can you see two attributes called ms-Mcs-AdmPwd and ms-Mcs-AdmPwdExpirationTime? Do they contain data?
      Use an account that is a domain administrator to check this to avoid any permission issues. This will confirm if the password is being sent back to active directory.

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

    bro can this aplly in windows 2012 server r2 ?

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

      Yes, this works on Windows Server instances.
      Thanks for watching!

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

    IS dangerous then whoever admins in dc can get others domain dc

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

      I'm not sure what you mean by this. Can you confirm what you mean?

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

    Messed up i assigned the policy at the root of domain and locked myself out of my test environment 😂🤦🏻‍♂️

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

      I have a guide on resetting the domain administrator account: th-cam.com/video/69b_1QM1D-g/w-d-xo.html

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

    I thought it was Michael Owen talking then 😁

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

      erm... thanks...? haha
      Thanks for watching!

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

      I have a few questions. Once deployed could you install the LAPS UI onto a workstation for convenience for retrieving passwords, rather than connecting to the DC each time?
      Also do you happen to know if this version of LAPS suitable in an environment where devices are hybrid joined to AzureAD?

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

      Yes, you can install the application on a workstation and use that to retrieve the passwords without logging into a domain controller.
      LAPS works with Hybrid Azure AD joined devices but not with fully joined devices.
      Microsoft are working on Windows LAPS which will work with fully AAD devices: learn.microsoft.com/en-us/windows-server/identity/laps/laps-scenarios-azure-active-directory

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

      I have a few questions if I may?
      Does the OU you apply the powershell commands to need to be a unique name across AC or can you just type in the Distinguished name path to the folders? I have multiple OU's called 'workstation' for example.
      If for some reason I had to reinstall my primary domain controller, can I still see the passwords somewhere or is it encrypted l and would reinstalling LAPS allow me to just see them again?

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

      You can use the Distinguished Names when running the commands.
      As the passwords are stored as an attribute in the active directory comuter unit, the passwords are replicated to all domain controllers within the domain.

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

    Why is this useful?

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

      LAPS provide a solution to the issue of using a common local account with an identical password on every computer in a domain. LAPS resolve this issue by setting a different, rotated random password for the common local administrator account on every computer in the domain.
      LAPS simplifies password management while helping customers implement additional recommended defenses against cyberattacks. In particular, the solution mitigates the risk of lateral escalation that results when customers use the same administrative local account and password combination on their computers. LAPS stores the password for each computer's local administrator account in AD, secured in a confidential attribute in the computer's corresponding AD object. The computer can update its own password data in AD, and domain administrators can grant read access to authorized users or groups, such as workstation helpdesk administrators.
      Thanks for watching!

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

    What does laps do to disabled local administrator, in a host where you have more than one local administrator account . Does it only include the active one?

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

      LAPS can only manage one account. By default, it managed the local built-in Administrator account. Even if the account is disabled, it still manages the password.
      Thanks for watching!

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

      @@danny_moran So can i choose wich account?

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

      Yes, you can specify a different account.
      There is a GPO setting in the same folder which lets you select a different account instead of the local administrator account.

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

      @@danny_moran Thanks alot. It was important to me because in my envoirnment i have disabled the local build in administrators account and created anther local aministrator colled LapsAdmin for each pc including servers.