Category filter

Script to display all the users on Windows 10 devices

Administrators need to keep tab on users accounts in their corporate devices for effective user management. Hexnode users can deploy scripts to get the details of all the users on a Windows 10 device.


The Sample Scripts provided below are adapted from third-party Open-Source sites.

Batch Script

Powershell Script


  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository