HexCon is coming to NYC. Catch the early-bird price before the time's up! Book me a spot

Run Script in DEP Configuration ProfileSolved

4 months ago

Hey Team,

Can an option to run a script be added while enrolling via DEP Configuration Profile like we have the option to create a user?


Replies (3)

Marked SolutionPending Review
Hexnode Expert
4 months ago
Marked SolutionPending Review

Hello @mayuresh-todankar, it’s good to hear from you again!

We’ll certainly forward your feature request to the respective teams. To assist us further, could you please elaborate on the types of scripts you’re looking to execute?

In the meantime, once the devices are enrolled, you can utilize the Scripts policy to automate the execution of custom scripts during device startup, shutdown, log on, or log off. Or, you may also use the option to instantly run scripts using the
Execute Custom Script
remote action.

We’ll ensure to keep you updated on any developments regarding your feature request. Please continue sharing your suggestions; we genuinely appreciate your input.

Best regards,
Chloe Edison
Hexnode UEM

Marked SolutionPending Review
4 months ago
Marked SolutionPending Review

Hello @chloe,

Goal: To streamline the setup process of new devices within the organization, ensuring they conform to organizational standards and have all necessary software and configurations installed.

Overview: As organizations grow, managing the setup and configuration of new devices becomes increasingly complex. Ensuring uniformity across devices, installing necessary software, and configuring settings according to organizational standards can be time-consuming and prone to human error. To address these challenges, the IT department proposes implementing a one-time run script to automate the setup process for new devices upon enrollment.

Use Case Steps:

  1. Request Initiation:

    • The IT administrator or device enroller initiates the setup process for a new device upon enrollment into the organization’s network.
  2. Script Execution:

    • The one-time run script is triggered to automate the setup and configuration process.
    • The script is designed to execute a series of predefined actions to ensure the device is set up according to organizational standards.
  3. Device Configuration:

    • The script configures system preferences, network settings, and security configurations to align with organizational policies.
    • It sets up user accounts, permissions, and access controls as per predefined guidelines.
  4. Software Installation:

    • The script installs required software packages and applications essential for productivity and security.
    • It verifies the version compatibility and ensures software licenses are valid.
  5. Customization and Personalization:

    • Depending on user roles or departments, the script customizes the device settings and installs specialized software relevant to specific job functions.
  6. Verification and Testing:

    • The script conducts thorough verification tests to ensure all configurations are applied correctly and software installations are successful.
    • It simulates user interactions to validate usability and functionality.
  7. Completion and Notification:

    • Upon successful completion of the setup process, the script generates a report indicating the status of each task performed.
    • The IT administrator or device enroller receives a notification confirming the setup is complete and the device is ready for use.


  • Time Efficiency: Automating the setup process eliminates manual intervention, reducing the time required to configure each device.

  • Consistency: Ensures uniformity across all devices, minimizing discrepancies and ensuring compliance with organizational standards.

  • Accuracy: Reduces the likelihood of human error in setup and configuration tasks, enhancing overall reliability.

  • Scalability: Scales easily to accommodate a growing number of devices, maintaining efficiency and consistency.

  • User Satisfaction: Streamlines the onboarding process for new employees, providing them with fully configured devices promptly.

Conclusion: Implementing a one-time run script for automating device setup and configuration offers numerous benefits to the organization, including improved efficiency, consistency, and user satisfaction. By leveraging automation, the IT department can ensure that new devices are quickly and accurately configured to meet organizational standards, allowing employees to focus on their tasks without unnecessary delays or disruptions.

Marked SolutionPending Review
Hexnode Expert
4 months ago
Marked SolutionPending Review

Hello @mayuresh-todankar,

We appreciate the thorough explanation. We will raise the feature request and ensure that the above-mentioned use cases are thought through. We’ll keep you informed once the feasibility of implementing the feature is evaluated.

Best regards,
Chloe Edison
Hexnode UEM