I'm only running one physical server at a time (think faux cluster in power saving state). The host/hypervisor's shares which are replicated to other host/hypervisors on the domain, are home to VMs and some TB of data. One of the VMs is the DC, and the shares of the host need to be on the domain. On reboot, host's network location awareness service obviously doesn't see the domain up yet and joins public network. While the DC eventually comes up, it doesn't see the shares, as host isn't on domain. I'm not sure how to address this. The couple things I've tried haven't played out.
I've tinkered with delaying NLA and adding dependencies to the service, which didn't work.
I've tinkered with a startup script that restarts NLA, and while this probably works opening security to scripting makes me squirm.
I read about cached credentials to get the host on the domain, but unsure how this would work automatically for NLA.
What's the proper way to do this?