Categories
MCSA MCSE Servers

Install & Configure Print Services in Windows Server 2016

Printing and file sharing are the essential sectors for users, groups, organizations in a network. Like in a network, there are a large number of printers with different varieties and there are an enormous number of groups, users who need to use. As an administrator, you should know how to install and configure print services in Windows Server to manage tens or hundreds of printers in a network. As most of the modern printers have a network interface card and Internet Protocol (IP) address can be assigned to the printers. Therefore, all users through the network can access and use them. One of the most handful features in print services is print pooling by which a number of printers are added to a pool. When one is performing a print job, other printers perform the next print jobs sent to them. As you can grant priority access to a printer from 1 through 99. When there are two print jobs in the print server, the user with higher priority will get the job done before the another. In this lesson, we will learn + understand how to install and configure print services fully in Windows Server 2016. Let’s get started.

Understanding Windows Print Architecture

Microsoft uses some terms referring to components of print services architecture, better to know for the certification exams or working with them. The Components involved with the print services are the following:

1. Print Device: printer device is actual hardware that produces hard-copy documents on paper.

2. Printer: It is the software interface through which a computer communicates with the print device.

3. Print Server: It is a server or a standalone computer which receives print jobs from clients that are attached locally or connected to the network.

4. Driver: It is a device driver that converts print jobs generated by an application to appropriate string of commands for a specific printer.

Attaching Printer Device

These are four fundamental configurations, you can configure a printer to work. As a result, the printer works depending on your configurations to print documents.

1. Direct Printing is the simplest way of using a printer device. That a printer is attached directly to a Server. The Server sends a print job to the printer, as a result, it produces the hard-copy document.

2. Local-attached printer sharing: Except direct printing, you also need to share printer and printer device with other clients on the same network. In this arrangement, the Server which is directly attached to the printer device works as a print server. Doing this, you can share the print server’s printer. Consequently, the clients can use the print device through server’s print interface. As a result, the advantage of this arrangement is that everyone from everywhere in the network has access to the printer device. Also, it is handful when you have light printing jobs.

3. Network-attached printing: Unlike the previous kinds of attaching the printer device with computer by USB or other port, here you don’t need to attach them. Instead, you can attach a printer device directly to a network. As a result of attaching printer device to a network, it becomes the network component. Most of the printer devices nowadays have network interface card (NIC) which allow you to attach a network standard cable to it. Due to this capability, a print device can have their own IP addresses. Also, you can buy NIC card separately and attach to a printer device. If the printer device has none of this capabilities a standalone print server is possible to be used.

Finally, by network attached printing you’ve to choose a computer to act as print server or let all or everyone uses the printer directly (or be print server) by sending print jobs and seeing their own queue. If you’ve chosen to be the print server everyone or multiple users then there are many disadvantages, which includes:

  • Users examining the print queue see only their own jobs.
  • Users are oblivious of the other users accessing the print device. They have no way of
    knowing what other jobs have been sent to the print device or how long it will be until
    the print device completes their jobs.
  • Administrators have no way of centrally managing the print queue because each client
    has its own print queue.
  • Administrators cannot implement advanced printing features, such as printer pools
    or remote administration.
  • Error messages appear only on the computer that originated the job that the print
    device is currently processing.
  • All print job processing is performed by the client computer rather than being partially
    offloaded to an external print server.

4. Network-attached printer sharing: In this method, you assign a computer as a print server and use it to serve clients means when you install a printer on a computer(that becomes the print server), you will share it on the network and configure it to access the printer directly through TCP (Transmission Control Protocol) port. When done, you just share the printer for the clients and manage them for accessing + managing.

Install Print Services Role in Windows Server

First of all, we need to install Print and document services role on Windows server 2016. Consequently you can use Windows server print services.

Role Installation

1. Open Server Manger and click on Add roles and features to install Print and document services role.

Add roles and features
Add roles and features

2. In the Welcome we’ve got nothing to do at all. Click on Next button. In Select destination server page, elect the Select a server from the server pool. Select the server you want to install the role on from the list below. Click on Next button.

Select a server from server pool
Select a server from server pool

3. Put a check mark in the box next to Print and document services. A small windows pops up and wants you to add some features for print services management. Click on Add features to install management tools. If you don’t install the management features, you just install the core service.

Print and document services
Print and document services

4. In the Print and Document Services page, provided essential information about the services to be noted. Finally click on Next button.

Print and Document Services
Print and Document Services

5. In the Select role services page four options are visible:

 1. Print Server: It is the actual print server. Selecting this option you can manage print services components as printers and drivers and furthermore things.

2. Distributed Scan Server: allows you to send scanned images to specific users or     groups in the domain.

3. Internet Printing: It creates a web page and gives the access to printer clients using printers through IIS web server.

4. LPD Service: This option enables UNIX clients running line printer remote (LPR) to send print    jobs to Windows printers. I install only Print Server.

Select Role Services
Select Role Services

6. We’re almost done. Click on Install button for installing the role on server. No reboot is needed.

Confirm installation selections
Confirm installation selections

Configure Print Services in Windows Server

First of all we need to add some printers and drivers on the server and manage them.

Open Server Manager, click on Tools dropdown menu and select Print Management services. Using this tool we can add and manage print services easily.

Server Manager
Server Manager

While Print Management tool is opened. Expand Custom Filters on the left pane to see the custom filters. You see four default filters:

  1. All Printers: It shows the list of all printer connected to the domain from all print servers.
  2. All Drivers: You can see a complete list of all drivers available for your clients through all the domain.
  3. Printers Not Ready: It shows you list the servers which are not available to clients. They don’t work, fix them.
  4. Printers With Jobs: Shows the list of printers currently doing print jobs.

Below Custom Filters another option is visible by the name Print Servers. Expand it to see all the print server in your domain. You can add all print servers in the domain here for easy management. Just right-click on Print Servers and select Add Server and go on.

Print Management Window
Print Management Window

You can see the same options like drivers and printer below the SVR-A server as the below Custom Filters. So the difference between this and the Custom Filter is that which the printers shown below the filter is the list of all printers in the domain. The printers below the Print Servers is the list of printers installed on each print server.

Add Printer

1. Print Management tool opened, expand Print Servers and right-click on the server and select Add Printer option.

Add Printer
Add Printer

2. In the Welcome page we’ve nothing to do so just click on Next button. In the Printer Installation page select the Add a new printer using an existing port. Elect a port and hit Next button.

Add new printer using this port
Add new printer using this port

3. In the Printer Driver page select Use an existing printer driver on the computer option. From the drop-down list select a driver that matches your printer device manufacturer and model.

Use an existing printer driver
Use an existing printer driver

4. Now you need to type a name for the printer in the box shown in the picture below. Below the Printer Name you can also see another option: Share this printer. As a result you can choose a share name and location for the printer. If needed you can leave a comment for users guidance.

Printer Share Name and location
Printer Share Name and location

5. Finally we are done with adding printer on a server. Just click on Finish button to finish the wizard. While finished the wizard you can find the printer in All Printers option in the left pane. If you would like to print a test page selecting Print a test page at the bottom of the wizard also you can add another printer by selecting Add another printer.

Finish the wizard
Finish the wizard

Add Driver

Maybe you need different kinds of drivers for client computers to use be able to use print device. So you need to have 32-bit and 64-bit drivers.

1. First of all you need to right-click on Drivers option below the server which you want to add driver to. Select the Add driver option.

Add Driver
Add Driver

2. In the Welcome page we have nothing to do. In the Processor Selection page you need to specify which kind of processors do your clients use. You can one or both of the options and hit Next.

Processor selection
Processor selection

3. In the Printer Driver Selection page you need to specify two things. First of all you should specify your devices’s manufacturer. Secondly specify the printer model. In addition to these you have one more useful option. If you have driver on a disk, you can click on Have Disk button and find path of the source and add it.

Printer Driver Selection
Printer Driver Selection

4. We are done and the driver was added to the server. So click on Finish button due to finish the wizard.

Finish the Wizard
Finish the Wizard

Conclusion

Ok, that’s all. For any kind of question feel free and leave a comment below the post. I answer you as soon as possible.

Categories
MCSA Servers

How to Create Users and Computers in Server 2016?

The Active Directory is a depository of all information computers, users, and services and the Active Directory users and computers are the container of all the information about the users and computers and more than the information, you can manage users and computer accounts through this management tool whether you create, remove or manage users. In this article, I’ll show you how to create users, computer accounts in Windows server 2016.

Create Users and Computers in Server 2016

#1: Create users

1. Open Server Manager and click on Tools tab then select Active Directory Users and Computers.

Active Directory Users and Computers
Active Directory Users and Computers

2. Expand the server node and click on the Users node, when you see all the default users and groups just click on the Create a new User button on the top as shown to create a new user account.

Create User button
Create User button

3. Enter the user details like name, last name, logon name etc. The logon name is the name that you want to logon to the network through, you will be given an email address in the network like mine is mehdi@tactig.com as shown then hit Next.

User details
User details

4. Now enter a complex password then confirm your password and below the password box you’ll see some options that should know them;

  •  User must change the password at next logon; is used when you create a user and give a simple password as a network administrator then you want the user to change the password at first logon.
  • User cannot change password; is used when you don’t want a user to change his account password.
  • Password never expires; is used when you don’t want users to change the password frequently. Most organizations force the users to change the password after a particular time. It is good to have the most secure account.
  • Account is disabled; is used when you want to disable unused accounts. Leave the first option selected and hit Next.
Password
Enter Password

5. When the user is created in Users container, finish the wizard by clicking on the Finish button.

Finish wizard
Finish wizard

#2: Create group

After creating users, now it’s time to create the groups we need for our specific team, location or jobs. Groups are created for simplifying the management. When you create a group, specify some people as member of that group, you give some rights to that group instead giving ever single user that right. Members of the group is not users only, they can be admins. You can make a group member of other group which is called nesting-group.

1. In order to create a group click on the Users node, then click on Create a new group button on the top as shown.

Create new group
Create new group

2. Enter the group name and you’ll see group scopes are available, select the Global scope. It is used when you want to make a group according to geography, common job, department, functions. Now choose the Group type (Security option: It is used when you want to specify which group can have access to which resource.

New object - group
New object – group

#3: Group Membership

1. If you want someone to be member of a group, you can do it from user properties > member of and make it member of a group. Also you can go to group properties > members and add a user. I follow the first way, right-click on the user and select Properties.

User Properties
User Properties

2. Here click on the Member Of tab then click on the Add button to add your account to a group.

Member Of tab
Member Of tab

3. Type name of the group in the box as shown then click on the OK button.

Select group
Select group

4. And now you’re in the group of KabulUsers. Now just click on the OK button to finish the wizard and apply the function.

Apply changes
Apply changes

Conclusion: Active Directory Users and Groups is an important title in network. I hope you learn this easy steps, how to create users and computer accounts. For advanced details of the users and groups, other articles will be published here. For any question leave a comment.

Categories
MCSA MCSE Servers

Configure DNS Server Zones Fully on Windows Server 2016?

After installing DNS, of course, you need to configure DNS because it is an important task to make DNS work correctly. DNS stands for Domain Naming System and the goal of DNS is to change name to IP address and and IP address to name like when you open a server or a web page, you enter a name like www.tactig.com, here the DNS server changes the name to the IP and you can visit the web page or get access to server sources. In this article, I show you how to come along to configure DNS Server fully on Windows Server.

Configure DNS Server Fully Step by Step

The DNS configuration is somehow like installing it, means you don’t need to worry or call any administrator to do it because you can do it along by this article, let’s move towards it.

1. When the DNS Server role installed, open the Server Manager window, click on tools tab that the dropdown menu appears and click on the DNS icon to open the DNS. Here I have named my server tactig-dc01.

Server Manager
Server Manager

2. At the first, what we need to do is creating a zone, it is a part of a DNS that the records are restored, for that purpose right click on your computer DNS server name and click on the New zone.

DNS Manager
DNS Manager

3. Skip the welcome page and on the next page, you’ll see three kinds of zone available.

  • Primary zone: is rewritten zone that is not copied from somewhere.
  • Secondary zone: is the copy of another zone, when you create a secondary zone you should copy the records from another source.
  • Stub zone: is providing information whatever server holds a special zone. We want to create a primary zone, then click on that then hit Next.
Primary zone
Primary zone

4. In the next page, you will be asked about replication method.

  • The first option, (To all DNS servers running on domain controller in this forest: <domain name> is used when you want to replicate with the domains and subdomains in the forest but that increases the network traffic.
  • The second option, (To all DNS servers running on domain controllers in the domain: <domain name> is used when you want you DNS server replicate with all DNS servers in in your own domain.
  • The third option, (To all domain controllers in this domain (for Windows 2000 compatibility): <domain name> is used when you want your server replicate with only domain controllers in your own domain. Select the 2nd option. Hit Next.
Replication Scope
Replication Scope

5. In the forward or reverse lookup zone page, select Forward lookup zone. The Forward lookup zone translates DNS name to IP address and the 2nd option, Reverse lookup zone translates IP to DNS name, just select Forward lookup zone then hit Next, we will configure the Reverse lookup zone later.

Forward lookup zone
Forward lookup zone

6. Specify a name for the zone then click on the Next button.

Zone name
Zone name

7. How do you want your zone contents update mode? The recommended option is Allow only secure updates. This option helps you DNS server not to be affected by spywares and viruses,  select the first option and hit Next.

Dynamic update
Dynamic update

8. After continuing, your primary zone is created, just click on the Finish button to start working it.

Finish wizard
Finish wizard

Now the zone has created successfully but the DNS configuration is not done fully yet and the secondary zone as mentioned before is copy of another zone. It means you should copy the contents from somewhere else. Now I want to show you how to create a secondary zone. You need one another server, DNS server installed on. I name the new DNS server: tactig-dns02. The new server that we try to use as a second DNS server should be member of the Active Directory Directory Services. You can do that. If not read the articles about in this website.

1. Now we’ll work on tactig-dns02 server,  open the DNS Manager tool and right-click on the Forward lookup zone, click on the New zone then skip the welcome page by hitting Next. In the Zone Type page, select the Secondary zone.

Secondary zone
Secondary zone

2. In the forward or reverse lookup zone page, select the Forward lookup zone option. It changes the DNS names to IP address. Then click on Next button.

Forward lookup zone
Forward lookup zone

3. Specify a name for the zone. Enter name of a zone that you’ve created before as a primary zone. Here you will have copy of the primary zone as a secondary zone.

Zone name
Zone name

4. In the Master DNS Servers page, you need to specify the master server. The Master server is the server that you’ve a zone out there and you want to copy its contents in your new secondary zone. Enter the master server’s IP address and the IP will be resolved. If the IP is correct, a green check mark will appear next to the IP address box then click on Next button.

DNS Master Servers
DNS Master Servers

5. When the Secondary zone is created, just click on the Finish button.

Finish zone wizard
Finish zone wizard

6. Now click on the new zone you just created, you’ll see the Red x means no content is present and not working properly as mentioned before you should copy the contents from somewhere else.

No Records
No Records

7. Go back to tactig-dns01 server, expand the Forward lookup zone mode and right-click on the zone that you want to get a copy from then select Properties.

Properties
Properties

8. Here select the Name Servers tab and add the server that you’ve installed the secondary zone on, here. When you add the name in the list you can copy the contents. For the purpose click on the Add button.

Name Servers
Name Servers

9. Type the server’s fully qualified domain name (FQDN) in the box as shown and below that box, enter the server’s IP address. When you resolve the server a message appears, don’t be worried because the message tells you that your server is not authoritative for the zone that’s what we know that. We just we want to make a copy of the zone  and click on OK button.

Name Server Record
Name Server Record

10. Now come back to tactig-dns02 server, right-click on the zone you created and select Transfer from Master.

Transfer form master
Transfer form master

11. Refresh the page clicking on the Refresh button and you’ll see all the records you could see in tactig-dns01 server zone, now the secondary zone is created and configured properly.

Secondary zone records
Secondary zone records

Another next important point for the DNS configuration is that you should learn what is Reverse Lookup Zone. The Reverse Lookup Zone do opposite to what Forward Lookup Zone does means It change IP address to DNS name, when you’ve or give an IP address, it gives you the DNS name. For doing this, we need just one DNS server and I’ll use my root DNS server (tactig-dns01).

1. It is created the same as primary and secondary zones so expand the server name and right-click on the Forward Lookup Zone then select New Zone. When the page appears, skip the welcome page and select Primary zone then hit Next, leave the next step as default and hit Next. Here Select IPv4 Reverse Lookup Zone or IPv6 reverse lookup zone then hit Next, we use IPv4 version in our networks so you can choose the one you want to use.

IPv4 Reverse Lookup Zone
IPv4 Reverse Lookup Zone

2. At this point, the Network ID is needed for the zone, specify the Network ID then hit Next ( The Network ID is your network’s IP address.

Network ID
Network ID

3. Select the Allow only secure dynamic update option and click on Next button then finish the wizard to completely finish the configuration.

Finish Wizard
Finish Wizard

4. Run PowerShell as administrator. Type this command: ipconfig /registerdns. Press Enter button.

Register DNS
Register DNS

5. Refresh the Forward Reverse Zone node, you will see that an IP address is added there and you are done!

Forward Reverse Zone
Forward Reverse Zone

Conclusion: The DNS configuration is completely done. Yes, this was the basic configuration of DNS and the Advanced configuration of the DNS is more complicated, Practice till the time you feel you’ve already learned the configuration. For any further question leave a comment below.

Categories
MCSA MCSE Servers

Create DHCP Server Scope on Windows Server 2016 step-by-step

Dynamic Host Configuration Protocol (DHCP) Server is one of the critical parts of today’s enterprise networks. When somebody request for IP (Internet Protocol), instead of a network administrator, a server distributes IP for the device. It is more effective and less expensive. Also, DHCP server provides more information to the clients such as default gateway, subnet mask. DHCP allows hosts to acquire necessary TCP/IP configuration information from a DHCP server and do more. In order to configure DHCP Server follow the steps.

DHCP Server Post-installation configurations

After installing the DHCP role on Windows server, you need to configure DHCP server.

1. When the DHCP role installed, open Server Manager. Click on flag. Then click on Complete DHCP configuration hyperlink.

Complete DHCP Configuration
Complete DHCP Configuration

2. Skip the Description page by clicking on Next button. Now enter the credentials in both boxes, for entering the alternative credential click on Specify button and type the username and password. Make sure you use credentials that have permissions to perform these tasks. Then click on Commit button.

Authorization page
Authorization page

3. The Summary page show you the summary of post installation configurations. Click on the Close button.

Summary page
Summary page

Create DHCP scope

You need to create a DCHP scope. DHCP scope is the range of possible IP addresses that can be assigned to clients. Every scope defines a physical subnet.

1. Now open Server Manager and click on Tools tab then click on the DHCP to open it.

Open DHCP server
Open DHCP server

2. When the DHCP opened, expand DHCP server name and right-click on IPv4 then click on the New Scope option to create an IP scope for distribution.

New scope
New scope

3. Type an scope name. Add a description for scope. Then click Next button.

Scope name and description
Scope name and description

4. Specify the IP Address Range by entering the start IP Address and End IP address. The length automatically assigns, based on you IP address class and the subnet mask assigns automatically. Then click on Next button.

IP address range
IP address range

5. You can exclude some of the IP addresses for the servers or  especial services. The IPs excluded will not be assigned automatically. IPs before and after the exclusion range are assigned. IPs excluded are assigned on servers manually. Specify the IP range you want to exclude, add the IP range and click on Next button.

Exclusion and Delay
Exclusion and Delay

6. On the Configure DHCP option page, select this option: Yes, I want to configure these options now. Clicking on Next button.

Configure DHCP Option
Configure DHCP Option

7. Enter your Router’s IP address in the box and click on add button to add the IP address. Then click on Next button.

Router (Default Gateway)
Router (Default Gateway)

8. DNS (Domain Name System) server translates the name to IP address and IP address to name. Type the DNS server’s name in the box. Then type IP address in the box below then click on Add button to add to the IP address. At the end click on Next button.

Parent domain
Parent domain

9. WINS Server translates NetBIOS computer name to IP address. Type WINS server name in Server name box. Type the WINS server’s IP address and click on Add button. Then click on Next button.

WINS server
WINS server

10. Finish the wizard clicking on Finish button.

Finish wizard
Finish wizard

 

DHCP Server Console

We are done with the creation of new scope. It is the time to know more about DHCP server console. Below the DHCP server name, you see IPv4 and IPv6 options. It means that Windows server 2016 can support both IPv4 and IPv6 versions of IP address. Expand IPv4 to see the scope you have created. Also Server Options, Policies and Filters.

Expand the scope. Things you see are these:

  • Address Pool: IP address range can be assigned to clients and exclusion range is listed here.
  • Address Leases: IP address which have been assigned to clients dynamically are listed here. IP address which have been assigned manually won’t be listed here.
  • Reservations: Reserved IP range is listed here.
  • Scope Options: Some options like Router, PXE client and etc.
  • Policies: Policies created for DCHP server are listed here.
DHCP Server Console
DHCP Server Console

Conclusion

DHCP has been successfully configured and ready to be used. For any question, suggestion, feel free and leave a comment. I answer your question as soon as possible.