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


December 07, 2007

Enabling Remote Desktop Connections to Server Core

RSS
Subscribe to Windows IT Pro | See More Tips Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

11340» Enabling Remote Desktop Connections to Server Core (07-December-07)

Q. How do I enable remote desktop connections to my Windows Server 2008 Server Core installation?

A. There are essentially two steps to enabling remote desktop to Server Core. The first is to enable remote desktop connections and the second to open up the Windows Firewall to allow remote desktop connections. To enable remote desktop perform the following steps:

C:\Windows\System32>cscript scregedit.wsf /ar 0
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Registry has been updated.

C:\Windows\System32>cscript scregedit.wsf /ar /v
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

System\CurrentControlSet\Control\Terminal Server fDenyTSConnections
View registry setting.
0

To enable the firewall to allow the remote desktop use the following command:

C:\Windows\System32>netsh firewall set service type=remotedesktop mode=enable ok

End of Article



Reader Comments
I tried this. Step one worked perfectly, however, step two is deprecated according to my installation. If this doesn't work, instead use:

netsh advfirewall firewall set rule group="remote desktop" new enable=yes

This works like a champ. Thanks for the tip.

qbert17 May 25, 2009 (Article Rating: )


I tried this. Step one worked perfectly, however, step two is deprecated according to my installation. If this doesn't work, instead use:

netsh advfirewall firewall set rule group="remote desktop" new enable=yes

This works like a champ. Thanks for the tip.

qbert17 May 25, 2009 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

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

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Events 7 Ways To Get More From Your SharePoint Deployment Now

Check out our list of Free Email Newsletters!

Related 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