24 C
Dubai
Thursday, March 28, 2024

Create Local Admin Account Using Intune

Create a Device Configuration Profile

Navigate to > endpoint.microsoft.com

Create new custom policy

Add OMA-URI Settings (Create User)

Create New User Using OMA-URI Settings

OMA-URI

 ./Device/Vendor/MSFT/Accounts/Users/localadmin/Password

Add another OMU-URI (Add user to Admin Group)

Add localadmin User to Administrator Group

OMA-URI

./Device/Vendor/MSFT/Accounts/Users/localadmin/LocalUserGroup

Select a Device Group

User Created & Added to Administrator Group

Dinesh D P
Dinesh D P
As a seasoned Senior DevOps Engineer at Virtual Petals, I bring a wealth of expertise in Microsoft Cloud, DevOps, and the Microsoft 365 Stack. With a track record of delivering successful projects across the globe.

Related Articles

3 COMMENTS

  1. How do you stop this erroring even if it is run correctly?

    Each setting status for these settings comes back as Error and error code -2016281112

    Then it tries to rerun the next time you logon.

  2. The error code -2016281112 is a Remediation Failed error message in Intune 1. This issue occurs because, in certain scenarios, the response that is sent by the Windows 10 client includes XML that is formatted differently than the XML that is sent through the Intune policy 1. You can safely ignore this error because the connection works as expected.

    https://learn.microsoft.com/en-us/troubleshoot/mem/intune/device-configuration/device-configuration-profile-reports-error-2016281112

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?