Windows without windows: Microsoft goes command-line with Server Core

Send to a friend Print

Help more people find out about this story

Del.icio.us
StumbleUpon

Paul Schnackenburg16 October 2006, 11:53 PM

It must be a great irony for Linux proponents that the next version of Windows Server can run without any GUI at all. Script jockeys rejoice; the rest of us despair! Time to dust off your command-line skills.


It must be a great irony for Linux proponents that the next version of Windows Server can run without any GUI at all. Script jockeys rejoice; the rest of us despair!

This version, called Server Core, provides only a command prompt for local administration. The advantage of this setup is a "reduced attack surface" as well as increased stability. Another benefit is less software maintenance as there should be less to patch with fewer installed components. It also takes up less diskspace at just over 1 GB.

Microsoft sees Server Core being used in two scenarios: high security environments and in large corporations where some of the roles could be best served by a minimalist OS.

It's amazing to see Microsoft changing its tune -- the company with a GUI wizard for everything is suddenly promoting the command line like there are no mice left on the planet. It's a smart option to provide, though: corporate IT departments frequently use scripts to automate tasks, while small businesses will still prefer the GUI approach.

Server Core only provides four different roles: DHCP server, DNS server, file server and domain controller. This should cover a large proportion of "work horse" scenarios where Windows Servers are deployed. Server Core is an option during installation, not a separate version of the product (you don't buy Server Core separately.)

Installing Server Core

A command-line-allergic administrator might think they can be saved using Remote Desktop to connect to the server. This still only gives you a command prompt however. Your best bet for remote administration is to use the MMC associated with the specific role. A DNS server for instance can be managed using the normal DNS console.

And they call this a GUI

A few steps need to be completed on a fresh server core before any remote administration is possible however. The local administrator password needs to be set using net user administrator *. After this a fixed IP address should be set using Netsh interface ipv4 set address name. Before the server can be joined to an existing domain the right DNS server needs to be set with Netsh interface ipv4 add dnsserver name.

It's a surreal experience configuring a Server Core installation. Everything is difficult and commands that I rarely use have to be dusted off and checked for exact spelling before they'll work. Once it's all up and running though, it's easy to manage.

Configuring the password for administrator using the command line


Post your comment



Comments

RSS feed Email alert

Tin:

Cunning plan... Can't see too many choosing the option though.

For starters, unless they make more services available and make configs easily editable (ie text files), then it's just a gimmick really.

Oh, and looking at the screenies of the RDP connection to it, it looks like the actual GUI stuff is still present but explorer.exe is swapped for cmd.exe

29 February 2008, 8:29 PM (1 year ago)report abuse Send to a friend reply

Michael:

I didn’t it try it yet, but I am somehow sure that you can manage Server Core with GUIs. For example, if it is a domain controller, you probably can use the Active Directory user interfaces from another server or from the Adminpak to manage this server. This probably applies to the other services as well. So I doubt that Windows administrators will work on the command line with Server Core.

29 February 2008, 8:29 PM (1 year ago)report abuse Send to a friend reply

oiaohm:

Ok that not a command line. Still why in is the graphical still loaded.

So I can expect linux to keep on kicking microsoft around the ball park on server speed.

If you are kinda warped you can run a Linux box without any graphical or command line displayed on the local machine. Its not even activated. Remote control only systems.

And for a graphical powered command line where are my tabs. So I can have many command lines open and see them.

Ie not taskbar only one command line. That is the 1990 or before X11. Boy I wish in somethings Linux would get with the times. But in others I really wish Microsoft would.

Linux can do multi logins and terminal threw a serial port. Even in text mode under linux you can switch between command lines simplely.

29 February 2008, 8:29 PM (1 year ago)report abuse Send to a friend reply

Paul Schnackenburg:

Thanks for your comments. SOrry Michael that I didn't make it clearer in the article, yes you can use MMC snap ins, for instance AD Users and Computers to manage a Server Core DC for instance.
No I doubt that anyone will spend to much time at the command line but on a fresh install there are a few things that need to be configured before the server is ready to be administered remotely.
oiaohm, thanks for your comments, in beta 2 there were two command windows, in this CTP there's only one. You can easily start several more command prompts if you need them.

There's no GUI, no task manager, no explorer shell, basically no Windows. Just a green background and one or more command lines. And in my (limited so far)experience the speed was very good.

29 February 2008, 8:29 PM (1 year ago)report abuse Send to a friend reply

anonymous user Anonymous user


Tags