Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


February 2008

Windows Without Windows

Some basic commands will get you started with the GUI-less Server Core in Windows Server 2008
RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

If you want to access Server Core by using Remote Desktop from a Windows OS other than Vista, replace the /AR 0 switch with /CS 0. To see the full list of scregedit’s possibilities, type the command

cscript c:\windows\system32\ 
scregedit.wsf /cli

Authenticate to Server Core with MMC
During the initial configuration, or if Server Core will be a standalone server, you might need to authenticate to it from a remote machine by using pass-through authentication. Some, but not all, MMC snap-ins let you specify a username and password when you’re connecting to a remote computer.

The easiest way to get access remotely with MMC is to create a local user on Server Core that has the same username and password as the remote account that you’re using to run MMC. This way, authentication will happen transparently. The new user also needs to be an administrator on Server Core to gain unrestricted access. You can create a user and add the username to the administrators group by entering the following commands:

net user /add <username>
<password>

net localgroup administrators
/add <username>

If you join Server Core to a domain, you should delete this account and use a domainbased user for authentication. Whether Server Core is a member of a domain or a standalone server, you should consider configuring Windows Firewall with Advanced Security to restrict which machines can connect remotely to Server Core.

Configure Windows Firewall
To enable the Windows Firewall with Advanced Security snap-in on any machine used for administration to access a given Server Core box, log on to Server Core as an administrator and type the command

netsh advfirewall set publicprofile 
settings remotemanagement
enable

To access other remote administration tools, such as the MMC Event Viewer snap-in, run the following command on Server Core to permit access through Windows Firewall:

netsh firewall set service 
remoteadmin enable

After you’ve made these basic changes to Windows Firewall on Server Core, you can use the Windows Firewall with Advanced Security snap-in from a remote computer for all further configuration of Server Core’s firewall. You could additionally modify the firewall rules to allow access to Server Core from specific administration workstations only, if desired. To do so, you change the scope of the predefined inbound rules for Windows Firewall Remote Management, Remote Desktop, and Remote Administration by setting a list of remote IP addresses that are permitted to access Server Core. Figure 3 shows setting the scope of a Windows Firewall Remote Management rule.

Firewall rules are associated with one of three network profiles: Domain, Private, or Public. (Server Core uses the Public network profile out of the box.) To determine which profile is currently active, click the Windows Firewall with Advanced Security node directly below Console Root in the MMC window. You’ll see an overview of the firewall’s settings in the central pane, including information about the active profile. If you change the scope for a rule that’s associated with a profile that’s not currently active, the changes won’t be effective.

For more information about configuring Windows Firewall with Advanced Security, see the Security Pro VIP article “Windows Firewall Shows New Maturity in Vista,” April 5, 2007 (InstantDoc ID 95099). The configuration process is similar in Server 2008 and Vista.

Access the File System
The easiest way to get access to Server Core’s file system is to use Windows Explorer on an administration workstation and map drives to the root administrative shares that are enabled by default on Server Core (e.g., c$ and d$). You can connect to these shares only with an account that has administrator privileges on Server Core, and you must enable remoteadmin by using netsh, as shown earlier. The File Server role is installed by default to provide access to these administrative shares, but you can also install features such as File Replication Service (FRS).

To map a network drive to an administrative share on Server Core from a remote machine, use a command similar to the following:

net use z: \\192.168.1.100\c$

Join Server Core to an AD Domain
You can use the netdom command to join Server Core to an existing AD domain, as follows:

netdom add  
/domain:
/userd:
/passwordd:

Install Server Roles and Optional Features
Server Core supports the server roles Active Directory Domain Services, Active Directory Lightweight Directory Services (AD LDS), DHCP Server, DNS Server, File Services, Print Server, Streaming Media Services, and Web Server (IIS), among others. For a full list of server roles and other supported features, go to www.microsoft.com/windowsserver2008/servercore.mspx.

   Previous  1  [2]  3  Next 


Learning Path For more information about configuring rules in Windows Firewall:
"Windows Firewall Shows New Maturity in Vista"


For more information about Server Core:
"Sampling Server Core"

"What You Need to Know About Windows Server 2008 Beta 3"

"Top 10: Questions About Server Core"


Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Related Articles Questions About Server Core

Sampling Server Core

What You Need to Know About Windows Server 2008 Beta 3

Windows Firewall Shows New Maturity in Vista

Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Getting ready for Windows 7, eLearning series with Mark Minasi

Cutting Costs with Client Management

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement