@John Gallacher I saw your message right when I got out of bed, and needed to wake up a bit. What I sent you originally will work, but this is more detailed below.
I’ve done this before, and from what I recall, I had to create a temporary local admin account. The reason I had to make a local admin account was that the original admin account that was built in with the password that we had at the time seemed to get disabled after the sys-prep. Long story behind this, and I’ll never forget it as it gave me PSTD(LOL). It was Christmas Eve at 6 PM, and I got a call that I had 30 users who couldn’t connect to their MCS persistent machines, and from what I found out, the Datastore had gone offline. Basically, the LUN dropped its backing. So, long story short, I lost a golden image and the 30 machines. To make matters even worse, the folks who did the admin side didn’t back the data up. In my mind, I said OKAY, let's spin up a new image and install the software really fast. They explained that the software was installed by a previous person, and it was super complex, and they did not have a clue about what went into the main app that the title agency needed. Basically, they(users) could not close house loans that they promised their customers. Their customer the ones who applied for the house loans, had to have them approved by the 24th of December. I had to think fast and my customer was in a panic mode big time; I used the following to get them out of a pinch.
• Create a local Admin account (temporary)
• Then, could you clone it in your hypervisor! This also assumes that you have an on-premises hypervisor. You can go into the VM object and detach the Nic.
• Snapshot the clone, so if something happens, you can start back at the snapshot.
• Power it on and log in with the temporary local admin you created.
• Remove the VDA. Reboot and do any cleanup that you need to do on the clone.
• Run system prep out-of-the-box experience.
• Set the machine back up as if it were a brand-new image out of the box.
• If needed, add to the domain (but not needed ideally)
• Reinstall the VDA and do any optimizations or whatever task you need to do it, such as removing any Ghost Nics.
• Seal it and shut it down.
• Depending on how you manually provision.
• If you use MCS with thick clones, MCS will handle all the parts for you.
• If you’re using the old-fashioned, traditional manual catalog way. You need to manually create the VMs from the clone. Create a Template if you can or have the option to do so.
• Either way, spend up the MCS device from the clone, which should register with the DDCs.
• Handoff to the customer
• Have some beers