rafallz10100 / AutopilotV2

Device Serial Number Import Tool for Intune Autopilot V2
5 stars 0 forks source link

No an issue but a question #1

Open edthefixer opened 1 week ago

edthefixer commented 1 week ago

How do you suggest this can be incorporated so it launches automatically during OOBE?

bekmand commented 6 days ago

Wait why do you want to do that?

Edit: just to clarify, if you already want to run something doing oobe, you can easily use sccm or whatever tooling to get it, there is the autopilot info script you can run to do this

rafallz10100 commented 22 hours ago

It's hard to do it automatically. The file/script would have to be in the system already at the OOBE stage.

I think the only solution is to properly prepare the operating system image via SCCM/WDS, which will contain a script with a scheduled task that will generate the script and send it to Intune. On the other hand, you have to provide a credential for Intune, you can of course embed it in the script itself, but I don't think it's a safe solution.