Deploying a Local Admin Account to Multiple TargetsSolved

Participant
Discussion
5 days ago

Hello,

I’ve been tackling some admin tasks on a bunch of Windows devices at work lately. I keep having to switch a standard account to an admin one and then back again when I’m done, it’s honestly a bit of a hassle every time. I’m thinking it might be easier to just set up local admin accounts on all the devices instead. Any friendly advice or tricks you’d recommend for making this process easier? I’d love to hear your thoughts.

Thanks so much!

Replies (5)

Marked SolutionPending Review
Participant
5 days ago
Marked SolutionPending Review

Hey there, it sure sounds like a hassle to even think about. Have you tried temporarily changing the user role instead? I came across this in the Hexnode documentation—might be worth a look: Hexnode – Manage Local User Accounts

Marked SolutionPending Review
Participant
5 days ago
Marked SolutionPending Review

Thanks for the suggestion, @edmund! I appreciate it, but I’d still need to manually configure each device temporarily with that approach, which I’m hoping to avoid.

Marked SolutionPending Review
Hexnode Expert
5 days ago
Marked SolutionPending Review

Hi @finn, welcome to Hexnode Connect! A great suggestion by @edmund.

To set up local admin accounts on all your Windows devices, you can use Hexnode’s Device Groups feature.

Here’s how to do so,

  1. On your Hexnode UEM console, navigate to the Manage tab.
  2. Click on Device Groups, then create a new group by providing a Group Name and assign the devices to it.
  3. Once the custom group is created, click on Actions at the top right corner of the group.
  4. Creating custom device groups in Hexnode UEM console.

  5. Select the Create User Account action, choose the platform as Windows, and create the admin account.

This would set up administrator accounts on the devices included in the device group. For more information, check out help documentation on creating custom device groups.

Best Regards,
Sienna Carter
Hexnode UEM

Marked SolutionPending Review
Participant
3 days ago
Marked SolutionPending Review

Thanks for the detailed explanation! Quick follow-up though, once I have set up the admin account this way, is there an easy way to remove it across all the devices later when I’m done?

Marked SolutionPending Review
Hexnode Expert
3 days ago
Marked SolutionPending Review

Hey @finn, you can use the following batch script to delete user accounts from Windows devices:

When executing this script via Hexnode, enter the username of the local account in the Arguments field. You can deploy this script using Hexnode’s Execute Custom Script action, targeting the same custom device group mentioned earlier. Please ensure that the username of all local admin accounts you wish to delete is the same for the script to run consistently across all the devices.

For more information, you can check out our help documentation on script to delete local user accounts on Windows.

Best Regards,
Sienna Carter
Hexnode UEM

Save