programming4us
programming4us
DESKTOP

Windows Server 2008 : Configuring Server Core for Remote Administration - Enabling Access with Remote Microsoft Management Consoles

12/22/2013 1:30:35 AM

After you add the roles using ocsetup or dism, it’s often easier to configure the role with the Microsoft Management Console (MMC) from a remote computer. For example, if you enable the DHCP server role on a Server Core computer named SC1, you can then use another computer with a full installation (not Server Core) to remotely connect to SC1 and configure the DHCP server role. First, enter the following line at the Server Core prompt to modify the firewall to enable remote administration of the DHCP server:

netsh advfirewall firewall set rule group="dhcp server"
new enable=yes

You can then use the DHCP console from another server with the following steps.

StepAction
1.Launch the DHCP Server console.
2.Right-click DHCP and select Add Server. Type the name of the Server Core server hosting DHCP. Your display should look similar to Figure 1.

Note

In the display, the sc1.pearson.pub has already been added to the DHCP console and shows in the background. This enables you to see what it looks like when it’s been added. Notice that the dc1.pearson.pub DHCP server has up arrows on the IPv4 and IPv6 nodes indicating that the server has been authorized and scopes have been configured and activated. However, the Server Core DHCP server has not been authorized yet.

3.Click OK to add the server.
4.After the server has been added, you can right-click the server and select Authorize. You can then configure the DHCP server from the console.

Figure 1. Adding a Server Core DHCP server to the DHCP console

You can enable remote administration using any MMC with the following command:

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

You can disable remote administration using any MMC with the following command. Note that you only change enable=yes to enable=no.

netsh advfirewall firewall set rule group="remote administration"
new enable=no

You can also enable remote administration of specific consoles (such as just the DHCP server console as shown earlier). Use the following syntax to enable specific consoles:

netsh advfirewall firewall set rule group="rule-group-name"
new enable=yes

The following table shows the rule group name that you substitute in the command.

Rule Group NameEnables You to Use This MMC Snap-In
DHCP ServerDHCP
Remote Event Log ManagementEvent Viewer
Remote Services ManagementServices
File and Printer SharingShared Folders
Remote Scheduled Tasks ManagementTask Scheduler
Performance Logs and Alerts

and

File and Printer Sharing
Reliability and Performance
Remote Volume ManagementDisk Management
Windows Firewall Remote ManagementWindows Firewall with Advanced Security
Remote AdministrationAll MMC snap-ins

The preceding table is not all inclusive. To view a list of all rule groups, use the following command:

netsh advfirewall firewall show rule name=all | more

Tip

The | more at the end of the command enables you to view the rules one screen at a time. Use Enter to show the rules one line at a time, or the spacebar to show the rules one page at a time. If you press Ctrl+C, it stops the display.

Other  
  •  Windows Server 2008 : Configuring Server Core for Remote Administration - Using the Server Core Registry Editor
  •  Managing Windows Server 2012 (part 13) - Using Remote Desktop - Supporting Remote Desktop Connection clients
  •  Managing Windows Server 2012 (part 12) - Using Remote Desktop - Remote Desktop essentials, Configuring Remote Desktop
  •  Managing Windows Server 2012 (part 11) - Optimizing toolbars
  •  Managing Windows Server 2012 (part 10) - Customizing the desktop and the taskbar - Using Auto Hide and locking, Controlling programs in the notification area
  •  Managing Windows Server 2012 (part 9) - Customizing the desktop and the taskbar - Configuring desktop items, Configuring the taskbar
  •  Managing Windows Server 2012 (part 8) - Using the System console
  •  Managing Windows Server 2012 (part 7) - Using Control Panel
  •  Managing Windows Server 2012 (part 6) - Working with Computer Management
  •  Managing Windows Server 2012 (part 5) - Working with Server Manager - Adding servers for management, Creating server groups, Enabling remote management
  •  
    video
     
    Video tutorials
    - How To Install Windows 8

    - How To Install Windows Server 2012

    - How To Install Windows Server 2012 On VirtualBox

    - How To Disable Windows 8 Metro UI

    - How To Install Windows Store Apps From Windows 8 Classic Desktop

    - How To Disable Windows Update in Windows 8

    - How To Disable Windows 8 Metro UI

    - How To Add Widgets To Windows 8 Lock Screen

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010
    programming4us programming4us
    programming4us
     
     
    programming4us