I have created an MacOs mojave for running on VMware fusion 11 and corrected serial number and hardware model of the VM, so it matches an real mac
However, when enrolling the MDM profile it still shows the "Profile installatoin failed" with error "MDMresponseStatus: 500 error. And I have checked entries in jamf and it does not contain this computer
Anyone have some working VMware mojave running and how this is done ?. Just want to test some basic about workflows etc, so It is not for DEP
While waiting to hear from the vfuse guy, I went ahead and tried the process listed on the Travelling Tech Guy link that @sharriston kindly provided.
However, at the step that begins “Add the following lines to the .vmx file….” I used the excellent script that @donmontalvo posted earlier in this thread instead of the particular edits to the .vmx that Travelling Tech Guy suggested. I stuck to the remaining steps on that Travelling Tech Guy's page, to the letter, however.
The result is that I have a macOS Catalina guest that enrolled with my very large customer's very large jamf setup. Absolutely no problem. Thanks to all who have contributed to this thread.
@cjames or anyone else here know - does Parallels "just work" - or does it require similar steps? Mind you I'm a diehard VMWare user but "asking for a friend"...
@Sterritt The issue is that to do a DEP/ADE enrollment the VM must present itself as an actual Mac, which includes a model ID matching the serial number, so Parallels will require similar configuration changes to make that happen.
@sdagley well heck, we're not using ABM (was DEP) yet, so guess that's why we don't see the problem some others are.
Hi everyone -- anyone has success with ldap authentication with prestage enrollment?
To build your DEP Mac
sudo /usr/local/vfuse/bin/vfuse -i /Applications/osx_10.14.6-18G103.apfs.dmg -n "MojaveOS_8WP" -s enter Mac Serial number --hw-model MacBookPro15,1
@Zackn9ne I have been banging my head against a wall for days on this and your script worked like a charm! Thank you! FYI my host is running Big Sur 11.2.3 and running a Catalina 10.5.7 VM on Fusion 12.1.1 so no compatibility issues here.
There are a few things that need to be set. This article has made mine work every time.
The information at the shared link works like a dream.
Thank you!
One thing that is not stated often or clearly enough is that YOU MUST BUILD THE VM WITH THE SERIAL NUMBER embedded. You cannot add/change it later. At least, that’s been my experience with enrolling VMs and while I haven’t tried DEP I hear it’s equally necessary to use a valid S/N there. I recommend one of your broken Macs down for repairs...
Update - I just used @ScottSimmons method with a couple minor hiccups; for example I did not know that AutoDMG will only build a DMG for an OS that you're running on; it rejected my attempt to make a Mojave DMG on a Catalina Mac. Likewise the command string I'd typoed the command string for vfuse. I'm super-excited to see this work, as it means I can roll new VMs for testing with a one-line script - and with the key first snapshot in place! (You don't know how many times I've made a VM or a clone of a snapshot and made my change and then smacked myself in the forehead because it really would have been nice to revert to that snapshot. I'm not sure why that isn't a default behavior when you clone VM - to snapshot its first state.)
absolutely and this took me a minute to understand, but the instruction here and that were shared DO indicate that step:
https://travellingtechguy.eu/vmware-dep/
Ok, so, my turn to bang my head against the wall. Been picking away at this all night with little to no success... Using newest Fusion (Professional Version 12.2.1 (18811640) ). VM is Big Sur 11.6.2. I have edited the .vmx file with everyone's different suggestions, to no avail.

Using URL enrollment... https://<instance>.jamfcloud.com/enroll
It will push the MDM Profile, but never the rest...

Any new thoughts around this?
Thanks!
//dp
Ok, so, my turn to bang my head against the wall. Been picking away at this all night with little to no success... Using newest Fusion (Professional Version 12.2.1 (18811640) ). VM is Big Sur 11.6.2. I have edited the .vmx file with everyone's different suggestions, to no avail.

Using URL enrollment... https://<instance>.jamfcloud.com/enroll
It will push the MDM Profile, but never the rest...

Any new thoughts around this?
Thanks!
//dp
Yeah, manually editing the file never worked for me either. Thankfully,
this script works like a charm: https://github.com/zackn9ne/make_jamf_vm
Good luck!
-hm80
Still no go... I am not sure what the hang up is.... Any further thoughts? What process do you follow to create end to end?
Still no go... I am not sure what the hang up is.... Any further thoughts? What process do you follow to create end to end?
Does the script successfully run? I always choose a random s/n which works for me. I create a new VM with my OS of choice, immediately shut it down, quit VMWare, run the script, then launch the new VM and enroll it.
Does the script successfully run? I always choose a random s/n which works for me. I create a new VM with my OS of choice, immediately shut it down, quit VMWare, run the script, then launch the new VM and enroll it.
Successfully ran the script. can confirm in the VM running and with a cat of the .vmx file. Are you NAT'ing your VM IP or bridging it to the local network? ( I have tried both, to no avail)


Successfully ran the script. can confirm in the VM running and with a cat of the .vmx file. Are you NAT'ing your VM IP or bridging it to the local network? ( I have tried both, to no avail)


I Bridge and choose the name of my connection (Wi-Fi in my case) instead of Autodetect.
Does not work for me. It adds the hw.model but does not add a serial number