Other useful commands for those running ServerCore.

I pointed out in my last post a reference to the step by step guide for server core but here's a few other tips for those playing with the GUI-less OS.

 

Remote management with MMCs:

Enable remote management in the firewall so you can connect to the dang thing.  Actually this goes for LH in general if you try and open a snap-in remotely and it comes back with error 0x6D9:

netsh advfirewall set allprofiles settings remotemanagement enable

SCREGEDIT.wsf:

The server core team made a script to do some of the most basic stuff you want to turn on thus eliminating the thinking for us.  Just run SCREGEDIT from the windows dir on the server core machine to check out what you can set.

Turn on TS:

C:\Windows>scregedit /AR
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Terminal Service - Allow Remote Administration Connections
This allows administrators to connect remotely for administration purposes.

/AR [/v][value]

/v View the Remote Terminal Service Connection setting
value (0 = enabled, 1 = disabled)

C:\Windows>scregedit /AR /v //This views the current settings, you can see I'm already set to allow TS.
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

Allow TS connections from downlevel clients:

C:\Windows>scregedit /CS
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Terminal Service - Allow connections from previous versions of Windows
This setting configures CredSSP based user authentication for
Terminal Service connections

/CS [/v][value]

/v View the Terminal Service CredSSP setting
value (0 = allow previous versions, 1 = require CredSSP)

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

Registry has been updated.

 

Technorati tags: Longhorn, vista, server core