Category filter

Troubleshoot password policy issues on Windows devices

With Hexnode UEM, IT admins can enforce password policy on Windows devices. However, the policy association might fail due to several device-specific reasons. This document provides insight into some troubleshooting measures which you can adopt to solve issues that might occur while associating a password policy on Windows devices via Hexnode UEM.

1. Password policy not getting associated with the device successfully and returns an error message stating ‘Invalid Payloads’.

Probable cause:

This can be caused if there are any password change restricted users on the device.

Solution:

Try executing the following script to check whether there is a password change restricted user on the device. You can use the Execute Custom Script action to execute a script.

Output showing the number of password restricted user accounts on the device

If the code returns an output stating that restricted user accounts are present, then execute the following script. It removes the password change restriction of the users.

Output showing the password change restriction is removed from all user accounts

Note:


In the case of Windows devices enrolled via Native Enrollment method, you would have to manually disable the ‘User cannot change password’ setting on the device end before associating the password policy again. Follow the below steps to remove the password change restriction of a user:

  1. Sign in from an administrator account.
  2. Press the Windows + R key simultaneously. Type ‘compmgmt. msc’ in the run box and Click OK.
  3. Navigate to Computer Management (Local) > System Tools > Local Users and Groups > Users.
  4. Double-click on the user’s name whose password change restriction you want to remove.
  5. Under the General tab, uncheck the option ‘User cannot change password’.
  6. Click Apply and then press OK.
  • Troubleshooting Guides