Skip to main content

Hi all, 

 

We are currently making use of the Windows 11 Feature Upgrade worklet (Windows - Configuration - Windows 11 Feature Upgrade) and this had been working quite nicely for us, however we are recently experiencing and issue whereby this does not seem to be working. 

Upon checking the logs of devices, we are seeing that they have: 

 

{"args":"","response":"s\"124\",\"Device is on a Windows 10 build. Running the Windows 11 Readiness Check to determine eligibility for the Feature Upgrade.\\r\\nEligibility check passed.\\r\\nDevice is Windows 11 Ready.\\r\\nFlagging Device for remediation.\",\"COMMAND TIMED OUT.\"]"} 


Please can somebody advise of how I can review why these are timing out and perhaps up the timeout limit to ensure that this is back working? 

 

Thanks! 

Hi ​@Marshyp !

Exit 1 exit codes are redirected as the Automox agent as 124 / COMMAND TIMED OUT so this is expected behavior and the Worklet itself isn’t actually timing out on you.
Source: https://help.automox.com/hc/en-us/articles/31574284549268-Activity-Log-Shows-Command-timed-out

Any non-zero exit value in a worklet’s evaluation code will trigger the Worklet’s remediation code to run on your defined schedule.

If you’d like to get the full non-redirected exit output from the worklet’s evaluation code, you can change the Exit 1to any other non-zero exit code value. For example Exit 99.

Let me know if you have any other questions!


Hi ​@Marshyp !

Exit 1 exit codes are redirected as the Automox agent as 124 / COMMAND TIMED OUT so this is expected behavior and the Worklet itself isn’t actually timing out on you.
Source: https://help.automox.com/hc/en-us/articles/ eremoved by moderator] -Activity-Log-Shows-Command-timed-out

Any non-zero exit value in a worklet’s evaluation code will trigger the Worklet’s remediation code to run on your defined schedule.

If you’d like to get the full non-redirected exit output from the worklet’s evaluation code, you can change the Exit 1to any other non-zero exit code value. For example Exit 99.

Let me know if you have any other questions!

Ahh! That actually makes a lot of sense, thank you for that.

Curious as to why it’s Exiting on a non-zero exit value then, given that it should just be updating via the Update Assistant. I’ll change the exit code and see if we can work that out. Thank you.


No problem!

The output of that evaluation code reads to me that your device is “Windows 11 ready” and eligible to receive the Windows 11 upgrade. The remediation code is then being triggered to run via the evaluation code’s non-zero exit value. The remediation code is what would perform the Win11 upgrade via the Windows Installation Assistant tool.