In Windows Server 2008 R2, in addition to the Dism.exe command, you can use the Server Configuration tool (Sconfig.cmd) to configure and manage several common aspects of Server Core installations. You must be a member of the Administrators group to use the tool.
Change to the system drive.
Type Sconfig.cmd, and then press ENTER. -
The Server Configuration tool interface opens: sconfig.cmd is in the path. It's actual location is c:\windows\system32\sconfig.cmd. This command is a feature of Server R2 so it is not available with prior versions. t is not an executable, it is a .cmd file
The current Domain/Workgroup settings are displayed in the default Server Configuration tool screen.
To join a domain
To join a workgroup
The current computer name is displayed in the default Server Configuration Tool screen.
If joined to a domain
If joined to a workgroup
Follow these steps to add additional users to the local administrators group.
To add a domain user to the local administrator group
To add a workgroup user to the local administrator group
You can configure the IP address to be assigned automatically by a DHCP Server or you can assign a static IP address manually.
Type 8 and press ENTER.
You are presented with a list of available network adapters that are attached to the server.
Type the index number of the adapter that you want to configure, and then press ENTER.
You are presented with the current configuration for the network adapter that you selected.
Type 1 and press ENTER to configure the IP address for the selected network adapter.
To receive an IP address from a DHCP server
To assign a static IP address to the network adapter
To configure DNS Server settings for the selected network adapter
To clear the current DNS Server settings
Type 4 and press ENTER to return to the default configuration screen.
The current Windows Update settings are displayed in the default Server Configuration Tool screen.
To set updates to automatic
To set updates to manual
The current status of software updates is displayed in the default Server Configuration Tool screen. Follow these instructions to download and install updates.
The current status of remote desktop settings is displayed in the default Server Configuration Tool screen.
To enable Remote Desktop for clients running Remote Desktop with Network Level Authentication
To enable Remote Desktop for clients running any version of Remote Desktop
To disable Remote Desktop
Follow these instructions to change the current date and time settings:
Allow MMC Remote Management
Enable Windows PowerShell
Allow Server Manager Remote Management
Type 13 and press ENTER to exit to the command line.
Source: http://technet.microsoft.com/en-us/library/ee441254(WS.10).aspx