Hi guys,
I am trying to understand what the property "DeleteAccounts" in a OSCustomizationSpecs really does?
This is my case that raises my question:
I do have a Windows 2012R2 template that I use to provision VM's using PowerCLI.
I keep bumping into the case, that the OsCustomization deletes the account I have, and creates a new one. The issue I have with that, is that I have a startup script in the Start Menu/startup folder which is then deleted.
I tried without the ChangeSID parameter, but according to this article, ChangeSID is actually a mandatory parameter for all Windows Server machines.
i was hoping that "DeleteAccounts" set to $false would not delete the existing accounts (thus, my administrator account),but apparently this is not the case. (Even though $false is the default value).
My main question is the following:
- Since it deletes my administrator account, can anyone tell me what it actually "doesn't" delete? or is this a 'feature'?
Thanks in advance!
Stéphane