Network Administrator Knowledgebase

October 17, 2007  1:50 AM

Managing Windows 2008 Server Core Local Settings

Michael Khanin Michael Khanin Profile: Michael Khanin

In Windows Server 2008, Server Core installation does not include the traditional full graphical user interface (GUI). Therefore, once you have configured the server, you can only manage it locally at a command prompt, or remotely using a Terminal Serverconnection. A third management option is to manage the server remotely using the Microsoft Management Console (MMC) or command-line tools that support remote use.

A Server Core installation provides these benefits in three ways:


  • By reducing the software maintenance required (less updates, etc…)
  • By reducing the management required
  • By reducing the attack surface




To accomplish this, the Server Core installation option installs only the subset of the binary files that are required by the supported server roles. It takes about 1 GB of disk space and +/- 100 MB memory footprint (varies per server core role).

The following list is a compilation of some of the most useful commands allowing you to either locally or remotely manage a Server Core installation. You can use this as a quick reference guide, but as always, reading the full server help for a full guide.

To manage a server running a Server Core installation locally at a command prompt


  • Start a server running a Server Core installation.

    Windows 2008 Server Core

  • Log on using an administrator account.

  • At the command prompt, use the appropriate command-line tool for the task you want to complete.




To add hardware to Windows Server 2008


  • If the driver for the hardware is included in Windows Server 2008, Plug and Play will start automatically and install the driver.
  • At a command prompt, open the folder where the driver files are located, and then run the following command:


    driverinf is the file name of the .inf file for the driver.


    1. If prompted, restart the computer.



To add a user to the local Administrators group


  • At a command prompt, type:





To remove a user from the local Administrators group


  • At a command prompt, type:





To disable a device driver


  • At a command prompt, type:

    Where: service_name is the name of the service that you obtain by running




To obtain a list of drivers that are installed on the server


  • At a command prompt, type:

    Note: You must include the space after the equal sign for the command to complete successfully.




To manage event logs


  • To list event logs type:


  • To query events in a specified log type:


  • To export an event log type:


  • To clear an event log type:




To list the running services


  • At a command prompt, type one of the following:





To start a service


  • At a command prompt, type one of the following:







To stop a service


  • At a command prompt, type one of the following:





To forcibly stop a process


  • Use the tasklist command to retrieve the process ID (PID).

  • At a command prompt, type:





To configure the firewall


  • Use the netsh advfirewallcommand. For example, to enable remote management from any MMC snap-in, type the following:

    Note: You can also use the Windows Firewall snap-in from a Windows Vista or Windows Server 2008 computer to remotely manage the firewall on a server running a Server Core installation. To do this, you must first enable remote management of the firewall by running the following command on the computer running a Server Core installation:




Configure the paging file


  • At a command prompt type:



  • path/filename – is the path to and name of the paging file
  • initialsize – is the starting size of the paging file in bytes.
  • maxsize – is the maximum size of the page file in bytes.




To install an optional feature


  • At a command prompt, type:

    Note: Using /w prevents the command prompt from returning until the installation completes. Without /w, there is no indication that the installation completed.

    Where featurename is the name of a feature from the following list:


  • Failover Clustering: FailoverCluster-Core
  • Network Load Balancing: NetworkLoadBalancingHeadlessServer
  • Subsystem for UNIX-based applications: SUACore
  • Multipath IO: MultipathIo
  • Removable Storage: Microsoft-Windows-RemovableStorageManagementCore
  • Bitlocker Drive Encryption: BitLocker



Note: To install the remote administration tool for BitLocker, type the following at a command prompt:




  • Backup: WindowsServerBackup
  • Simple Network Management Protocol (SNMP): SNMP-SC
  • Windows Internet Name Service (WINS): WINS-SC
  • Telnet client: TelnetClient



Note: To remove an optional feature, use start /w ocsetup with the appropriate role name and the /uninstall switch.



To reboot the server


  • You can reboot the server by typing the following at a command prompt:




To change the name of the server


  • Determine the current name of the server with the hostname or ipconfig /all commands.
  • At a command prompt, type:

    Note: You can obtain the name of the server by running the hostname or ipconfig /all commands.

  • Restart the computer.




To change the name of a domain-joined server


  • At a command prompt, type:





To set the administrative password


  • At a command prompt, type the following:


  • When prompted to enter the password, type the new password for the administrator user account and press ENTER.
  • When prompted, retype the password and press ENTER.



October 16, 2007  5:32 PM

Microsoft releases SoftGrid and Viridian planning and design beta guides

Michael Khanin Michael Khanin Profile: Michael Khanin

Along with cost and power saving, more efficiency and flexibility, virtualization technologies introduces severity in datacenter: any virtual infrastructure without a rational and strict operational framework is doomed to fail in returning the expected investment, and in most cases introduces more management problems rather than reducing them.

So the need for guidance during planning, design, implementation and maintenance phases of IT projects is bigger than ever.

VMware already recognized this need and it’s building an online wiki called Virtual Infrastructure Operations (VIOPS) to create a user generated framework.

Now also Microsoft is moving in the same direction, starting a new beta program called Infrastructure Planning and Design, part of Solutions Accelerators beta group.

The program allows beta testers to access a series of guides describing the architectural considerations and streamline the design processes for planning and implementing Microsoft infrastructure technologies.

Microsoft started with two most wanted guide:

  • SoftGrid Application Virtualization Guide (37 pages)
    The Infrastructure Planning & Design Microsoft SoftGrid Application Virtualization guide discusses when to use standalone mode and connected mode for application distribution. It assists designers in the infrastructure planning process for SoftGrid by providing a clear and concise workflow of the decisions and tasks required for each method. This guide enables you to plan the infrastructure required for meeting your application virtualization service goals.
  • Windows Server Virtualization Guide (50 pages)
    The Infrastructure Planning and Design: Windows Server Virtualization guide discusses Microsoft virtualization options using Windows Server virtualization in Windows Server 2008 and Microsoft Virtual Server 2005 R2 SP1. The guide explains design considerations at critical decision points and helps plan for an optimized server virtualization infrastructure architecture to meet organizational goals for performance and consolidation.

but a third one about Terminal Services is expected in Q1 2008.

Full Story At Source


October 14, 2007  10:10 PM

Add “Take Ownership” to right-click menu in Vista

Michael Khanin Michael Khanin Profile: Michael Khanin

The first step is to create a registry file, let say the name of file will be Owner.reg: 


Double-click your Owner.reg file to apply it to the registry.

You will have to grant access, click Continue.
The registry editor will give you a security prompt, click Yes.
You will be greeted with the following message from the registry editor, click Ok:

When you hold shift and right-click on a file or folder you will have the option of changing the ownership.

Please note that before the ownership will be changed, you must grant access, click Continue.

In order to verify that the “Take Ownership” dialog successfully processed, you can right-click on a file, choose Properties and then choose Details and you will see the “Owner” section changed to COMPUTERNAME\USERNAME.

October 14, 2007  11:31 AM

Hello world!

Michael Khanin Michael Khanin Profile: Michael Khanin

Hello Admins!

I’m glad to start a new blog here and I really hope that this will be a great way to share with colleagues worldwide.

Owner of The System Administrator website where I’ve already published hundreds of articles about System Administration, I’m willing to contribute actively to the Network Administrator Knowledgebase.

All the Best!

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: