Here are some quick commands I sourced while setting up a Windows 2008 Virtual environment for Exchange 2007, using a W2008 Core Domain Controller.
Setting the Firewall to “Disabled” mode.
netsh firewall set opmode disable
Setting all Firewall profiles to “Off”.
netsh advfirewall set allprofiles state off
Enabling “Remote Administration”.
netsh advfirewall firewall set rule group="Remote Administration" new enable=yes
Enabloing the “Remote Management Profile”.
netsh advfirewall set currentprofile settings remotemanagement enable
Below is a great starter article by Mark Empson on initial W2008 Core DC configuration.
Hope this helps.
All information is provided on an AS-IS basis, with no warranties and confers no rights.