Windows Server 2008 Core Configurations
Commands to configure Server Core in cmd.exe
To configure: Domain or Workgroup, Computer Name,
Remote Desktop, and Network Settings (screen shot below).
Run Server Configuration:
sconfig
To Disable error reporting:
serverWerOptin /disable
To Disable Participate in the Customer Experience
Improvement Program (CEIP):
serverCEIPOptin /disable
To install update:
wusa update.msu /quiet
To List installed updates:
systeminfo
Set the local administrative password:
net user administrator *
Add a user to the local Administrators group:
net localgroup Administrators /add domain\username
Add a user to the local computer:
net user /add *
To change password complexity:
secedit /export /cfg C:\new.cfg
where new.cfg is whatever name you want
Edit new.cfg and change “PasswordComplexity = 1” to “PasswordComplexity = 0”
secedit /configure /db C:\Windows\security\new.sdb /cfg C:\new.cfg /areas SECURITYPOLICY
To change the Windows Resolution:
regedit
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Video
Select the key that contains “VolatileSettings”
##### Roles #####
To install the Hyper-V role:
Dism /online /enable-feature /featurename:Microsoft-Hyper-V
To manage Hyper-V, use the Remote Server Administration Tools (RSAT)
feature in Windows Server 2008 R2 and Windows 7
To install the Web Server role (IIS):
start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel
