Category: Windows Server & Active Directory

Windows Server 2012, Active Directory, DNS, Group Policy, certificates and Windows networking.

  • Distribute Certificates to Client Computers by Using Group Policy

    Applies To: Windows Server 2012

    You can use the following procedure to push down the appropriate Secure Sockets Layer (SSL) certificates (or equivalent certificates that chain to a trusted root) for account federation servers, resource federation servers, and Web servers to each client computer in the account partner forest by using Group Policy.

    Membership in Domain Admins or Enterprise Admins, or equivalent, in Active Directory Domain Services (AD DS) is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).

    1. On a domain controller in the forest of the account partner organization, start the Group Policy Management snap-in.
    2. Find an existing Group Policy Object (GPO) or create a new GPO to contain the certificate settings. Ensure that the GPO is associated with the domain, site, or organizational unit (OU) where the appropriate user and computer accounts reside.
    3. Right-click the GPO, and then click Edit.
    4. In the console tree, open Computer Configuration\Policies\Windows Settings\Security Settings\Public Key Policies, right-click Trusted Root Certification Authorities, and then click Import.
    5. On the Welcome to the Certificate Import Wizard page, click Next.
    6. On the File to Import page, type the path to the appropriate certificate files (for example, \\fs1\c$\fs1.cer), and then click Next.
    7. On the Certificate Store page, click Place all certificates in the following store, and then click Next.
    8. On the Completing the Certificate Import Wizard page, verify that the information you provided is accurate, and then click Finish.
    9. Repeat steps 2 through 6 to add additional certificates for each of the federation servers in the farm.
      1. Refresh by using gpupdate /force

    Applies To: Windows Server 2008 R2

    Certificates are important credentials. Administrators may not want to let users decide which certificates to trust and which not to trust. Often the decision to trust or not trust a particular certificate should be made by an administrator or individual who is knowledgeable about the particular certificate and its trust implications for the organization.

    You can use Group Policy to distribute the following types of certificates to clients.

    Type of certificate Description
    Trusted Root Certification Authorities Implicitly trusted certification authorities (CAs). Includes all of the certificates in the Third-Party Root Certification Authorities store plus root certificates from your own organization and Microsoft.
    Enterprise Trust A certificate trust list provides a mechanism for trusting self-signed root certificates from other organizations and limiting the purposes for which these certificates are trusted.
    Intermediate Certification Authorities Certificates issued to subordinate CAs.
    Trusted Publishers Certificates from CAs that are trusted.
    Untrusted Certificates Certificates that you have explicitly decided not to trust because they are no longer valid for their intended purpose or because they are from a source that domain clients should not trust.
    Trusted People Certificates issued to people or end entities that are explicitly trusted. Most often these are self-signed certificates or certificates explicitly trusted in an application such as Microsoft Outlook.

    Membership in Domain Admins, or equivalent, is the minimum required to complete this procedure. For more information, see Implement Role-Based Administration.

    To add certificates to the Trusted Root Certification Authorities store for a domain

    1. Click Start, point to Administrative Tools, and then click Group Policy Management.
    2. In the console tree, double-click Group Policy Objects in the forest and domain containing the Default Domain Policy Group Policy object (GPO) that you want to edit.
    3. Right-click the Default Domain Policy GPO, and then click Edit.
    4. In the Group Policy Management Console (GPMC), go to Computer Configuration, Windows Settings, Security Settings, and then click Public Key Policies.
    5. Right-click the Trusted Root Certification Authorities store.
    6. Click Import and follow the steps in the Certificate Import Wizard to import the certificates.
    7. Refresh by using gpupdate /force
  • Creating and formatting a hard disk partition

    To create a partition or volume (the two terms are often used interchangeably) on a hard disk, you must be logged in as an administrator, and there must be either unallocated disk space or free space within an extended partition on the hard disk.

    If there is no unallocated disk space, you can create some by shrinking an existing partition, deleting a partition, or by using a third-party partitioning program. For more information, see Can I repartition my hard disk?

    For information about reformatting a hard disk, see Formatting disks and drives: frequently asked questions.

    To create and format a new partition (volume)

    1. Open Computer Management by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Computer Management. Administrator permission required If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.

    2. In the left pane, under Storage, click Disk Management.

    3. Right-click an unallocated region on your hard disk, and then click New Simple Volume.

    4. In the New Simple Volume Wizard, click Next.

    5. Type the size of the volume you want to create in megabytes (MB) or accept the maximum default size, and then clickNext.

    6. Accept the default drive letter or choose a different drive letter to identify the partition, and then click Next.

    7. In the Format Partition dialog box, do one of the following:

      • If you don’t want to format the volume right now, click Do not format this volume, and then click Next.

      • To format the volume with the default settings, click Next.

    8. Review your choices, and then click Finish.

    Note

    • When you create new partitions on a basic disk, the first three will be formatted as primary partitions. Beginning with the fourth, each one will be configured as a logical drive within an extended partition.

    To format an existing partition (volume)

    Warning

    • Formatting a volume will destroy any data on the partition. Be sure to back up any data you want to save before you begin.

    1. Open Computer Management by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Computer Management. Administrator permission required If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.

    2. In the left pane, under Storage, click Disk Management.

    3. Right-click the volume that you want to format, and then click Format.

    4. To format the volume with the default settings, in the Format dialog box, click OK, and then click OK again.

    Notes

    • You cannot format a disk or partition that is currently in use, including the partition that contains Windows.

    • The Perform a quick format option will create a new file table, but will not fully overwrite or erase the volume. Aquick format is much faster than a normal format, which fully erases any existing data on the volume.

  • Load Balancers (Kemp/F5)

    KEMP Technologies, Inc. was founded in 2000 in Bethpage, New York and operates in the application delivery industry.[1] The company creates load balancing products which balance user traffic between multiple servers in an organization, business or managed service provider’s infrastructure

    KEMP’s load balancers are primarily used by small-to-medium businesses,[4] including law firms[5] and banks.[6] The product line supports Microsoft services such as Exchange 2010[7] and Lync 2010.[8] The company also offers geographic[9] and virtualized[10] load balancing.

    Kemp’s LoadMaster product is a load balancer[11] built on its own hardware platform.

  • Server Core Configuration

    You can use the Netsh.exe tool to perform the following tasks:

    • Configure interfaces
    • Configure routing protocols
    • Configure filters
    • Configure routes
    • Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service
    • Display the configuration of a currently running router on any computer
    • Use the scripting feature to run a collection of commands in batch mode against a specified router

    To switch the specified adapter from a static address to DHCP, type the following command:

    netsh interface ip set address “Local Area Connection” dhcp

    NOTE: Typing this command changes the interface named “Local Area Connection” to DHCP.

    To display all of the adapters in the computer with their current IP addresses to determine the correct adapter name, type the following command:

    Netsh interface ip show config

    To change to a static address, type the following command:

    netsh interface ip set address “Local Area Connection” static ipaddr subnetmask gateway metric

    NOTE: Replace ipaddr with the static IP address, subnetmask with the subnet mask, gateway with the default gateway and, if necessary, metric with the appropriate metric. The following example changes the interface “Local Area Connection” to a static address of 192.168.0.10 with a subnet mask of 255.255.255.0, and the interface has a default gateway of 192.168.0.1 with a metric of 1:

    netsh interface ip set address “Local Area Connection” static 192.168.0.10 255.255.255.0 192.168.0.1 1

    Changing DNS:

    First, the network name is likely “Ethernet”, not “Local Area Connection”. To find out the name you can do this:

    netsh interface show interface
    

    Which will show the name under the “Interface Name” column (shown here in bold):

    Admin State    State          Type             Interface Name
    -------------------------------------------------------------------------
    Enabled        Connected      Dedicated        Ethernet

    Now you can change the primary dns (index=1), assuming that your interface is static (not using dhcp):

    netsh interface ipv4 add dnsserver "Ethernet" address=192.168.x.x index=1
    
    

     

    netdom join <ComputerName> /domain:<DomainName> /userd:<UserName> /passwordd:*****

    Where:
    ComputerName is the name of the server that is running the Server Core installation.
    DomainName is the name of the domain to join.
    UserName is a domain user account with permission to join the domain.
    NOTE: Ensure you have the primary DNS server set to your Domain Controller

    3. When prompted to enter the password, type the password for the domain user account specified by UserName.

    4. Restart the computer for the changes to take effect.

    C:\Users\administrator> shutdown /r /t 0

    http://www.youtube.com/watch?v=Q4otWps0-F0