/build/static/layout/Breadcrumb_cap_w.png

Automatically Deploy Software Based on AD Membership

I have figured out a way using current LDAP label behavior to install software automatically on a computer according to a user's group membership in Active Directory.

========
Example: A new employee started this week and you need to have Adobe Reader installed on their computer.
========

 

Setup:


1. Create a group in Active Directory (AD) called "Software Adobe Reader". This will be a group of all users that have Adobe Reader installed.

2. Create a normal label in KACE and name it "Adobe Reader Install". Put some notes in the "Notes" field so you don't forget what this is doing. Select the checkbox for 'Computer Inventory' and 'Software' and leave the rest blank.

3. Create a LDAP label in KACE and choose the Associated Label Name "Adobe Reader Install" which you just created in step #2. Follow the example LDAP label configuration below. After this LDAP label is created it will be looking to the group "Software Adobe Reader" in AD. This LDAP label checks if the user is a member of the group "Software Adobe Reader" in AD, and if they are, it applies that LDAP label to their computer.

NOTE: LDAP labels cannot be applied to users, only computers. This means that your user list under Service Desk > Users cannot have LDAP labels applied to them according to AD membership. This is because users don't sync with KACE, computers do. I sure wish it would work though!

Example LDAP Label Configuration:

Server Hostname: YourServerName/IP


LDAP Port Number: YourPort (example: 389)


Search Base DN: DC=YourDomain,DC=com


Search Filter: (&(sAMAccountName=KBOX_USERNAME)(memberOf=CN=Software Adobe Reader,OU=SoftwareDeploy,OU=IT Department,DC=YourDomain,DC=com))


LDAP Login: CN=kaceldap,OU=Users,DC=YourDomain,DC=com (or wherever your account is to your LDAP authentication account)

 

Visual of above, albeit kinda small...

4. Apply the normal label created in step #2 above to a script or MI so that that task will be ran on that computer when it has that label.

 

Usage:


In Active Directory add the new employee to the AD group "Software Adobe Reader". The next time the computer the new user is using checks into KACE it will get the LDAP label "Adobe Reader Install", then the script(s)/MI(s) will run since the label "Adobe Reader Install" is now applied on that computer and is also associated to the script/MI.


Comments

  • Good explanation thanks for sharing - shigbee 10 years ago
  • WOW!!! That is called "thinking outside the box!" I look forward to testing tomorrow! - hmoore 10 years ago
  • very cool! - lcadhelpdesk 10 years ago
  • did anybody find a solution using this in combination with the users "primary machine" I donĀ“t want the software following the user specially if the software is needing a license. - wizzo 6 years ago
    • You probably could not use this method with users having more than one computer in combination with software requiring a license. If they had one machine it wouldn't be an issue however. If the software has no license, then also not an issue. - jwaltersnsm 6 years ago
      • Can a primary machine be set somehow in Kace? Either as an asset field value or as a AD attribute value which can be injected as custom attribute? I tested with the custom attribute from AD but could not find a way how I could make use of that value within a label :-( - wizzo 6 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ