List admin accounts on Windows devicesSolved

Participant
Discussion
1 week ago

Hi! Is there a way to get a list of all administrator accounts on my device? Any suggestions?

Replies (2)

Marked SolutionPending Review
Participant
6 days ago
Marked SolutionPending Review

Hi @wilma!

You can retrieve the list of administrator accounts using a simple command. Run the following in the Windows Command Prompt:

Alternatively, you can use PowerShell with the following command:

Marked SolutionPending Review
Hexnode Expert
3 days ago
Marked SolutionPending Review

Hi @wilma,

The commands suggested by @emersyn are spot on. I’d like to suggest another approach that might be helpful as well. You can use the following PowerShell script to get a detailed list of admin accounts on your Windows device:

If your Windows device is enrolled in Hexnode UEM, you can use the Execute Custom Script remote action to retrieve the list of admin accounts. Otherwise, you can run the script using Windows Terminal.

List of admin accounts

Hope this helps! Let me know if you have any further questions.

Regards,
Ben Clarke
Hexnode UEM

Save