Creating local users with Intune

Posted by

Just a quick post regaring creating local user account with MDM, Microsoft Intune. Got a couple of questions regarding possibility to create local user accounts with Intune, and that is possible with custom URIs.

Please give it a like if simple posts like this are useful.

Create a new Device configuration profile for Windows 10 and later of profile type Custom.

Add two OMA-URI Settings

2019-05-13_22-30-08 create user

Name
Account Type

Description
User account type

OMA-URI
./Device/Vendor/MSFT/Accounts/Users/kioskUser/LocalUserGroup

Value
1 (Integer) for Standard user
2 (Integer) for Local administrator

Name
Password

Description
Create user and password

OMA-URI
./Device/Vendor/MSFT/Accounts/Users/kioskUser/Password

Value
123 (String) This is the password

 

Create the profile and add preferably assign it to a group containing Azure AD devices, such as a group containing the same devices as an Autopilot profile.

 

Reference

https://docs.microsoft.com/en-us/windows/client-management/mdm/accounts-csp

 

Advertisements

2 comments

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.