# Automatically Assign ADE profiles

Starting in FileWave version 13.1.0 you now have the ability to automatically assign ADE (formerly known as DEP) profiles to devices.

## Step-by-step guide

Start by opening up the ADE Profiles UI (Assistant → ADE Association Management), and verify you have profiles created. It is recommended that you have a highly generic rule that will work with all iOS and macOS devices, and then profiles for your needed situations.

## Assign Default Rule

1. Open the "Edit Assignment Rules" UI
2. Choose a Default ADE Profile (Figure 1.1)
3. Hit OK to save it

You can then choose between creating rules on simple things or advanced things:

## Assign based on model/operating system (Simple)

1. Open the "Edit Assignment Rules" UI
2. Hit the \[+\] to create a new profile rule
3. Select your default profile for an OS (iOS in this example)
4. Drag the ADE Devices / Operating System component from the left into the Criteria
5. Set to "Contains" : "iOS" (See figure 2.1)
6. Save
7. Repeat again for "OS X" and "tv" as needed

## Assign based on custom fields (Advanced)

1. Create Custom fields (in this example "usage" and "location") <p class="callout info">See [Custom Fields](https://kb.filewave.com/books/custom-fields/page/custom-fields "Custom Fields") for more information</p>
    
    
    1. Use: Provided: Admin, Type: string, Restricted: True, Values: None (DEFAULT), Faculty, Student, Administration (See Figure 3.1)
    2. Location: Provided: Admin, Type: string, Restricted: True, Values: None (Default), Site A, Site B... (Figure 3.2)
    3. Take note of the "Internal Name" from the custom fields
2. Open the ADE UI
3. Hit the \[+\] to create a new ADE profile 
    1. Use the internal name in naming (see Figure 3.3) <p class="callout info">See [ADE Naming](https://kb.filewave.com/books/apple-school-business-manager/page/ade-naming "ADE Naming")<span style="background-color: rgb(211, 239, 255); color: rgb(1, 70, 108);"> for more information</span></p>
    2. Open the "Edit Assignment Rules" UI
    3. Hit the \[+\] to create a new profile rule
4. Select the profile you just created 
    1. You will now see the Custom Fields component on the left Component list
    2. Open it and bring in location and use
    3. set them both to is not None (Figure 3.4)

## Excluding serials from Auto Rules

You will notice a column named "Excluded from automatic assignment" with True or False (Figure 4.1)

<table id="bkmrk-figure-4.1---exclude"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/TkGO6k1xcKKlpdGT-embedded-image-v3lnqbmf.png)

</td></tr><tr><td>Figure 4.1 - Exclude Column

</td></tr></tbody></table>

**true** - Device will not be included in automatic rules. *Note: "true" is NOT applicable when manually clicking the "Apply Assignment Rules" button...when that button is clicked all rules will be applied for any selected devices (after confirmation prompt). Selecting no devices infers ALL devices as selected.*

**false** - Devices will be included in automatic rules, both automatically and when "Apply Assignment Rules" is triggered

<table id="bkmrk-true-is-the-default-"><tbody><tr><td>**true** is the default for devices that were in your ADE list before an upgrade to 13.1 to protect those devices from changing before you have built new rules

</td></tr></tbody></table>

<table id="bkmrk-figure-1.1---default"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/fyqqFWDq1Uh8LeeX-embedded-image-n4ipkrqe.png)

</td></tr><tr><td>Figure 1.1 - Default Rule

</td></tr></tbody></table>

<table id="bkmrk-figure-2.1---ios-sim"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/cVMAoQ01ZU8lb14x-embedded-image-hnebqagx.png)

</td></tr><tr><td>Figure 2.1 - iOS Simple Rule

</td></tr></tbody></table>

<table id="bkmrk-figure-3.1---custom-"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/fEZH5TKfi60J7GBO-embedded-image-6wvewofp.png)

</td></tr><tr><td>Figure 3.1 - Custom Use

</td></tr></tbody></table>

<table id="bkmrk-figure-3.2---custom-"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/HZZk3cBFEFXcC1Ie-embedded-image-ejo0vwze.png)

</td></tr><tr><td>Figure 3.2 - Custom Location

</td></tr></tbody></table>

<table id="bkmrk-figure-3.3---custom-"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/L5dL1E9w5taS3lHo-embedded-image-et7yxqs8.png)

</td></tr><tr><td>Figure 3.3 - Custom Naming

</td></tr></tbody></table>

<table id="bkmrk-figure-3.4---custom-"><tbody><tr><td>![](https://kb.filewave.com/uploads/images/gallery/2023-07/CARUMXFlYPbyA1HW-embedded-image-lrgbbncf.png)

</td></tr><tr><td>Figure 3.4 - Custom Name Rule

</td></tr></tbody></table>