ServerConfiguration


Install and Configure Microsoft DNS Server

This step-by-step article describes how to install and configure DNS on your Windows Server 2003 computer.

Before You Start

Before you start to configure your DNS, you must gather some basic information. Internic must approve some of this information for use on the Internet, but if you are configuring this server for internal use only, you can decide what names and IP addresses to use.

You must have the following information:
  • Your domain name (approved by Internic).
  • The IP address and host name of each server that you want to provide name resolution for.
Note: The servers may be your mail servers, public access servers, FTP servers, WWW servers, and others.

Before you configure your computer as a DNS, verify that the following conditions are true:
  • Your operating system is configured correctly. In the Windows Server 2003 family, the DNS service depends on the correct configuration of the operating system and its services, such as TCP/IP. If you have a new installation of a Windows Server 2003 operating system, then you can use the default service settings. You do not have to take additional action.
  • You have allocated all the available disk space.
  • All the existing disk volumes use the NTFS file system. FAT32 volumes are not secure, and they do not support file and folder compression, disk quotas, file encryption, or individual file permissions

Install DNS

  1. Open Windows Components Wizard. To do so, use the following steps:
a.       Click Start, click Control Panel, and then click Add or Remove Programs.
b.      Click Add/Remove Windows Components.
  1. In Components, select the Networking Services check box, and then click Details.
  2. InSubcomponents of Networking Services, select the Domain Name System (DNS) check box, click OK, and then click Next.
  3. If you are prompted, in Copy files from, type the full path of the distribution files, and then click OK.

Configure DNS

  1. Start the Configure Your Server Wizard. To do so, click Start, point to All Programs, point to Administrative Tools, and then click Configure Your Server Wizard.
  2. On the Server Role page, click DNS server, and then click Next.
  3. On the Summary of Selections page, view and confirm the options that you have selected. The following items should appear on this page:
    • Install DNS
    • Run the Configure a DNS Wizard to configure DNS
If the Summary of Selections page lists these two items, click Next. If the Summary of Selections page does not list these two items, click Back to return to the Server Role page, click DNS, and then click Next.
  1. When the Configure Your Server Wizard installs the DNS service, it first determines whether the IP address for this server is static or is configured automatically. If your server is currently configured to obtain its IP address automatically, the Configuring Components page of the Windows Components Wizard prompts you to configure this server with a static IP address. To do so:
a.       In the Local Area Connection Properties dialog box, click Internet Protocol (TCP/IP), and then click Properties.
b.      In the Internet Protocols (TCP/IP) Properties dialog box, click Use the following IP address, and then type the static IP address, subnet mask, and default gateway for this server.
c.       In Preferred DNS, type the IP address of this server.
d.      In Alternate DNS, type the IP address of another internal DNS server, or leave this box blank.
e.       When you finish setting up the static addresses for your DNS, click OK, and then click Close.
  1. After you click Close, the Configure a DNS Server Wizard starts. In the wizard, follow these steps:
 .        On the Select Configuration Action page, select the Create a forward lookup zone check box, and then click Next.
a.       To specify that this DNS hosts a DNS zone that contains DNS resource records for your network resources, on the Primary Server Location page, click This server maintains the zone, and then click Next.
b.      On the Zone Name page, in Zone name, specify the name of the DNS zone for your network, and then click Next. The name of the zone is the same as the name of the DNS domain for your small organization or branch office.
c.       On the Dynamic Update page, click Allow both nonsecure and secure dynamic updates, and then click Next. This makes sure that the DNS resource records for the resources in your network update automatically.
d.      On the Forwarders page, click Yes, it should forward queries to DNS servers with the following IP addresses, and then click Next. When you select this configuration, you forward all DNS queries for DNS names outside your network to a DNS at either your ISP or central office. Type one or more IP addresses that either your ISP or central office DNS servers use.
e.       On the Completing the Configure a DNS Wizard page of the Configure a DNS Wizard, you can click Back to change any of the settings. To apply your selections, click Finish.
After you finish the Configure a DNS Wizard, the Configure Your Server Wizard displays the This Server is Now a DNS Server page. To review all the changes that you made to your server in the Configure Your Server Wizard or to make sure that a new role was installed successfully, click Configure Your Server log. The Configure Your Server Wizard log is located at %systemroot%\Debug\Configure Your Server.log. To close the Configure Your Server Wizard, click Finish.


---------------------------------------------------------------------------------------------------------------






--------------------------------------------------------------------------------------------------------------


DHCP Server

A DHCP Server assigns IP addresses to client computers. This is very often used in enterprise networks to reduce configuration efforts. All IP addresses of all computers are stored in a database that resides on a server machine.

Installing DHCP Server is very easy in win server 2003
First you need to go to Start–>All Programs–>Administrative Tools–>Manage Your Server

Here you need to select Add or remove a role

Verify the following steps click on Next

Select Server Role as DHCP Server option click on Next

Summary selection click on Next

Installing DHCP Server in progress

Now this will prompt new scope welcome scree click next

A scope is a collection of IP addresses for computers on a subnet that use DHCP.
enter the name and description of your scope click next

Now you need to define the range of addresses that the scope will distribute across the network,the subnet mask for the IP address . Enter the appropriate details and click next.

Enter the IP address range that you want to exclude and click on next

Select lease duration how long a client can use an IP address assigned to it from this scope. It is recommended to add longer leases for a fixed network (in the office for example) and shorter leases for remote connections or laptop computers and click next

You are given a choice of whether or not you wish to configure the DHCP options for the scope now or later.You can select Yes,I want to… radion button and click next

Enter the router, or gateway, IP address click next. The client computers will then know which router to use and click next

Enter the DNS and domain name settings can be entered. The DNS server IP address will be distributed by the DHCP server and given to the client click next

If you have WINS setup then here is where to enter the IP Address of the WINS server. You can just input the server name into the appropriate box and press Resolve” to allow it to find the IP address itself click next

Now you need to activate this scope now and click next

DHCP Server new scope installation was finished and click finish

Now your server is now a DHCP server message and click finish

Configuring DHCP
Now you need to go to Start—>Administrative Tools—>DHCP

Right Click on your server click on Authorize your DHCP Server

Authorization completed now your DHCP server is up and running

DHCP servers permit you to reserve an IP address for a client. This means that the specific network client will have the same IP for as long as you wanted it to. To do this you will have to know the physical address (MAC) of each network card. Enter the reservation name, desired IP address, MAC address and description – choose whether you want to support DHCP or BOOTP and press add. The new reservation will be added to the list.

That’s it it is very easy to configure DHCP server in win server 2003 now you can configure your windows client pc to check your dhcp server is working or not.

 -------------------------------------------------------------------------------------------------------------







---------------------------------------------------------------------------------------------------------------
Network Printer Service


In Windows Server 2003 R2, there is a new Microsoft Management Console
(MMC) Print Management that enables you to install, view, and manage all of
the printers in your organization. It can be used with Group Policy to
automatically add printer connections to a computer's Printers and Faxes
folder.

Scenario A (Windows Server 2003)

1. Create a new group policy object with user logon script for deploying
printers.

2. Create a Visual Basic Script for installing the printer, save it to
SYSVOL script folder and configure it as the user logon script.

Script Template:

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\Server\printer"
WshNetwork.SetDefaultPrinter "\\Server\printer "


Scenario B (Windows Server 2003 R2)

1. In the Print Management Console, right click the shared printer listed
in the printers folder and choose to "Deploy with Group Policy*"

2. In the dialog box, choose a group policy object you want to deploy with
and decide the connection type. For your issue, it should be Per User.

3. Copy pushprintconnections.vbs from "%systemroot%\PMCSnap\" to SYSVOL
script folder, and configure it as the user logon script in that group
policy.

Note:

PushPrinterConnections.vbs runs in the client side is to connect and
disconnect the printer. If you remove the printer connection settings from
the GPO, the PushPrinterConnections.vbs will remove the corresponding
printers from the client computer on the next restart or user logon.

For more reference
=================

How to Add a Default Printer Using a Visual Basic Script
http://support.microsoft.com/kb/263226

How to assign scripts in Windows 2000
http://support.microsoft.com/kb/322241

Step-by-Step Guide for Print Management
http://technet2.microsoft.com/window...b-73ec-40c7-a4
df-63dd7248d93d1033.mspx?mfr=true

Microsoft TechNet Script Center
http://www.microsoft.com/technet/scr...r/default.mspx
--------------------------------------------------------------------------------------------------------------

















---------------------------------------------------------------------------------------------------------------

I hope all the information will be helpful.