Posted on 01-31-2018 07:02 AM
I am just starting to use DEP in our environment and I need a good test setup. Right now I have one mac that our vendor setup for me to go into our DEP environment.
After I enroll this test device do I have to wipe it clean before re-enrolling an testing? I want to test polices, preferences, self-service etc.. and to keep testing until its ready for production.
How do you do it?
Thanks
Solved! Go to Solution.
Posted on 01-31-2018 07:36 AM
I run DEP testing in a VM. With a few snapshots, I can rapidly test my configs. The only catch is you need a real sn.
More Info Here
Posted on 01-31-2018 08:24 AM
If you read the post it explains how to build the vm for testing with DEP ;)
Basically you spoof the serial # of your VM with a serial # from actual hardware.
Posted on 01-31-2018 07:26 AM
Run this on your DEP testing computer, it'll bring it back to a state that will kick off DEP on reboot. Also, VMs will be your friend as well
sudo rm /var/db/.AppleSetupDone
sudo jamf removeFramework
sudo rm -rf /var/db/ConfigurationProfiles
sudo rm /Library/Keychains/apsd.keychain
Posted on 01-31-2018 07:36 AM
I run DEP testing in a VM. With a few snapshots, I can rapidly test my configs. The only catch is you need a real sn.
More Info Here
Posted on 01-31-2018 08:07 AM
So how do you get the VM's into your Apple Deployment environment so jamf can see it as a Mac ready for DEP enrollment?
Posted on 01-31-2018 08:24 AM
If you read the post it explains how to build the vm for testing with DEP ;)
Basically you spoof the serial # of your VM with a serial # from actual hardware.
Posted on 01-31-2018 10:10 AM
+1 @rderewianko. Doing the same thing here!
Posted on 02-14-2018 08:09 AM
I tried and got this error
Posted on 06-03-2020 07:06 AM
Does this process still work with Jamf 10.21 and Catalina 10.15.4? I do not trigger Remote Management in a VMware VM, but the physical machine with the same serial does trigger.
Posted on 06-03-2020 07:48 AM
@davidi4 The serial numberand model number must be correct, and you have to set them before doing the macOS install on the VM. See this thread for more discussion: Enrolling OSX virtual machine into JSS - Issues
Posted on 06-03-2020 07:54 AM
There is additional information in Traveling Tech Guy's article, following his steps actually worked for me - I believe the addition of the reflectHost = FALSE lines were key:
serialNumber.reflectHost = "FALSE"
serialNumber = "C02NXXXXXXX"
hw.model.reflectHost = "FALSE"
hw.model = "MacXXXXX#,1"
smbios.reflectHost = "FALSE"
https://travellingtechguy.eu/vmware-dep/
Posted on 06-03-2020 09:55 AM
I build and test in a VM, but before final sign-off run on actual hardware. We've collected retired hardware and on occasion have an opportunity to intercept new gear before it gets to the user. Gives us a variety of actual hardware to test from. We always try to test at least one model of laptop and a later model iMac.