Chris Beams’s Blog

Active Directory and more….

Posts Tagged ‘Server Core’

Retiring Oclist.exe

Posted by chrisbeams on October 29, 2010

From the server core blog

For those of you that used Server Core in Windows Server 2008 you may be familiar with the Oclist.exe tool. This tool was included in Server Core to provide a way to obtain a list of roles and features on Server Core and their installation state. In Windows Server 2008 R2 a new tool, Dism.exe, was introduced for adding/removing roles and features and included the capability to provide the list of roles and features as well as installation state by running:

Dism /online /get-features /format:table

In the Server Core documentation we changed to using Dism.exe for Windows Server 2008 R2. Because Dism.exe is an integrated command line tool for all tasks related to optional roles and features and provides additional formating options for its output, in the next release we are planning to remove Oclist.exe from Server Core.

Posted in Server Core, Windows 2008R2 | Tagged: , | 2 Comments »

Windows Server Core Configurator V 2.0

Posted by chrisbeams on July 30, 2010

Just noticed this on Jorge’s blog and is something that i think helps ease the pain and concern around using Server Core. Basically its an enhanced version of the codeplex application for Windows 2008 R2 Server Core called Windows Server Core Configurator.

You can manage computer settings, control panel settings etc from a GUI on a Server Core which has no GUI 🙂

Posted in Active Directory, Windows 2008R2 | Tagged: , | Leave a Comment »

Server Core – Time and Regional Settings

Posted by chrisbeams on June 13, 2009

So I have been having a few problems in my new W2k8 Forest. Seems that my server core Dc has the wrong time. 

This made me thnk about how you can change regional settings and date time on server core. Turns out its pretty easy using the control panel applets

Regional settings – c:\windows\system32\intl.cpl

internationalsettings-servercore

which brings up a familar looking interface

intl.cpl

 

and for date and time – c:\windows\system32\timedate.cpl

which brings up this:

timedate.cpl

Posted in Active Directory | Tagged: | Leave a Comment »

Server Core – DC Promotion

Posted by chrisbeams on May 17, 2009

I have attached a simple answer.txt file below that I have used before for Server Core Promotion:

To set the network up you need the network ID (which tends to be 2)

netsh interface ipv4 show interfaces (this gives you the network id)
netsh interface ipv4 set address name=”2″ source=static address=192.168.100.202 mask=255.255.255.0 gateway=192.168.100.1
netsh interface ipv4 add dnsserver name=”2″ address=192.168.100.201 index=1

If you need RDP Access you need to do the following:

  • WMIC RDTOGGLE Where ServerName=”%COMPUTERNAME%” Call SetAllowTSConnections  AllowTSConnections=”1″
  • NetSH FireWall Set PortOpening TCP 3389 “Remote Desktop”

Dont forget to  Rename the machine to something more useful:

  • WMIC ComputerSystem Where Name=”%COMPUTERNAME% Call Rename Name =”NewNameYouWant”

And then the answer.txt file

This one would create a normal DC with DNS thats also a GC in an existing Domain,

[DCINSTALL]
InstallDNS=Yes
ConfirmGc=Yes
CriticalReplicationOnly=No
DisableCancelForDnsInstall=No
Password=P@ssw0rd
RebootOnCompletion=No
ReplicaDomainDNSName=W2K8.COM
ReplicaOrNewDomain=Replica
SafeModeAdminPassword=P@ssw0rd
SiteName=London
UserDomain=W2K8.COM
Username=administrator

Posted in Active Directory | Tagged: , | Leave a Comment »