Hi,
We are trying to setup a service template which will deploy AD services within SCVMM, however, during the "application configuration" part of the deployment we get the following error:
-----
Error (22663)The BITS client job failed to succeed for C:\ProgramData\VirtualMachineManagerData\TempResources\42423cd064574068a6706e4c4c817197\Create2012DC.cmd resource with the following error: The server name or address could not be resolved Error context: The error occurred while the remote file was being processed. Error code: -2147012889Recommended ActionTry the service operation again.
-----
About the environment:
- System Center Virtual Machine Manager 2012 R2 Version 3.2.8145.0
- Library server on the same machine as SCVMM, with unmanaged Shares on NetAPP using CIFS
- Library management credential user has full access to all share
- VM Networks are ticked in the Library Server properties (if we untick the networks, we are unable to deploy any template) andAllow unencrypted BITS transfer unticked
- Custom Resources are located inside the library
- In Fabric, on Host group and All Hosts“Allow unencrypted BITS file transfers” are unticked
About the service template:
- Single tier machine
- Template: Windows 2012 R2 with update
- OS Configuration:
- Admin Password: Local Admin (Run As account)
- Roles: AD-Domain-Services
- Features: AD DS Tools, DNS Server Tools
- Application Configuration:
- Script to Application Profile
- Script command type:pre-install (we also tried post-install with same result)
- Executable program:cmd.exe
- Parameters: /q /c Create2012DC.cmd @Domain@ @DomainNB@ @Safe Mode Admin Password@
- Run As account: Local Admin
- Timeout: 600 seconds
- Advanced:
- Working folder: Payload ( Tried windows system too)
What we also tried:
- Creating scripts that only echo stuff to command line or file- same error
- Creating new custom resources – same error
- Creating new Service and VM templates
- Unticking the networks in the library server
- Removing the Run As Account on the application profile
- Removing the application profile and checking if the roles and features were installed (they were)
It is also worth mentioning that when the application profile is assigned to the service template, the roles and features are not installed and that the application profile task is to configure the AD by running DCPromo
If anyone has any information on where we can go from here, it will be most appreciated.
Thanks