Otto background

Automox Worklet: Install Okta Device Trust on Windows

This worklet was authored and submitted by an Automox customer to the Automox Community Worklets forum. Automox reviews and confirms all community worklet submissions before they are published to the Community Worklets forum. Submit your own worklet and receive an Automox YETI Rambler 20 oz mug. Learn more and read the details.

The purpose of this worklet is to install the Okta Device Trust app on Windows to ensure that devices authenticating to secure apps, like VPN, are owned and managed by your enterprise.

To create this worklet, use the evaluation and remediation code scripts located here in the original posting on the Automox community.  

  • Make sure to grab the latest version of the Okta Device Trust app from your admin console. You can find it on the Downloads page under Settings or at
  • After downloading the latest version of the app, upload the installation file to the worklet. As of publishing, the latest version is If a newer one exists, be sure to change the file name in the remediation code for the $oktataskversion variable in the evaluation code.

Tips for Creating an Automox Worklet

Before deploying an Automox Worklet to the production environment, we suggest testing this on a few devices to confirm its accuracy. If you have any questions, please contact our support team for technical assistance at

For step-by-step instructions on creating the Worklet, see our user documentation: Create a Worklet.

About Automox Automated Patch Management

Facing growing threats and a rapidly expanding attack surface, understaffed and alert-fatigued organizations need more efficient ways to eliminate their exposure to vulnerabilities. Automox is a modern cyber hygiene platform that closes aperture of attack by more than 80% with just half the effort of traditional solutions.

Cloud-native and globally available, Automox enforces OS & third-party patch management, security configurations, and custom scripting across Windows, Mac, and Linux from a single intuitive console. IT and SecOps can quickly gain control and share visibility of on-prem, remote and virtual endpoints without the need to deploy costly infrastructure.

Experience modern, cloud-native patch management today with a 15-day free trial of Automox and start recapturing more than half the time you're currently spending on managing your attack surface. Automox dramatically reduces corporate risk while raising operational efficiency to deliver best-in-class security outcomes, faster and with fewer resources.