# Windows Server Administration/File and Print Services

This lesson covers File and Print services. Activities include configuring and testing file and print servers.

## Objectives and Skills

Objectives and skills for the Understanding Server Roles portion of Windows Server Administration Fundamentals certification include:
* Understand the file and print services: local printers; network printers; printer pools; web printing; web management; driver deployment; file, folder, and share permissions vs. rights; auditing; print job management

## Readings

* Wikipedia: File server
* Overview of file sharing using the SMB 3 protocol in Windows Server
* What's new in Storage in Windows Server
* Wikipedia: Print server
* Wikipedia: Line Printer Daemon protocol
* Wikipedia: Internet Printing Protocol
* Wikipedia: Information technology security audit

## Multimedia

* YouTube: How to Install and Configure File Server on Windows Server 2019
* YouTube: Windows Server 2019 How to create a shared folder
* YouTube: Setup Share Folders with NTFS Permission in Windows Server 2019
* YouTube: Install and Configure DFS Namespaces in Windows Server 2019
* YouTube: How to Install and Configure Print Server on Windows Server 2019
* YouTube: Configure Quotas with File Server Resource Manager
* YouTube: MCITP 70-640: Windows Auditing
* YouTube: MCITP 70-640: Windows File Auditing

## Activities

* Review Windows Server 2019 : File Server : Install : Server World and Share a folder with Windows Server. Add the file server role and share folders.
* Review NTFS and Share Permissions in Server 2019. Apply and test both approaches.
* Review How to setup DFS on Server 2019. Install DFS, add a namespace and some target folders]
* Review File Server Resource Manager (FSRM) overview. Configure a quota and test it.
* Review Print Server Deployment on Windows Server 2019. Add the print server role and configure shared printers. Publish one through Active Directory
* Review Enable File and Folder Access Auditing on Windows Server. Configure auditing of access to specific folders.

## Lesson Summary

* A file server is a computer attached to a network that has the primary purpose of providing a location for shared disk access to workstations on the network.
* Access to file server resources is based on user or group credentials.
* Access permissions define the operations that can be performed on network resources.
* User rights define the privileges set for specific administrative tasks.
* Share permissions are applied to network shares. NTFS permissions are applied to files and folders. When accessing files and folders through a network share, both shared folder permissions and NTFS permissions are applied, with the most restrictive permission being the effective permission.
* Server Message Block (SMB), also known as Common Internet File System (CIFS), is the application-layer network protocol used for providing shared access to files and printers with Windows File and Print services.
* Samba is a free SMB/CIFS implementation for Unix-like clients, which includes Linux and macOS.
* SMB was originally based on NetBIOS names and used WINS for name resolution. This approach has been deprecated in favor of host names and the use of DNS for name resolution.
* SMB is also a fabric protocol used by software-defined data center (SDDC) solutions such as Storage Spaces Direct, Storage Replica, and others. SMB version 3.0 was introduced with Windows Server 2012 and has been incrementally improved in subsequent releases.
* DFS stands for Distributed File System, and it provides the ability to consolidate multiple shares on different servers into a common namespace.
* With DFS, the storage administrator creates a hierarchical namespace of links that point to his company’s file shares. These shares can be hosted by any SMB-compatible device, including Windows Servers, network-attached storage devices from numerous vendors, and even Samba shares.
* System Insights is a predictive analytics feature that locally analyzes Windows Server system data and provides insight into the functioning of the server. It comes with a number of built-in capabilities, but we've added the ability to install additional capabilities via Windows Admin Center, starting with disk anomaly detection. Disk anomaly detection is a new capability that highlights when disks are behaving differently than usual.
* Storage Spaces are virtual disks created from a storage pool, which is a collection of physical disks.
* A storage space appears to the Windows operating system as a regular disk from which you can create formatted volumes. When you create a virtual disk through the File and Storage Services user interface, you can configure the resiliency type (simple, mirror, or parity), the provisioning type (thin or fixed), and the size.
* File Server Resource Manager (FSRM) is a role service in Windows Server that enables you to manage and classify data stored on file servers. You can use File Server Resource Manager to automatically classify files, perform tasks based on these classifications, set quotas on folders, and create reports monitoring storage usage.
* A print server is a device that connects printers to client computers over a network by accepting print jobs from the computers and sending the jobs to the appropriate printers, queuing the jobs locally to accommodate the fact that work may arrive more quickly than the printer can actually handle it.
* Windows Print services support printing through SMB, LPD, IPP, and other protocols.
* Local printers are physically attached to the print server. Network printers are connected to the network and accessed through the printer driver loaded on the server.
* A printer pool is a single logical printer on the print server connected to multiple physical local or network printers. All printers in the pool must use the same printer driver.
* Printers and print jobs are managed using the Microsoft Management Console Print Management snap-in.
* Windows Print services supports installation of both 32-bit and 64-bit print drivers, allowing network clients to pull drivers from the print server when printing.
* The Internet Printing Protocol (IPP) provides a standard network protocol for remote printing and managing print jobs with support for access control, authentication, and encryption.
* A computer security audit is a manual or systematic measurable technical assessment of a system or application.
* In Windows, auditing may be configured on files, folders, and printers to monitor access and usage.

## Key Terms
### cache

    A component that transparently stores data so that future requests for that data can be served faster.

### CIFS (Common Internet File System)

    Another name for the Server Message Block (SMB) protocol.

### JetDirect

    The name of a technology and products sold by Hewlett-Packard that allows computer printers to be directly attached to a Local Area Network.

### Line Printer Daemon (LPD)

    A network protocol for submitting print jobs to a remote printer.

### NetBIOS (Network Basic Input/Output System)

    Provides services related to the session layer of the OSI model allowing applications on separate computers to communicate over a local area network.

### print job

    A file or set of files that has been submitted to be printed.

### queue

    A collection in which the entities in the collection are kept in order and processed sequentially as First-In-First-Out.

### Spool

    An acronym for simultaneous peripheral operations on-line, most commonly used for print spooling.

### Windows Internet Name Service (WINS)

    Microsoft's implementation of NetBIOS Name Service (NBNS), a name server and service for NetBIOS computer names, providing a central mapping of NetBIOS names to network addresses in the same way that DNS provides a central mapping of host names to network addresses.

## Review Questions

Click on a question to see the answer.
* A file server is a computer attached to a network that has the primary purpose of _____. A file server is a computer attached to a network that has the primary purpose of providing a location for shared disk access to workstations on the network.
* Access to file server resources is based on _____. Access to file server resources is based on user or group credentials.
* Access permissions define _____. Access permissions define the operations that can be performed on network resources.
* User rights define _____. User rights define the privileges set for specific administrative tasks.
* Share permissions are applied to _____. NTFS permissions are applied to _____. When accessing files and folders through a network share, _____ permissions are applied, with the _____ permission being the effective permission. Share permissions are applied to network shares. NTFS permissions are applied to files and folders. When accessing files and folders through a network share, both shared folder permissions and NTFS permissions are applied, with the most restrictive permission being the effective permission.
* _____, also known as _____, is the application-layer network protocol used for providing shared access to files and printers with Windows File and Print services. Server Message Block (SMB), also known as Common Internet File System (CIFS), is the application-layer network protocol used for providing shared access to files and printers with Windows File and Print services.
* Samba is a free SMB/CIFS implementation for _____ clients, which includes _____. Samba is a free SMB/CIFS implementation for Unix-like clients, which includes Linux and macOS.
* SMB was originally based on _____ names and used _____ for name resolution. This approach has been deprecated in favor of _____ names and the use of _____ for name resolution. SMB was originally based on NetBIOS names and used WINS for name resolution. This approach has been deprecated in favor of host names and the use of DNS for name resolution.
* SMB is also a fabric protocol used by software-defined data center (SDDC) solutions such as _______ ______ ______, _______ ______, and others. SMB version ____ was introduced with Windows Server 2012 and has been incrementally improved in subsequent releases SMB is also a fabric protocol used by software-defined data center (SDDC) solutions such as Storage Spaces Direct, Storage Replica, and others. SMB version 3.0 was introduced with Windows Server 2012 and has been incrementally improved in subsequent releases
* DFS stands for ___________ ____ ______, and it provides the ability to consolidate multiple ______ on different _______ into a common _________. DFS stands for Distributed File System, and it provides the ability to consolidate multiple shares on different servers into a common namespace.
* With ___, the storage administrator creates a hierarchical _________ of links that point to his company’s file shares. These shares can be hosted by any SMB-compatible device, including Windows Servers, network-attached storage devices from numerous vendors, and even Samba shares. With DFS, the storage administrator creates a hierarchical namespace of links that point to his company’s file shares. These shares can be hosted by any SMB-compatible device, including Windows Servers, network-attached storage devices from numerous vendors, and even Samba shares.
* ______ ________ is a __________ analytics feature that locally analyzes Windows Server system data and provides insight into the functioning of the server. It comes with a number of built-in capabilities, but we've added the ability to install additional capabilities via Windows Admin Center, starting with disk anomaly detection. ____ _______ detection is a new capability that highlights when disks are behaving differently than usual. System Insights is a predictive analytics feature that locally analyzes Windows Server system data and provides insight into the functioning of the server. It comes with a number of built-in capabilities, but we've added the ability to install additional capabilities via Windows Admin Center, starting with disk anomaly detection. Disk anomaly detection is a new capability that highlights when disks are behaving differently than usual.
* _______ ______ are virtual disks created from a _______ ____, which is a collection of ________ disks. Storage Spaces are virtual disks created from a storage pool, which is a collection of physical disks.
* A _______ _____ appears to the Windows operating system as a regular disk from which you can create formatted volumes. When you create a virtual disk through the File and Storage Services user interface, you can configure the __________ type (simple, mirror, or parity), the ____________ type (thin or fixed), and the ____. A storage space appears to the Windows operating system as a regular disk from which you can create formatted volumes. When you create a virtual disk through the File and Storage Services user interface, you can configure the resiliency type (simple, mirror, or parity), the provisioning type (thin or fixed), and the size.
* ____ ______ ________ _______ (____) is a role service in Windows Server that enables you to manage and classify data stored on file servers. You can use File Server Resource Manager to automatically classify files, perform tasks based on these classifications, set ______ on folders, and create _______ monitoring storage usage. File Server Resource Manager (FSRM) is a role service in Windows Server that enables you to manage and classify data stored on file servers. You can use File Server Resource Manager to automatically classify files, perform tasks based on these classifications, set quotas on folders, and create reports monitoring storage usage.
* A print server is a device that connects _____ over a network by accepting _____ and sending _____, first _____. A print server is a device that connects printers to client computers over a network by accepting print jobs from the computers and sending the jobs to the appropriate printers, first queuing the jobs locally to accommodate the fact that work may arrive more quickly than the printer can actually handle it.
* Windows Print services support printing through _____, _____, _____, and other protocols. Windows Print services support printing through SMB, LPD, IPP, and other protocols.
* Local printers are physically attached to _____. Network printers are connected to _____ and accessed through _____. Local printers are physically attached to the print server. Network printers are connected to the network and accessed through the printer driver loaded on the server.
* A printer pool is _____. All printers in the pool must _____. A printer pool is a single logical printer on the print server connected to multiple physical local or network printers. All printers in the pool must use the same printer driver.
* Printers and print jobs are managed using _____. Printers and print jobs are managed using the Microsoft Management Console Print Management snap-in.
* Windows Print services supports installation of both _____ and _____ print drivers, allowing network clients to _____. Windows Print services supports installation of both 32-bit and 64-bit print drivers, allowing network clients to pull drivers from the print server when printing.
* The Internet Printing Protocol (IPP) provides _____ for _____ and _____ with support for _____, _____, and _____. The Internet Printing Protocol (IPP) provides a standard network protocol for remote printing and managing print jobs with support for access control, authentication, and encryption.
* A computer security audit is _____ of a _____ or _____. A computer security audit is a manual or systematic measurable technical assessment of a system or application.
* In Windows, auditing may be configured on _____, _____, and _____ to monitor _____ and _____. In Windows, auditing may be configured on files, folders, and printers to monitor access and usage.

## Flashcards

* Test your understanding of this lesson.
* Test your understanding of the key terms.