You're looking at the Yellow Pages for Community Worklets... find Worklets and share your own here!
Recently active
To make it easier for Automox users to learn about Worklet™ automation scripts and how they can make your life easier – we’ve constructed another fun challenge! It’s an easy way to get started with Worklets and win a fantastic, limited-edition Lego Otto set! So, what is a Worklet? A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.Now, what’s the challenge? ⭐️ Step 1: Click through this Worklet demo to discover how easy it is to run and verify a Worklet (it only takes a few minutes).⭐️ Step 2: Execute your own Worklet automation script. It can be as simple as getting the reboot history for a remote computer or installing the SentinelOne agent on all your Mac devices. Explore the Worklet catalog to choose from hundreds of Worklet au
I see there's a worklet in the catalog for making changes to HKEY_USERS. Safe to assume this can be modified to make changes to HKEY_LOCAL_MACHINE ?
Is there a Worklet to set MS Teams to Autostart on a windows pc?If so, is there anything that needs to be set in the worklet for this and what to set?Thanks.Jason
Hello everyone - just wanted to see how everyone else is managing CLI tools via Automox? How are you patching tools such as Python, git, etc.. If they were installed manually or installed using a package manager such as Homebrew, how are you patching them? Do you have any worklets that you can share? Unfortunately, I am not a scripting guru but I can always ask AI how to or if we can even patch these tools using a script. The other problem is, determining how the tool was installed (if it’s via a pkg or a package manager) and then implement a patching solution from there. Thanks in advance!
I’ve been trying to figure out how to make a worklet to uninstall adobe apps from my endpoints. The pre-made worklet for removing apps by name seems to only be able to remove Adobe Acrobat if it’s installed by itself. However, if it was installed by Adobe Creative Cloud, or other apps are there along with CC, the worklet gives an error that it timed out. Is there some way to have a worklet to be able to uninstall all of Adobe’s software?
Hi, Any one have successful worklet that install specific KB? Tried the Out-of-band patch worklet available in the worklet catalog however keeps getting command timeout. Thanks
As per title I can see an individual machines last restart information is it possible to generate this information as a report for all devices
We noticed that there are some Winget upgrades available that Automox’s native 3rd party patching seems to miss. We have this script that works in the user context, but we are having trouble making it succeed as a worklet because Automox runs as System. Any advice? # Winget Upgrade All - Silent Execution# Returns exit codes compatible with Windows Task Scheduler loggingtry { # Run winget upgrade for all packages, silently accepting prompts winget upgrade --all --accept-package-agreements --accept-source-agreements --silent --include-unknown $exitCode = $LASTEXITCODE if ($exitCode -eq 0) { Write-Output "SUCCESS: All packages upgraded successfully." exit 0 } else { Write-Output "WARNING: Winget upgrade completed with exit code $exitCode." exit $exitCode }}catch { Write-Error "ERROR: Failed to execute winget upgrade. $_" exit 1}
I’m fairly new to the community and wanted to ask whether anyone has successfully used Automox to upgrade Windows 11 Pro to Windows 11 Enterprise by applying an Enterprise product key. I haven’t been able to find an existing worklet that handles this. Has anyone implemented this process, and if so, what approach or recommendations would you suggest?
Hello Automoxians!I wanted to share a worklet I came up with after having some challenges with the existing Flash Removal worklet. The worklet would run, but due to various ActiveX challenges and other issues, I was always dealing with things like the Flash.ocx control getting left behind which would continue to trigger our vulnerability scanner. I finally took the Automox provided worklet and made some enhancements and came up with the following script that works every time (at least thus far!). I hope this helps someone else out there!Detection<#.SYNOPSIS Windows - Software Lifecycle - Uninstall Adobe Flash Player.DESCRIPTION This worklet checks for instances of Adobe Flash Player, and if found, flags the device for remediation to uninstall the application. It will also clean up any residual files left behind by Adobe Flash Player. Since Adobe no longer supports Flash Player after December 31, 2020 and blocked Flash content from running in Flash Player beginning Jan
I’ve tried multiple methods now and still can’t get a reliable notification to appear for the logged-in user through an Automox worklet. I’ve tested toast notifications, msg.exe, WPF MessageBox popups, scheduled tasks, payload files, and different execution contexts, but so far nothing consistently displays to the end userMy goal is simple: Show one popup reminder on Day 8 of uptime Do nothing on Day 9 On Day 10, show a popup and schedule a forced reboot in one hour At this point, I’m not sure whether the issue is with my worklet, Windows restrictions, or something in my environment that’s blocking all UI attempts.Could someone please advise, or share a known-working solution or best practice for displaying user-facing notifications from an Automox worklet? Even a simple working popup example would help so I can verify whether the limitation is environment-based or script-based.Thank you. I’ve genuinely tried everything I can think of and would really appreciate any guidance.
For some reason, Bitlocker will not resume on some remote Dell workstations. I suspect this has to deal with not being connected to the domain when booting up/logging in. After many attempts, I finally got a working script that will resume Bitlocker even if they are not on the VPN. This has been driving me crazy for months. Hopefully this will help others. Evaluation# Check BitLocker status on C:$bitlockerStatus = Get-BitLockerVolume -MountPoint "C:" | Select-Object -ExpandProperty ProtectionStatus# BitLocker Status Legend:# 0 = Off# 1 = On# 2 = Suspended# Return 1 (non-compliant) if BitLocker is suspended (status = 2)# Return 0 (compliant) if BitLocker is enabled (status = 1)# Return 1 (non-compliant) if BitLocker is off or any other statusif ($bitlockerStatus -eq 2) { Write-Output "BitLocker is suspended." exit 1} elseif ($bitlockerStatus -eq 1) { Write-Output "BitLocker is enabled and active." exit 0} else { Write-Output "BitLocker is not enabled or in unknown state."
Hello!Has anyone successfully tried to do something like...choco install notepadplusplus...in an Autromox worklet?It seems like such a simple and glorious thig to do - but alas like most simple and glorious things, it doesn’t appear to work from inside a worklet.Any ideas?Cheers,Mark
Looking to make a simple worklet to Flush and Register the DNS of a single machine or multiple machines. Noticed there was not a worklet in the catalog.
Good morningWhat is the best to implement and utilize MSP files with AutoMox. I have tried both required software and creating a worklet with the simple PowerShell command that works when run locally on my machine. Has anyone gotten this to work?
Does anyone have a worklet to install Winget (Windows Package Manager)
I want to deploy the Windows App. I have downloaded the .msix https://apps.microsoft.com/detail/9N1F85V9T8BN?hl=en-us&gl=US&ocid=pdpshare I am copying it to C:\Installs using this command - Copy-Item "Windows_App_2.0.704.0_X64_msix_en-US.msix" "C:\Installs\Windows_App_2.0.704.0_X64_msix_en-US.msix" -ForceThat works fine but I can’t get it to install using Add-AppPackage with this command - Add-AppPackage -Path "C:\Installs\Windows_App_2.0.704.0_X64_msix_en-US.msix"Does anyone have any idea how I can have Automox install this .msix? Thanks!
HiyaI am having no luck uninstalling Copilot via Worklets. Neither the Office365 or Windows app. Has anyone been able to, and if so, what Worklet did you use? What is the secret?!Thanks [removed by moderator]
Hi everyone,Trying to create a simple worklet to uninstall the Microsoft Copilot app, but not the Microsoft365 Copilot app (2 different apps). This one line scripts locally, but doesn’t work on Automox. When running it, I simply get this message: {"args":"","response":"[\"0\",null,null]"} Any thoughts? From my testing, the Gep-AppxPackage is the only command that works for the Microsoft Copilot app.
Checks to see if Zabbix is installed and if not, installs it. Covers Centos and Ubuntu, but can be extended for other Linux flavors fairly easily. Evaluation code: #!/bin/bash service=zabbix_agent if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 )) then exit 0 else exit 1 fi Remediation code: #!/bin/bash #Get OS os_id="$(grep -w ID /etc/os-release | cut -d'=' -f2)" #Functions centos () { if [ $os_ver == '8.0' ]; then #Remove all dirty packages rpm -e zabbix-release-* #Get the Package rpm -Uvh http://repo.zabbix.com/zabbix/4.0/rhel/8/x86_64/zabbix-release-4.0-2.el8.noarch.rpm #Clean and Install with Yum yum clean all yum -y install zabbix-agent #Overwrite the conf file with attached cp zabbix_agentd.conf /etc/zabbix/zabbix_agentd.conf #Edit config to personalize for new system CONFIGPATH="/etc/zabbix/zabbix_agentd.conf" TARGET_KEY="Hostname" REPLACEMENT_VALUE="$(hostname)" sed -c -i "s/\($TARGET_KEY *= *\).*/\1$R
I had a need to remove the pre-installed Office 365 components. Thought I would share. Its a little messy and unrefined, but I tested it and its working. I’ll post update after I clean it up a little. Evaluation<#.SYNOPSIS Uninstall Application by Name - Evaluation Script OS Support: Windows 7 and above Required modules: NONE.DESCRIPTION This worklet is designed to grant an Admin the ability to uninstall an application with minimal knowledge of the bitness, installer type, or uninstall command line. By placing an application name between the single quotes, the worklet will scan the registry for the matching application. If the application is found, it will exit with an Exit code of '1' and flag the device for remediation. Usage: $appName: The application name provided must match exactly as it is displayed in "Programs and Features" (Add or Remove Programs) for Win7/8.1, and "Apps and Features" for Win10. Universal Windows Platform (UWP) applications are
We are trying to deploy several dmg packages to a Mac via Automox. I am setting them as required software. Here is the script: #!/bin/bashDMG_PATH="/path/to/Avid_Link_25.5.1_Mac.dmg"MOUNT_POINT=$(mktemp -d /tmp/avidlink.XXXXXX)echo "🔧 Mounting DMG to $MOUNT_POINT..."hdiutil attach "$DMG_PATH" -mountpoint "$MOUNT_POINT" -nobrowse -quiet# Confirm mount succeededif [ ! -d "$MOUNT_POINT" ] || [ -z "$(ls -A "$MOUNT_POINT")" ]; then echo "❌ Mount failed or mount point is empty. Exiting." rmdir "$MOUNT_POINT" exit 1fi# Locate the .pkg filePKG_PATH=$(find "$MOUNT_POINT" -name "*.pkg" | head -n 1)if [ -z "$PKG_PATH" ]; then echo "❌ No .pkg found. Unmounting and exiting." hdiutil detach "$MOUNT_POINT" -quiet rmdir "$MOUNT_POINT" exit 1fiecho "📦 Installing package: $PKG_PATH"sudo installer -pkg "$PKG_PATH" -target /echo "🧹 Unmounting DMG..."hdiutil detach "$MOUNT_POINT" -quietrmdir "$MOUNT_POINT"echo "✅ Avid Link installed successfully."The script gives this output. Any ideas on why
We are getting ready to deploy Bambu Studio to some of our computers. I am testing the deployment on 2 machines. The software installed on one machine but the other just report Failed to install software. Is there a log file on the machine I can look at to find out what the issue is? # Define variables$InstallerName = "Bambu_Studio_win_public-v02.02.02. [removed by moderator] .exe"$ExpectedAppPath = "C:\Program Files\Bambu Studio\bambu-studio.exe"# Execute installer silentlytry { Start-Process -FilePath $InstallerName -ArgumentList "/S" -Wait -NoNewWindow}catch { Write-Error "Installation failed: $_" exit 1}# Validate installationStart-Sleep -Seconds 5if (Test-Path -Path $ExpectedAppPath) { Write-Output "Installation completed successfully."} else { Write-Error "Installation verification failed. Bambu Studio not found at expected location." exit 1}
Shout out to the 2 authors of this worklet: John Guarracino and Eric Liles. We’re a little late in updating all of our laptops to Windows 11 but this past month we successfully updated all of our 200 laptops using the Windows 11 Feature Update worklet. The worklet was easy to setup and the downtime for the users was minimal. Thanks!
Hi,We’ve been a Automox client since May 2022.When we started to deploy the Automox Agent to our end user Windows 10 and 11 laptops we ran into a problem after about a month when a not insignificant amount stopped communicating with the Automox console. Without exception, when we investigated we found the Automox Agent wasn't running on the end point. Starting the service or restarting the machine would fix it.Reviewing amagent.log would present messages about abnormal closure to websocket.2022/09/25 00:54:07 stompclient.go:399: Error in axstomp readframe: websocket: close 1006 (abnormal closure): unexpected EOF2022/09/25 00:54:07 stompclient.go:437: Consumer error: websocket: close 1006 (abnormal closure): unexpected EOFWe were told the root cause was because our end users connect to a corp VPN and that the momentary change in connectivity for those devices was causing the Automox agent to to crash. While I understood the logic, I felt the agent should be able to handle a change in co
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.