Difference between revisions of "Active Directory/Documentation/Server 2008 Core"

From WolfTech
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Setting up Windows Server 2008 Core the first time can be a little frustrating since most of tools people are used to using aren't there.  So here's a cheat sheet for getting you machine setup and into the domain, at which point you can use most server management tools remotely.
 
Setting up Windows Server 2008 Core the first time can be a little frustrating since most of tools people are used to using aren't there.  So here's a cheat sheet for getting you machine setup and into the domain, at which point you can use most server management tools remotely.
  
Change Computer Name:<br>
+
'''NOTE:''' Did more recent work on Core here: http://techies.ncsu.edu/wiki/Windows_Web_Server_2008_R2_(Core)
netdom renamecomputer <ComputerName> /NewName:<NewComputerName>
 
  
 +
== Change Computer Name ==
 +
''netdom renamecomputer <ComputerName> /NewName:<NewComputerName>''
  
Reboot after 0 seconds with comment "Changed Server Name"<br>
 
shutdown /r  /T 0 /C "Changed Server Name"
 
  
Reboot for "OS Reconfiguration (Planned)"<br>
+
== Reboot/Logoff ==
shutdown /r /d p:2:4
 
  
 +
Reboot after 0 seconds with comment "Changed Server Name":
 +
''shutdown /r  /T 0 /C "Changed Server Name"''
  
Type "Logoff" to logoff.
+
Reboot for "OS Reconfiguration (Planned)": ''shutdown /r /d p:2:4''
  
 +
Type ''Logoff'' to logoff.
  
Setting up Licensing:<br>
 
slmgr.vbs -ipk <USE MAK KEY><br>
 
slmgr.vbs -ato
 
  
  
Join Domain:<br>
+
== Setting up Licensing ==
netdom join Computer_Name /domain:wolftech.ad.ncsu.edu /userd:unityid.admin /passwordd:Password
+
''slmgr.vbs -ipk <USE MAK KEY>''<br>
 +
''slmgr.vbs -ato''
  
  
Installing vmware tools:
+
 
 +
== Join Domain ==
 +
 
 +
''netdom join Computer_Name /domain:wolftech.ad.ncsu.edu /userd:unityid.admin /passwordd:Password''
 +
 
 +
 
 +
 
 +
== Installing vmware tools ==
 +
 
 
* Select Virtual Machine->Install/Upgrade VMware Tools
 
* Select Virtual Machine->Install/Upgrade VMware Tools
 
* Nothing happens!
 
* Nothing happens!
* Navigate to the CD drive and run setup.exe or msiexec.exe /i “<path to VMware Tools.msi>” /qn (for quiet install)
+
* Navigate to the CD drive and run setup.exe or ''msiexec.exe /i “<path to VMware Tools.msi>” /qn'' (for quiet install)
 
* After reboot your screen will now be @ 640x480!
 
* After reboot your screen will now be @ 640x480!
 
* http://philipflint.wordpress.com/2008/06/30/changing-the-screen-resolution-in-windows-server-2008-server-core/
 
* http://philipflint.wordpress.com/2008/06/30/changing-the-screen-resolution-in-windows-server-2008-server-core/
  
  
Adding server roles:<br>
+
 
 +
== Adding server roles ==
 +
 
 
http://www.petri.co.il/managing-windows-2008-server-core-server-roles.htm
 
http://www.petri.co.il/managing-windows-2008-server-core-server-roles.htm
  
Updating the firewall (if you aren't going to set it via GPO:<br>
+
 
 +
== Updating the firewall ==
 +
 
 
http://www.petri.co.il/remotely-managing-windows-2008-server-core-firewall.htm
 
http://www.petri.co.il/remotely-managing-windows-2008-server-core-firewall.htm
 +
 +
 +
== Patching ==
 +
 +
Server 2008 Core only supports 2 modes of Automatic updates:
 +
* (1) Disabled
 +
* (4) Automatically download updates and install them using the schedule
 +
* The server has to be either in an OU that completely configures via GPO AU or doesn't touch it at all.  Otherwise you will get an error when trying to enable AU or trying to install a patch.
 +
* To enable AU: ''cscript C:\Windows\System32SCregEdit.wsf /AU 4''
 +
* To install a patch by hand: ''wusa.exe <patch> /quiet''
 +
* To list installed patches: ''wmic qfe list''
 +
* [http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/07/16/automatically-updating-server-core.aspx (Automatically) Updating Server Core]
 +
 +
== Enable RDP ==
 +
 +
* From XP: ''cscript %windir%\system32\SCRegEdit.wsf /CS 0''
 +
* From Vista: ''cscript %windir%\system32\SCRegEdit.wsf /AR 0''
 +
* 0 is Enable, 1 is Disable
 +
 +
== Useful Links ==
 +
 +
[http://blogs.technet.com/server_core/ Server Core Technet Blog]

Latest revision as of 14:12, 18 August 2010

Setting up Windows Server 2008 Core the first time can be a little frustrating since most of tools people are used to using aren't there. So here's a cheat sheet for getting you machine setup and into the domain, at which point you can use most server management tools remotely.

NOTE: Did more recent work on Core here: http://techies.ncsu.edu/wiki/Windows_Web_Server_2008_R2_(Core)

Change Computer Name

netdom renamecomputer <ComputerName> /NewName:<NewComputerName>


Reboot/Logoff

Reboot after 0 seconds with comment "Changed Server Name": shutdown /r /T 0 /C "Changed Server Name"

Reboot for "OS Reconfiguration (Planned)": shutdown /r /d p:2:4

Type Logoff to logoff.


Setting up Licensing

slmgr.vbs -ipk <USE MAK KEY>
slmgr.vbs -ato


Join Domain

netdom join Computer_Name /domain:wolftech.ad.ncsu.edu /userd:unityid.admin /passwordd:Password


Installing vmware tools


Adding server roles

http://www.petri.co.il/managing-windows-2008-server-core-server-roles.htm


Updating the firewall

http://www.petri.co.il/remotely-managing-windows-2008-server-core-firewall.htm


Patching

Server 2008 Core only supports 2 modes of Automatic updates:

  • (1) Disabled
  • (4) Automatically download updates and install them using the schedule
  • The server has to be either in an OU that completely configures via GPO AU or doesn't touch it at all. Otherwise you will get an error when trying to enable AU or trying to install a patch.
  • To enable AU: cscript C:\Windows\System32SCregEdit.wsf /AU 4
  • To install a patch by hand: wusa.exe <patch> /quiet
  • To list installed patches: wmic qfe list
  • (Automatically) Updating Server Core

Enable RDP

  • From XP: cscript %windir%\system32\SCRegEdit.wsf /CS 0
  • From Vista: cscript %windir%\system32\SCRegEdit.wsf /AR 0
  • 0 is Enable, 1 is Disable

Useful Links

Server Core Technet Blog