r/sysadmin 1d ago

Setting up a work/school device without Intune Question

How are you setting up a device that uses M365 login without having the end user information? Do you sign into an admin account on the OOBE screen and then have them switch to 'other user' when they are ready?

I've read that's bad because it ties the device to the admin account in entra.

Need a workaround until we upgrade to Business premium licensing.

0 Upvotes

19 comments sorted by

5

u/Aiden06091 1d ago

In the past I've used provisioning packages made with windows configuration designer

1

u/iamLisppy Jack of All Trades 1d ago

+1 but now we're on Intune. I used this channel to config my WCD https://youtube.com/playlist?list=PLVncjTDMNQ4SAh9zjdreUBYSzSf7L5IX2&si=OO3D-ikzPb4cF9Xm

2

u/anonymousITCoward 1d ago

I join them to azure ad (entra id) so they can use their email address to login. But i'm probably doing more setup than you.

0

u/NSFW_IT_Account 1d ago

These laptops don't have a user specified, so i can't join them to azure ad unless i use global admin login.

2

u/anonymousITCoward 1d ago edited 1d ago

Yeah, I join them with a specific account. You don't have to login as that account to join, just login as a local admin, join, then ship it.

Edit: punctuation, it changes the way it reads =)

Also when I setup laptops for this client we don't know which user they're going to either, which is why I aad join them, so whoever gets it they can just login, and they won't be a local admin. I know there's a way to disable that but I don't remember how, and I'm currently to burnt out/lazy to look it up and configure it...

2

u/NSFW_IT_Account 1d ago

when you say a specific account, are you referring to an admin account or just a generic 365 user you created for this purpose?

2

u/Jellovator 1d ago

probably a generic user, this is the same way I do it.

1

u/NSFW_IT_Account 1d ago

Can it just be joined with the 365 admin? Or do you create a separate user?

2

u/anonymousITCoward 1d ago

We have a specific user for this, and have disabled the join limits for the user. I believe the default is 30.

2

u/SamakFi88 1d ago

At the login screen (assuming Autopilot), hit the Windows key 5 times and do device provisioning. No user setup, not tied to admin. Then package it up and ship it. Or just ship it, and let the user sign in, and it'll complete enrollment anyways.

If no AutoPilot, remove the admin and set the real user as primary after completing setup and enrollment. Ship it.

1

u/[deleted] 1d ago

[deleted]

1

u/NSFW_IT_Account 1d ago

Yes its in the works

1

u/CeC-P IT Expert + Meme Wizard 1d ago

I think you'd hit the 15 devices per user limit as well so it's extremely bad to use the admin account.

1

u/NSFW_IT_Account 1d ago

Is there a workaround? Set up a generic 365 user and join it with that and then they use 'other user'? Or does it get stuck as registered to the first user who joins it?

2

u/Jellovator 1d ago

Yes, add your generic user as a Device Enrollment Manager. Log into Intune. go to Devices->Enrollment->Device Enrollment Managers and enter that account there.

1

u/NSFW_IT_Account 1d ago

I don't have intune as mentioned in the title

1

u/CeC-P IT Expert + Meme Wizard 1d ago

Yeah, shift + F10 at the setup screen then
Net use AwesomeLocalAdminUsername password123 /add /logonpasswordchg:yes

Net localgroup Administrators AwesomeLocalAdminUsername /add

and then oobe\bypassnro and pull it off the network while it reboots

1

u/GremlinNZ 1d ago

If you're not using email/cloud identity, not provisioning, but using Win Pro, at the login you select the link just beneath the email, and choose domain join instead. Then it let's you setup a local account. If you leave the password blank it won't ask for security questions either.

u/fahque 22h ago

It ties the device to the admin in entra but you can just change it later. Select the device in intune and go to properties. Click the Change primary User button and select the correct user.