This page looks best with JavaScript enabled

MDT User Permissions

 ·  ☕ 4 min read

Before You Start

In my previous MDT guides I’ve always assumed that the users doing the imaging are also admins of the MDT server, or even domain admins. In this brief guide I’ll outline the permissions needed for a regular, non-admin user to deploy a computer using MDT.

First we’ll need to create a group for the users who will be doing deployments. We’ll call the group “MDT-Users”.

Setting the Share Permissions

We’ll now add the group to the ACL for the MDT Deployment share permissions. The group will need full access but we’ll lock down the permissions on the files and folders ACL.

  1. Right-click on the Deployment share folder and select “Properties”
  2. Click on the “Sharing” tab
  3. Click on “Advanced Sharing”
  4. Tick the box “Share this folder”
  5. Click on the “Permissions” button
  6. Click on the “Add” button and type in “MDT-Users” and click on “OK”
  7. Check the “Allow” tick box for “Full Control” in the Permissions list
  8. Click OK on all the permissions windows that are open for the changes to be made.

MDT Share Permissions

Setting the File Permissions

Next we’ll set the following permissions in the root of the Deployment share folder.

  1. Right-click on the Deployment share folder and select “Properties”
  2. Click on the “Security” tab
  3. Click on the “Advanced” button
  4. Add “MDT-Users” and ensure that the group only has “Read & execute” permissions.
  5. Click OK on all the permissions windows that are open for the changes to be made.

MDT File Permissions

Setting File Permissions for Deployment Logs

If you have logs configured, you’ll need to set the following permissions on the “Logs” folder.

  1. Right-click on the Logs folder and select “Properties”
  2. Click on the “Security” tab
  3. Click on the “Advanced” button
  4. Click on “Disable inheritance” and then click on “Convert inherited permissions into explicit permissions on the object”
  5. Add or ensure that “MDT-Users” has “Modify” permissions.
  6. Click OK on all the permissions windows that are open for the changes to be made.

MDT Logs Permissions

Setting Permissions for Domain Join

To add the deployed computer to Active Directory, a user account with the appropriate permissions can be configured in the CustomSettings.ini.

Here is an example.

1
2
3
4
5
6
; Join Domain Account
JoinDomain=contoso.com
DomainAdminDomain=contoso.com
DomainAdmin=mdt_admin
DomainAdminPassword=p@ssw0rd
MachineObjectOU=OU=PCs,DC=contoso,DC=com

To give the “mdt_admin” user the required permissions, I’d recommended creating a group also called “MDT-Admins” and then giving that group the following permissions in Active Directory.

  1. In Active Directory Users and Computers, click on the “View” Menu and then click on the “Advanced Features” option.
  2. Now go to the OU where the PC accounts are created and right-click on the OU and select “Properties”.
  3. In the new windows, click on the “Security” tab, then the “Advanced” button and then click the “Add” button.
  4. Next click on the “Select a principal” text and type the “MDT-Admins” group and then click OK.
  5. In the “Permissions:” section check “Create Computer Object” and “Delete Computer Object” and then click on OK.
  6. Once again, click on the “Add” button and then on the “Select a principal” text and type the “MDT-Admins” group and then click OK.
  7. Now click on the “Applies to” menu and change it to “Descendant Computer Objects”.
  8. In the “Permissions:” section check the following:
    • Read All Properties
    • Write All Properties
    • Read Permissions
    • Modify Permissions
    • Change Password
    • Reset Password
    • Validate Write to DNS hostname
    • Validate Write to Service Principal Name
  9. Finally, click OK on all the permissions windows that are open for the changes to be made.

With these permissions any member of the “MDT-Admins” group will be able to join a computer to Active Directory and create a computer account in the OU that these permissions are made to.

Support My Work

If you would like to support me, please check out the links below.

If you’d like to contact me, please leave a comment, send me a tweet, or you can join the community on Discord.

-Mike

Share on
Support the author with