Bulk change Windows local users from Administrator to Standard in HexnodeSolved

Participant
Discussion
1 day ago Jun 09, 2026

Is there a way to roll out Windows local user role changes to all devices from a Hexnode policy?

I can change a local account from Administrator to Standard from the Local Accounts section on each device, but I only see how to do it device by device. Ideally, I’d like to apply this across a group of Windows devices.

Also, after changing a few users to Standard, some of them still seemed to retain admin rights and could install software even after logging out and back in. What’s the correct way to verify that the role change actually applied?

Replies (4)

Marked SolutionPending Review
Hexnode Expert
1 day ago Jun 09, 2026
Marked SolutionPending Review

Hexnode currently does not provide a direct policy setting to bulk-change local Windows user roles from Administrator to Standard across multiple devices in one step. When using the Local Accounts tab, the role change is applied per device. For bulk changes, you can use one of these approaches:

  1. Execute a PowerShell script in bulk

    • Go to Manage > Devices.
    • Select the target Windows devices.
    • Click Actions > Others > Execute Custom Script.
    • Choose Windows as the platform and run a script that removes the required user from the local Administrators group or changes the account role as needed.
    • This is the recommended option if IT needs to demote admin users across multiple Windows endpoints.

  2. Use Self Service for temporary privilege elevation

    If the goal is to keep users as Standard users but allow temporary admin access when needed:

    • Go to Policies > New Policy > Windows.
    • Navigate to Configurations > Self Service.
    • Enable the option Allow user to elevate standard account to administrator.
    • Configure the allowed duration or daily usage limits.
    • Assign the policy to the required device groups.

This does not bulk-demote existing administrators, but it helps manage temporary admin access securely after users are standard users.

Marked SolutionPending Review
Participant
17 hours ago Jun 09, 2026
Marked SolutionPending Review

That makes sense. For a small group, I’ll probably just change them manually from Local Accounts. One issue I noticed: after setting a user to Standard, they still appear to have admin rights on the Windows device. They logged out and logged back in, but they could still install software. Is there a delay, or is there something else I should check?

Marked SolutionPending Review
Hexnode Expert
13 hours ago Jun 09, 2026
Marked SolutionPending Review

If a Windows user still appears to have administrator privileges after changing the role in Hexnode, verify whether the change actually reached the endpoint and whether the local account data has refreshed. Check the following:

  1. Verify the action status

    • Go to Manage > Devices.
    • Open the affected Windows device.
    • Check the Action History.
    • Look for the Change User Role action.

    Confirm that the status is Success. If the action is Pending, In progress, or Failed, the role change has not fully applied to the device. This can happen if the device is offline or the Hexnode agent has not completed the command.

  2. Sync local accounts

    • Open the device page in Hexnode.
    • Use Actions > Sync Local Accounts.
    • After the sync completes, check the Local Accounts tab again.

    This helps confirm the current role reported from the device instead of relying on stale account information.

  3. Restart the Windows device

    A logout/login is often enough, but a full restart is recommended after demoting a user from Administrator to Standard. Windows may keep active administrator tokens in the current session until the session is fully terminated. Restarting the device helps ensure the user signs back in with the updated Standard privileges.

Marked SolutionPending Review
Participant
4 hours ago Jun 10, 2026
Marked SolutionPending Review

The Action History and local account sync checks pointed me in the right direction. I’m handling the current batch manually, but for a larger rollout I’ll use the PowerShell script method instead of changing each device one by one.

Save