Greetings,
I'm familiarizing myself with PreStage Enrollments, and while for the most part it's going well, there are a couple things I was hoping to get some feedback on.
The first may be a simple setting that I'm just missing - applying a Mac's previous name once the enrollment is complete (or during if that's where it needs to take place). For example if I had a Mac called "Mac-99" that's in my Jamf Pro system, and I wipe it, once the PreStage Enrollment is complete (or during) is there a way to apply it's previous computer name "Mac-99" to it? Right now, it gets placed back into it's previous groups, and it get its previous Config Profiles applied back to it. However it does not receive its previous name, and now has the default macOS assigned name of "iMac".
The second conundrum I'm facing it trying to get a post-enrollment script to run that correctly enables ARD, and grants all access to the local admin account that gets created during the enrollment. The account gets created, and works (I can login with it and it is an admin account), however I have scoured the inter webs and tried many different scripts that folks have suggested, and none seem to work. Once it's reporting into Jamf, I can select "Enable Remote Desktop" from the Management category, which does work at simply activating ARD, but that alone of course does not grant any user access. What I'm needing is for a Mac (once done with the PreStage Enrollment) to have ARD activated, and grant the local admin account access to ARD with full permissions.
Again I've tried numerous scripts, some even from here in other Jamf Community posts, however none are working.
Macs are all running Monterey by the way.
Thanks in advance for any help.
Matt