Here’s a quick list of the steps I use to get a Server 2008 Server Core install up and running with the Hyper-V role installed.
- Set the administrator password
- at first login… or after with Ctrl-Alt-Del
- List examples of administrative tasks that can be performed from the command line
- Change to the system32 directory
- cd \windows\system32
- cscript scregedit.wsf /cli
- Change to the system32 directory
- Set the Date, Time, and Time Zone
- control timedate.cpl
- Configure Networking
- To show current IP config
- ipconfig /all
- To identify interface to configure
- netsh interface ipv4 show interfaces
- Set the static IP address
- netsh interface ipv4 set address name=”2″ source=static address=x.x.x.x mask=255.255.255.0 gateway=x.x.x.x
- Set static DNS servers
- netsh interface ipv4 add dnsserver name=”2″ address=x.x.x.x index=1
- To check configuration
- ipconfig /all
- To show current IP config
- Changing the server name
- To verify name
- hostname
- To Change the server name
- netdom renamecomputer %computername% /NewName:ServerName
- shutdown /r /t 0
- To verify name change
- hostname
- To verify name
- Join a Domain
- To join the domain
- netdom join ServerName /domain:CONTOSO /userd:Administrator /passwordd:*
- To restart the server
- shutdown /r /t 0
- To join the domain
- Activate the Server
- Change to the system32 directory
- cd \windows\system32
- To display slmgr script help
- cscript slmgr.vbs /? (or slmgr -h)
- To display current expiration
- cscript slmgr.vbs -xpr
- To display additional information
- cscript slmgr.vbs -dl
- To enter a MAK license key (if you do not have a KMS server)
- cscript slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- To activate the server
- cscript slmgr.vbs -ato
- To verify
- cscript slmgr.vbs -xpr
- To verify
- cscript slmgr.vbs -dli
- Change to the system32 directory
- Enable Automatic Updates
- To get help
- cscript scregedit.wsf /?
- To check current setting
- cscript scregedit.wsf /au /v
- To configure automatic updates to automatically download and install (this is the only option)
- cscript scregedit.wsf /au 4
- To get help
- Enable Remote Desktop
- To enable
- cscript scregedit.wsf /ar 0
- To disable
- cscript scregedit.wsf /ar 1
- To enable
- Installing Roles
- To show rolls currently installed and currently not installed
- oclist
- To install the DNS Server role (note that ocsetup is case sensitive)
- Start /w ocsetup DNS-Server-Core-Role
- To confirm new role installed
- oclist
- To show rolls currently installed and currently not installed
- Installing Hyper-V Note: Ensure that you have hardware-assisted virtualization enabled prior to installation. If BIOS reconfiguration changes were made to enable hardware features, you must complete a full power-cycle before proceeding.
- To enable Hyper-V role
- Start /w ocsetup Microsoft-Hyper-V
- To enable Hyper-V role
0 Responses to “Windows Server 2008 – Server Core Quick Start”