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

From WolfTech
Jump to navigation Jump to search
Line 3: Line 3:
  
 
== Change Computer Name ==
 
== Change Computer Name ==
netdom renamecomputer <ComputerName> /NewName:<NewComputerName>  
+
''netdom renamecomputer <ComputerName> /NewName:<NewComputerName>''
  
  
 
== Reboot/Logoff ==
 
== Reboot/Logoff ==
  
Reboot after 0 seconds with comment "Changed Server Name"<br>
+
Reboot after 0 seconds with comment "Changed Server Name":
shutdown /r  /T 0 /C "Changed Server Name"
+
''shutdown /r  /T 0 /C "Changed Server Name"''
  
Reboot for "OS Reconfiguration (Planned)"<br>
+
Reboot for "OS Reconfiguration (Planned)": ''shutdown /r /d p:2:4''
shutdown /r /d p:2:4
 
  
Type "Logoff" to logoff.
+
Type ''Logoff'' to logoff.
  
  
  
 
== Setting up Licensing ==
 
== Setting up Licensing ==
 
+
''
 
slmgr.vbs -ipk <USE MAK KEY><br>
 
slmgr.vbs -ipk <USE MAK KEY><br>
slmgr.vbs -ato
+
slmgr.vbs -ato''
  
  
Line 27: Line 26:
 
== Join Domain ==
 
== Join Domain ==
  
netdom join Computer_Name /domain:wolftech.ad.ncsu.edu /userd:unityid.admin /passwordd:Password
+
''netdom join Computer_Name /domain:wolftech.ad.ncsu.edu /userd:unityid.admin /passwordd:Password''
  
  
Line 35: Line 34:
 
* 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/
Line 57: Line 56:
 
* (4) Automatically download updates and install them using the schedule
 
* (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.
 
* 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 enable AU: ''cscript C:\Windows\System32SCregEdit.wsf /AU 4''
* To install a patch by hand: wusa.exe <patch> /quiet
+
* 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]
 
* [http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/07/16/automatically-updating-server-core.aspx (Automatically) Updating Server Core]
  
 
== Enable RDP ==
 
== Enable RDP ==
  
* From XP: "Cscript %windir%\system32\SCRegEdit.wsf /CS 0"
+
* From XP: ''cscript %windir%\system32\SCRegEdit.wsf /CS 0''
* From Vista: "Cscript %windir%\system32\SCRegEdit.wsf /AR 0"
+
* From Vista: ''cscript %windir%\system32\SCRegEdit.wsf /AR 0''
 
* 0 is Enable, 1 is Disable
 
* 0 is Enable, 1 is Disable
  

Revision as of 18:44, 24 October 2008

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

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