question

EnterpriseArchitect avatar image
0 Votes"
EnterpriseArchitect asked EnterpriseArchitect commented

How to configure Windows Server core to automatically Set IP, Rename Server and Join AD DS domain ?

People,

When deploying Windows Server Core 201x using any hypervisor, I found out that it is lengthy and hard to manually type the PowerShell script one by one as it is not possible to copy-paste via the console window.

I wonder if there is the better way to streamline and automate the server core deployment with an Answer file or Automatic Powershell Scripting?

Thank you in advance.

windows-server-powershellwindows-server-core
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLaude avatar image
1 Vote"
LeonLaude answered EnterpriseArchitect commented

Hi @EnterpriseArchitect,

Yes you can use an unattend file when installing Windows Server Core, this will enable you to perform most of the initial configuration tasks during setup.

Using an unattend file to install the server directly in Server Core mode
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/jj574135(v=ws.11)#using-an-unattend-file-to-install-the-server-directly-in-server-core-mode

Windows answer file with domain join
https://docs.microsoft.com/en-us/windows-server/security/guarded-fabric-shielded-vm/guarded-fabric-sample-unattend-xml-file#windows-answer-file-with-domain-join

Create OS specialization answer file
https://docs.microsoft.com/en-us/windows-server/security/guarded-fabric-shielded-vm/guarded-fabric-sample-unattend-xml-file


If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!


Best regards,
Leon

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LeonLaude do I have to inject those files into the .ISO file or how can the newly installed VM read that Unattended file?

0 Votes 0 ·