Server Core Step-By-Step Guide
Server Core Step-By-Step Guide
This step-by-step guide provides instructions for building a server in your test lab that is based
on the Server Core installation option of the Windows Server® 2008 operating system. It
includes information about installation, initial configuration, and managing a server that is
running a Server Core installation.
To accomplish this, the Server Core installation option installs only the subset of the binary files
that are required by the supported server roles. For example, the Explorer shell is not installed as
part of a Server Core installation. Instead, the default user interface for a server running a Server
Core installation is the command prompt.
The Server Core installation option of Windows Server 2008 requires initial configuration at a
command prompt. A Server Core installation does not include the traditional full graphical user
interface. Once you have configured the server, you can manage it locally at a command prompt
or remotely using a Terminal Server connection. You can also manage the server remotely using
the Microsoft Management Console (MMC) or command-line tools that support remote use.
The Server Core installation option of Windows Server 2008 provides the following benefits:
Reduced maintenance. Because the Server Core installation option installs only what is
required to have a manageable server for the AD DS, AD LDS, DHCP Server, DNS
Server, File Services, Print Services, and Streaming Media Services roles, less
maintenance is required than on a full installation of Windows Server 2008.
Reduced attack surface. Because Server Core installations are minimal, there are fewer
applications running on the server, which decreases the attack surface.
Reduced management. Because fewer applications and services are installed on a server
running the Server Core installation, there is less to manage.
Less disk space required. A Server Core installation requires only about 1 gigabyte
(GB) of disk space to install and approximately 2 GB for operations after the installation.
In this guide
There is no way to upgrade from a previous version of the Windows Server operating
system to a Server Core installation. Only a clean installation is supported.
There is no way to upgrade from a full installation of Windows Server 2008 to a Server
Core installation. Only a clean installation is supported.
There is no way to upgrade from a Server Core installation to a full installation of
Windows Server 2008. If you need the Windows® user interface or a server role that is
not supported in a Server Core installation, you will need to install a full installation of
Windows Server 2008.
Using an unattend file for a Server Core installation enables you to perform most of the initial
configuration tasks during Setup. Performing an unattended Server Core installation provides the
following benefits:
setup /unattend:<path>\unattend.xml
Note
Appendix A of this document contains a sample unattend file with comments that explain
the settings in the sample configuration. This sample can be modified for use in your
environment.
Note
You can use an unattended setup to configure these settings during installation. For more
information about unattended settings, see the Windows Automated Installation Kit (Windows
AIK) (http://go.microsoft.com/fwlink/?LinkId=81030).
Administrative credentials
If you are going to join a server running a Server Core installation to an existing Windows
domain, you need a user name and password for an account that has the administrative
credentials to join a computer to the domain.
If you close all command prompts, you will have no way to manage the Server Core
installation. To recover, you can press CTRL+ALT+DELETE, click Start Task
Manager, click File, click Run, and type cmd.exe. Alternatively, you can log off and log
back on again.
Because there is no Web browser, you cannot activate a Server Core installation or access
the Internet through a firewall that requires users to log on.
The following procedures explain how to configure a computer running a Server Core
installation. The steps include:
Note
A DHCP address is provided by default. You should perform this procedure only if you need to
set a static IP address.
Joining a domain
2. Make a note of the number shown in the Idx column of the output for your network
adapter. If your computer has more than one network adapter, make a note of the number
corresponding to the network adapter for which you wish to set a static IP address.
3. At the command prompt, type:
Where:
Where:
5. Repeat step 4 for each DNS server that you want to set, incrementing the index= number
each time.
Note
If you set the static IP address on the wrong network adapter, you can change back to using the
DHCP address supplied by using the following command:netsh interface ipv4 set address
name="<ID>" source=dhcp where ID is the number of the network adapter from Step 2.
To join a domain
1. At a command prompt, type:
Where:
ComputerName is the name of the server that is running the Server Core installation.
2. When prompted to enter the password, type the password for the domain user account
specified by UserName.
3. If you need to add a domain user account to the local Administrators group, type the
following command:
4. Restart the computer. You can do this by typing the following at a command prompt:
shutdown /r /t 0
slmgr.vbs -ato
Note
You can also activate by phone, using a Key Management Service (KMS) server, or remotely by
typing the following command at a command prompt of a computer that is running
Windows Vista or Windows Server 2008:cscript windows\system32\slmgr.vbs <ServerName>
<UserName> <password>:-ato
To configure the firewall
Use the netsh advfirewall command. For example, to enable remote management from
any MMC snap-in, type the following:
Note
You can also use the Windows Firewall snap-in from a computer running Windows Vista or
Windows Server 2008 to remotely manage the firewall on a server running a Server Core
installation. To do this, you must first enable remote management of the firewall by running the
following command on the computer running a Server Core installation:netsh advfirewall set
currentprofile settings remotemanagement enable
More information about the command-line tools for configuring the server roles is available in
the Additional references section at the end of this guide.
Note
This section includes a procedure for each server role in the previous list. You need to complete
the procedure(s) for only the server roles that you want to install.
Prerequisites for installing a server role on a server running Server Core installation
A computer on which you have installed and configured a Server Core installation of
Windows Server 2008.
An administrator user account and password for the server running the Server Core
installation.
If installing and configuring a print server, another computer running Windows Vista or
Windows Server 2008 on which you can run the Print Management Console to remotely
configure the print server.
If installing and configuring a DHCP server, the information required to configure a
DHCP scope.
If installing and configuring a DHCP server, you must configure the server running the
Server Core installation to use a static IP address.
If installing and configuring a DNS server, the information required to configure a DNS
zone.
If installing and configuring an Active Directory environment, the information required
to either join an existing domain or to create a new domain.
If you are going to promote the server running the Server Core installation to be a domain
controller in an Active Directory domain, a domain administrator user name and
password.
Known issues for installing a server role on a Server Core installation
You cannot use the Active Directory Domain Controller Installation Wizard
(Dcpromo.exe) on a server running Server Core installation. You must use an unattend
file with Dcpromo.exe to install or remove the domain controller role.
Alternately, you can run Dcpromo.exe on another computer running Windows
Server 2008 and use the wizard to save an unattend file that you can then use on the
server running Server Core installation.
Dcpromo.exe will restart the computer immediately when the installation is complete or
when Active Directory is removed unless RebootOnCompletion=No is included in the
answer file.
The Web Server (IIS) role does not support ASP.NET in Server Core installations.
Because there is no support for managed code, the following IIS features are not
available in Server Core installations:
o IIS-ASPNET
o IIS-NetFxExtensibility
o IIS-ManagementConsole
o IIS-ManagementService
o IIS-LegacySnapIn
o IIS-FTPManagement
o WAS-NetFxEnvironment
o WAS-ConfigurationAPI
To install a server role on a Server Core installation of Windows Server 2008, perform the procedure for
the desired role as follows.
Note
Ocsetup.exe syntax is case sensitive so be sure to follow the examples explicitly.
To discover the available server roles, open a command prompt and type the following:
oclist
This command lists the server roles and optional features that are available for use with
Ocsetup.exe. It also lists the server roles and optional features that are currently installed.
DNS Server role
Note
Using /w prevents the command prompt from returning until the installation completes.
Without /w, there is no indication that the installation completed.
2. Configure a DNS zone at the command prompt by typing dnscmd or by remotely using the
DNS MMC snap-in.
Note
Typing start /w ocsetup DNS-Server-Core-Role /uninstall at the command prompt will
uninstall the DNS Server role.
2. Configure a DHCP scope at the command prompt by using netsh, or by remotely using
the DHCP snap-in from Windows Server 2008.
3. If the DHCP server is installed in an Active Directory domain, you must authorize it in
Active Directory.
The DHCP Server service does not start automatically by default. Use the following procedure to
configure it to start automatically and to start the service for the first time.
Note
Typing start /w ocsetup DHCPServerCore /uninstall at the command prompt will uninstall the
DHCP Server role.
Note
Uninstall any file server role options by using these commands with the /uninstall option.
Hyper-V role
To manage Hyper-V on a Server Core installation, use the Hyper-V management tools to
manage the server remotely. These tools are available for Windows Server 2008 and Windows
Vista Service Pack 1.
Note
Uninstall the AD LDS role by typing the following at a command prompt:start /w ocsetup
DirectoryServices-ADAM-ServerCore /uninstall
This command installs the Active Directory Domain Services role and promotes the server to a
domain controller by using the settings in the unattend file.
For links to information about using an unattend file with Dcpromo.exe, see the Additional
References section at the end of this document.
dcpromo /unattend:<unattendfile>
Note
Dcpromo.exe can also be used to demote a domain controller to a server.
5. On a different computer, use the Streaming Media Services MMC snap-in to remotely
configure Streaming Media Services.
2. For an installation that includes all of the options, type the following at a command
prompt and press ENTER:
Note
To uninstall the Web Server (IIS) role, use the following command:start /w pkgmgr /uu:IIS-
WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel
Failover Clustering
Network Load Balancing
Subsystem for UNIX-based applications
Backup
Multipath IO
Removable Storage
Bitlocker Drive Encryption
Simple Network Management Protocol (SNMP)
Windows Internet Name Service (WINS)
Telnet client
The following procedure describes how to install these features on a server running a Server Core
installation.
Note
Failover Clustering is not available in Windows Server 2008 Standard Edition.
Failover Clustering
Network Load Balancing
Multipath IO
Removable Storage
Bitlocker Drive Encryption
Note
For more information about the hardware that is required for optional features, see the Additional
References section at the end of this document.
Known issues for installing an optional feature on a server running a Server Core
installation
There are no known issues for installing an optional feature on a Server Core installation of
Windows Server 2008.
Steps for installing an optional feature on a server running a Server Core installation
To install an optional feature on a Server Core installation of Windows Server 2008, perform the
following procedure.
Note
The Ocsetup.exe syntax is case sensitive so be sure to follow the examples explicitly.
To discover the available optional features, open a command prompt and type the following:
Oclist
This command lists the server roles and optional features that are available for use with
Ocsetup.exe. It also lists the server roles and optional features that are currently installed.
To install an optional feature
At a command prompt, type:
Note
To install the remote administration tool for BitLocker, type the following at a command
prompt:start /w ocsetup BitLocker-RemoteAdminTool
o Backup: WindowsServerBackup
Note
To remove an optional feature, use start /w ocsetup with the appropriate role name and the
/uninstall switch.
Locally and remotely using a command prompt. By using the Windows command-line
tools at a command prompt, you can manage servers running a Server Core installation.
Remotely using Terminal Server. By using another computer running Windows, you
can use the Terminal Server client to connect to a server running a Server Core
installation, and manage it remotely. The shell in the Terminal Server session will be the
command prompt.
Remotely using Windows Remote Shell. By using another computer running
Windows Vista or Windows Server 2008, you can use Windows Remote Shell to run
command-line tools and scripts on a server running a Server Core installation.
Remotely using an MMC snap-in. By using an MMC snap-in from a computer running
Windows Vista or Windows Server 2008, you can connect to a server running Server
Core installation in the same way that you would connect to any computer running
Windows.
A computer that has a Server Core installation of Windows Server 2008 installed and
configured.
An administrator user account and password for a server running a Server Core
installation.
Not all tasks can be performed at a command prompt or remotely through an MMC snap-
in. There is a script included with the Server Core installation of Windows Server 2008
that you can use to configure the following settings:
o Enable automatic updates
The script is located in the \Windows\System32 folder of a server running a Server Core
installation. At a command prompt, open the folder, and then use the following command
to display the usage instructions for the previous options:
cscript scregedit.wsf /?
Note
You can use this command with the /cli option to display a list of common command-line tools
and their usage.
If you close all Command Prompt windows and want to open a new Command Prompt
window, press CTRL+ALT+DELETE, click Start Task Manager, click File, click
Run, and then type cmd.exe. Alternatively, you can log off and log back on.
Any command or tool that attempts to launch Windows Explorer will not work. For
example, start . used from a command prompt will not work.
There is no support for HTML rendering or HTML help in Server Core installations.
Server Core installations do not support running managed code. Any management tools
and utilities that run locally on a server running a Server Core installation must be written
in native Win32 code.
Server Core installations do not generate any notifications for activation, new updates, or
password expiration because these notifications require the Windows Explorer shell,
which is not part of the Server Core installation.
If you need to write a script for managing a server running a Server Core installation,
which requires the secure inclusion of an administrative password, see the scripting
column on Microsoft TechNet (http://go.microsoft.com/fwlink/?LinkID=56421).
Server Core installations support Windows Installer in quiet mode so that you can install
tools and utilities from Windows Installer files.
Windows Firewall can be configured at a command prompt by using netsh advfirewall.
When installing Windows Installer packages on a server running a Server Core
installation, use the /qb option to display the basic user interface.
To change the time zone on a computer running a Server Core installation of Windows
Server 2008, run control timedate.cpl.
To change international settings on a computer running a Server Core installation of
Windows Server 2008, run control intl.cpl.
Control.exe will not run on its own. You must run it with either Timedate.cpl or Intl.cpl.
Winver.exe is not available in Server Core installations. To obtain version information
use Systeminfo.exe.
The following procedures explain methods for managing a server running a Server Core
installation, including:
Note
For more information about command-line tools, see "Steps for administering a Server Core
installation" later in this document. You can find further information at the Command-Line
Reference A-Z (http://go.microsoft.com/fwlink/?LinkId=20331).
To manage a server running a Server Core installation by using a terminal server
1. On the server running a Server Core installation, type the following command at a
command prompt:
This enables the Remote Desktop for Administration mode to accept connections.
2. On another computer, click Start, click Run, type mstsc, and then click OK.
3. In Computer, enter the name of the server running a Server Core installation, and click
Connect.
4. Log on using an administrator account.
5. When the command prompt appears, you can manage the computer using the Windows
command-line tools.
6. When you have finished remotely managing the computer, type logoff in the command
prompt to end your Terminal Server session.
Note
If you are running the Terminal Services client on a previous version of Windows, you must turn
off the higher security level that is set by default in Windows Server 2008. To do this, after step
1, type the following command at the command prompt: cscript C:\Windows\System32\
Scregedit.wsf /cs 0
Note
For more information about command-line tools, see "Steps for administering a Server Core
installation" later in this document. You can find further information at the Command-Line
Reference A-Z (http://go.microsoft.com/fwlink/?LinkId=20331).
Often it is useful to run Cmd.exe in a Command Prompt window on your local computer, rather
than in the Terminal Services client. To do this, you need a standard Windows Server 2008
installation and the latest Terminal Services client.
To manage a server running a Server Core installation by using the Windows Remote Shell
1. To enable Windows Remote Shell on a server running a Server Core installation, type the
following command at a command prompt:
WinRM quickconfig
Where:
Note
The WinRM quickconfig setting enables a server running a Server Core installation to accept
Windows Remote Shell connections. This setting can also be set in an unattend file. See the
example in Appendix A at the end of this document.
Important
For more information about using different security credentials to run commands, see the
command-line help for WinRS.exe by typing winrs -? at a command prompt.
To manage a server that is running a Server Core installation and is a domain member
using an MMC snap-in
1. Start an MMC snap-in, such as Computer Management.
2. In the left pane, right-click the top of the tree and click Connect to another computer.
(In the Computer Management example, you would right-click Computer
Management (Local).)
3. In Another computer, type the computer name of the server running a Server Core
installation and click OK.
4. You can now use the MMC snap-in to manage the server running a Server Core
installation as you would any other computer running a Windows Server operating
system.
To manage a server that is running a Server Core installation and is not a domain member
using an MMC snap-in
1. If the server running a Server Core installation is not a member of a domain, establish
alternate credentials to use to connect to the Server Core installation by typing the
following command at a command prompt on your client computer:
Where:
2. When prompted, type the password for the user name that is specified in the previous
step.
3. If the firewall on the computer running a Server Core installation is not already
configured to allow MMC snap-ins to connect, follow the steps in "To configure
Windows Firewall to allow MMC snap-in(s) to connect." Then return to this procedure.
4. On a different computer, start an MMC snap-in, such as Computer Management.
5. In the left pane, right-click the top of the tree and click Connect to another computer.
(In the Computer Management example, you would right-click Computer
Management (Local).)
6. In Another computer, type the computer name of the server running a Server Core
installation and click OK.
7. You can now use the MMC snap-in to manage the server running a Server Core
installation as you would any other computer running a Windows Server operating
system.
Rulegroup is one of the values from the table below, depending on which snap-in you
want to connect.
2. Copy the driver files to a temporary folder on the server running a Server Core
installation.
3. At a command prompt, open the folder where the driver files are located, and then run the
following command:
pnputil -i -a <driverinf>
Where:
driverinf is the file name of the .inf file for the driver.
To obtain a list of drivers that are installed on the server running a Server Core installation
At a command prompt, type:
Note
You must include the space after the equal sign for the command to complete successfully.
To disable a device driver on a server running a Server Core installation
At a command prompt, type:
sc delete <service_name>
Where:
service_name is the name of the service that you obtain by running sc query type=
driver.
A computer on which you have installed and configured a Server Core installation of
Windows Server 2008
An administrator user account and password for the server running a Server Core
installation
Server Core installation supports Windows Installer in quiet mode so that you can install
tools and utilities from Windows Installer files.
If you need to write a script for managing a server running a Server Core installation,
which requires the secure inclusion of an administrative password, see the scripting
column on Microsoft TechNet (http://go.microsoft.com/fwlink/?LinkID=56421).
The following procedures summarize common administrator tasks for a server running a Server
Core installation.
Task Steps
Set the local At a command prompt, type:
administrative password net user administrator *
1. At a command prompt, type on one line:
netdom join %computername% /domain:<domain>
Join a computer to a
/userd:<domain>\username> /password:*
domain
2. Restart the computer.
At a command prompt, type:
Confirm that the domain
has changed
set
Remove a computer At a command prompt, type:
from a domain netdom remove
Add a user to the local At a command prompt, type:
Administrators group. net localgroup Administrators /add <domain>\<username>
Remove a user from the At a command prompt, type:
local Administrators
group net localgroup Administrators /delete <domain\username>
Add a user to the local At a command prompt, type:
computer net user <domain\user name> /add *
Add a group to the local At a command prompt, type:
computer net localgroup <group name> /add
At a command prompt, type:
Change the name of a
domain-joined computer netdom renamecomputer %computername% /NewName:<new
computer name> /userd:<domain\username> /password:*
Confirm the new At a command prompt, type:
computer name set
1. At a command prompt, type:
Change the name of a netdom renamecomputer <currentcomputername>
computer in a work /NewName:<newcomputername>
group
2. Restart the computer.
At a command prompt, type:
Disable paging file
management wmic computersystem where name="<computername>" set
AutomaticManagedPagefile=False
At a command prompt, type:
4. Verify by typing ipconfig /all and checking that all the addresses
are correct.
1. At a command prompt, type:
netsh interface ipv4 set address name=<IP address of local
Change to a DHCP-
system> source=DHCP
provided IP address
from a static IP address.
2. Verify by typing Ipconfig /all and checking that DCHP enabled
is set to Yes.
At a command prompt, type:
Activate the server
locally.
slmgr.vbs -ato
1. At a command prompt, type:
cscript slmgr.vbs -ato <servername> <username>
<password>
Activate the server 2. Retrieve the GUID of the computer by typing cscript slmgr.vbs
remotely. -did
3. Type cscript slmgr.vbs -dli <GUID>
Task Steps
At a command prompt, type:
Task Steps
At a command prompt, type:
Install an update.
wusa <update>.msu /quiet
At a command prompt, type:
List installed updates
systeminfo
1. Type at a command prompt:
expand /f:* <update>.msu c:\test
2. Navigate to c:\test\ and open <update>.xml
in a text editor.
Remove an update.
3. In <update>.xml, replace Install with
Remove and save the file.
Task Steps
At a command prompt, type either of the following:
net start
At a command prompt, type either of the following:
Event logs
Task Steps
At a command prompt, type:
List event logs.
wevtutil el
At a command prompt, type:
Query events in a specified log.
wevtutil qe /f:text <log name>
At a command prompt, type:
Export an event log.
wevtutil epl <log name>
At a command prompt, type:
Clear an event log.
wevtutil cl <log name>
Task Steps
For a complete list of commands, at a command prompt,
Manage disk partitions. type:
diskpart /?
For a complete list of commands, at a command prompt,
Manage software RAID. type:
diskraid /?
For a complete list of commands, at a command prompt,
Manage volume mount points. type:
mountvol /?
For a complete list of commands, at a command prompt,
Defragment a volume. type:
defrag /?
Convert a volume to the NTFS file At a command prompt, type:
system. convert <volume letter> /FS:NTFS
For a complete list of commands, at a command prompt,
Compact a file. type:
compact /?
For a complete list of commands, at a command prompt,
Administer open files. type:
openfiles /?
For a complete list of commands, at a command prompt,
Administer VSS folders. type:
vssadmin /?
For a complete list of commands, at a command prompt,
Administer the file system. type:
fsutil /?
At a command prompt, type:
Verify a file signature.
sigverif /?
For a complete list of commands, at a command prompt,
Take ownership of a file or folder. type:
icacls /?
Hardware
Task Steps
1. Copy the driver to a folder at %homedrive%\<driver
folder>.
Add a driver for a new hardware
device. 2. At a command prompt, type:
pnputil -i -a %homedrive%\<driver folder>\
<driver>.inf
1. For a list of loaded drivers, at a command prompt, type:
sc query type= driver
Remove a driver for a hardware
device.
2. At the command prompt, type:
sc delete <service_name>
Additional references
The following resources provide additional information about the Server Core installation of
Windows Server 2008:
If you need product support, see the Microsoft Connect Web site
(http://go.microsoft.com/fwlink/?LinkId=49779)
To access newsgroups for Server Core installation, follow the instructions that are
provided on the Microsoft Connect Web site (http://go.microsoft.com/fwlink/?
LinkId=50067).
If you are a beta tester and part of the special Technology Adoption Program (TAP) beta
program, you can contact your appointed Microsoft development team member for
assistance.
The following resources provide additional information about some of the commands that are
used to install and configure Server Core installations and server roles:
Active Directory
(http://go.microsoft.com/fwlink/?LinkID=19802)
Backup
(http://go.microsoft.com/fwlink/?LinkID=22347)
(http://go.microsoft.com/fwlink/?LinkID=62724)
Failover Clustering
Clustering Services
(http://go.microsoft.com/fwlink/?LinkID=50520)
(http://go.microsoft.com/fwlink/?LinkId=49661)
DHCP
Dfscmd
Dfscmd Overview
(http://go.microsoft.com/fwlink/?LinkId=49658)
(http://go.microsoft.com/fwlink/?LinkId=58131)
(http://go.microsoft.com/fwlink/?LinkID=62725)
DNS
(http://go.microsoft.com/fwlink/?LinkID=56422)
Dnscmd
Dnscmd Overview
(http://go.microsoft.com/fwlink/?LinkId=49656)
Dnscmd Syntax
(http://go.microsoft.com/fwlink/?LinkId=49659)
Dnscmd Examples
(http://go.microsoft.com/fwlink/?LinkId=49660)
What is FRS?
(http://go.microsoft.com/fwlink/?LinkID=62726)
File Server
(http://go.microsoft.com/fwlink/?LinkID=26716)
Multipath I/O
(http://go.microsoft.com/fwlink/?LinkId=50521)
Netsh
Netsh Overview
(http://go.microsoft.com/fwlink/?LinkId=49654)
(http://go.microsoft.com/fwlink/?LinkID=62727)
Removable Storage
Removable Storage
(http://go.microsoft.com/fwlink/?LinkID=62728)
(http://go.microsoft.com/fwlink/?LinkID=57768)
Note
See the unattend file documentation for more information about unattend file settings. Windows
System Image Manager, which is provided as part of the Windows Automated Installation Kit,
provides an excellent environment for authoring unattend files.
<!-- Do not have empty elements. Delete such elements instead. Values should
be assumed to be case sensitive. Boolean types have valid values as
true,false,0,1 and are case sensitive. Other examples of case sensitive values
are Drive Letters (only upper case C-Z supported), Format, Type. -->
<settings pass="windowsPE">
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>MyFullName</FullName>
<Organization>MyOrganizationName</Organization>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
<Key>Sensitive*Data*Deleted</Key>
</ProductKey>
</UserData>
<ImageInstall>
<OSImage>
<WillShowUI>Never</WillShowUI>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<InstallFrom>
<MetaData>
<Key>/IMAGE/Name</Key>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<ComputerName>MyCompName</ComputerName>
</component>
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<!-- Enable support for pre-Windows Vista or Windows Server 2008 Terminal
Services clients -->
<UserAuthentication>0</UserAuthentication>
</component>
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Microsoft-Windows-Web-Services-for-Management-Core"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<ConfigureWindowsRemoteManagement>true</ConfigureWindowsRemoteManagement>
</component>
<component name="Microsoft-Windows-UnattendedJoin"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<Identification>
<Credentials>
<Domain>UserDomain</Domain>
<Username>UserName</Username>
<Password>UserPassword</Password>
</Credentials>
<JoinDomain>DomainToBeJoined</JoinDomain>
<!-- You can either have JoinDomain or JoinWorkgroup but not both.
<JoinWorkgroup>work</JoinWorkgroup>
-->
</Identification>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup"
publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
processorArchitecture="x86">
<Display>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<ColorDepth>16</ColorDepth>
</Display>
<UserAccounts>
<DomainAccounts>
<DomainAccountList>
<Domain>DOMAIN</Domain>
<DomainAccount>
<Name>TestAccount1</Name>
<Group>Administrators</Group>
</DomainAccount>
</DomainAccountList>
</DomainAccounts>
</UserAccounts>
</component>
</settings>
</unattend>
Note
For <computername>, if you use * the name will be randomly generated.