Lab 4 – Setting up a File and Print Server

Lab Objectives:
  • Create shared folders and set share permissions
  • Set NTFS permissions
  • Configure a DFS Namespace
  • Configure DFS Replication
  • Configure a printer and a printer pool
  • Connect a client to a server-managed printer
  • Manage a print queue
You will primarily be using Server1 and ServerCore along with your AdminClient. You will also need Client1 for connecting a client to the printer. *Depending on the amount of RAM in your computer, you may not be able to run all VMs at the same time. If you have 8GB of RAM you might be able to adjust the memory in each of the Servers to 2GB and the Clients to 1GB. The performance of the VMs will suffer and you will need to be patient, but you can complete the entire labs that way. Only run the VMs that are necessary to perform the tasks needed.  This lab will take approximately 100 mins to complete.

1.0 Create a Directory Structure on ServerCore Server using the Command Prompt

  1. Create the following directory structure on your ServerCore server using the Windows Command Prompt.
C:\Data
------\Sales
------\Marketing
------\HR
  1. Create a new file named file1.txt in Sales.
  2. Use the tree /f command on the structure to display what you have created to the screen. Screenshot.
  3. Create the following directory structure on Server1 using any method you wish:
C:\homedir
---------\FFlintstone
---------\BRubble
---------\BBRubble
---------\WFlintstone
---------\MSlate

2.0 Setting Share and NTFS Permissions

Be VERY careful in this next section and pay attention to whether you are setting SHARE PERMISSIONS (Sharing tab) or NTFS PERMISSIONS (Security tab).
  1. Using the Remote Administration Tools  on your AdminClient, share the Data folder on your ServerCore server so that Everyone has Full Control.
Possible methods:
    • Computer Management (connect to ServerCore – by default it is connected to the Local Computer) and then Shares and New Share.
    • You can create a new share from Server Manager > File and Storage Services > Shares, then under Tasks select New share… from the menu. Use the New Share Wizard to create the share. (Use SMB Share – Quick, and then default settings all the way through.)
  1. Change the NTFS Permissions on the Sales folder so only SalesFiles_FC  has Full Control permissions.
    • One way to do this remotely is by using  the Windows Explorer from Server1 or the AdminClient: Open the Windows Explorer and in the address bar, type the UNC path to the ServerCore server \\SC-SenecaID\C$.
    • ** C$ is an administrative share that gives you access to the root of the C: drive.
    • Navigate to the folders whose permissions need to be changed. Just like doing it locally, right-click the folder and select Properties and then change permissions on the Security Tab.
  2. Change the NTFS Permissions  for the C:\Data\Sales\file1.txt file so that SalesFiles_FC has Read access and Fred Flintstone’s user account is denied access.
    • The default setting is for permissions to be INHERITED from the parent. You may have to disable Inherited permissions in order to set your own permissions. (You can find this setting under Advanced.)
  3. Change the NTFS Permissions on the Marketing folder so only Marketing_FC has Full Control permissions and Marketing_Read has Read Only permissions.
  4. Change the NTFS Permissions on the HR folder so only HR_FC has Full Control permissions and HR_Read has Read only permissions.
  1. On Server1, share the homedir folder so that Everyone has Full Control.
  2. Change the NTFS permissions so only the individual users have Full Control to their own home folder. (Disable Inheritance).

3.0 Testing Permissions

  1. Login as Fred Flintstone on Client1. Connect to the Sales folder on ServerCore (\\SC-SenecaID\Data\Sales).
    1. Can this user open the file that is in the folder? Why or why not?
    2. Can this user create a file in the Sales folder? Why or why not?
    3. Can Fred Flintstone connect to his home directory on Server1?
  2. Login to Server1 as the Domain Administrator, and open the Properties of the Fred Flintstone user account. On the Profile tab, configure the Home folder to connect drive K: to Fred’s home folder (\\S1-SenecaID\homedir\fflintstone).
  3. On Client1, have Fred Flintstone logout and log back in. Fred should be able to see drive K: available to him. It will be connected to his home folder on Server1. Take a screenshot of drive K: being listed under This PC.

4.0 Configuring Distributed File System (DFS)

In this section of the lab we will combine the shared folders on Server1 and ServerCore to create a virtual shared folder space. This will simplify users finding and connecting to shared folders because they will all appear to be in a single location.

4.1 Install DFS and create a New Namespace

  1. Install the DFS Namespace and DFS Replication roles on Server1 and ServerCore (you will likely want to use Remote tools for ServerCore). You will find these under File and Storage Services.
  2. On Server1, open Server Manager, then Tools, then DFS Management.
  3. In the left-pane, right-click Namespaces and select New Namespace. The New Namespace Wizard will start.
  4. On the Namespace Server page, enter or browse to your Server1 server: S1-SenecaID. Click Next.
  5. On the Namespace name and Settings page, enter MyNameSpace for the Name.  Click Edit and notice that the namespace name you selected is your shared folder name. Select Administrators have full access other users have read and write permissions. Click OK, then click Next.
  6. On the Namespace Type page, make sure Domain-based namespace is selected and Enable Windows Server 2008 mode, then click Next.
  7. Review the settings and click Create, then Close once the namespace has been created.
  8. In the left-pane of the DFS Management tool, expand Namespaces and click on \SenecaID.com\MyNameSpace
  9. Under Actions, on the right, click New Folder. The New Folder dialog box will open.
  10. Type Server1 Homedir in the Name box, then click Add. In the Add Folder Target box, type \\S1-SenecaID\homedir in the Path text box. Click Ok.
  11. Using the same method, create another new folder called ServerCore Data that points to \\SC-SenecaID\data. Take a screenshot showing the folders listed in your namespace.

4.2 Testing the Namespace

  1. Boot your client computer and login as Barney Rubble.
  2. Open Windows Explorer and type \\SenecaID.com\MyNameSpace in the location text box and press Enter.
  3. You should see a list of shares listed as though they are in a single location. Take a screenshot of the list of shared folders.

4.3 Configuring DFS Replication

  1. Create new folders on the root of C: on Server1 and ServerCore.
    • Name them S1-ReplShare and SC-ReplShare, respectively.
    • Share the folders so Everyone has has Full Control.
    • Make the share names the same as the folder names.
    • Use any method to create the folders and shares.
  2. On Server1, create 3 files in the S1-ReplShare folder. (file1.txt, file2.txt and file3.txt)
  3. On Server1, in the DFS Management tool, right-click Replication and select New Replication Group.
    1. On Replication Group Type, select Multipurpose replication group and click Next.
    2. On Name and Domain, type REPGROUP1 in the name field and click Next.
    3. On Replication Group Members, click Add and select your Server1 and ServerCore server to add to the Replication Group and click Next.
    4. On Topology Selection, select Full Mesh and click Next.
    5. On Replication Group Schedule and Bandwidth, keep the defaults and click Next.
    6. On Primary Member, select Server1 (S1-SenecaID) and click Next.
    7. On Folders to Replicate, click Add and select S1-ReplShare on S1-SenecaID, and click Next.
    8. On Local Path of S1-ReplShare on Other Members, click on your ServerCore server (SC-SenecaID) and click Edit. Select Enabled, and then Browse to the C:\SC-ReplShare folder. Click OK. Click Next.
    9. Review your Replication Group settings and then click Create.
    10. You should see green checkmarks next to each step. Click Close.
  4. It might take a few minutes, but you should eventually see the 3 files you created on Server1, replicate to the SC-ReplShare folder on ServerCore. Do a directory listing on SC-ReplShare on ServerCore to show the replicated files and take a screenshot.

5.0 Setting up the Print Server

In this section, we will turn Server1 into our Print Server.

5.1 Install Print and Document Services

  1. On Server1, use the Server Manager and  the Add Roles and Features option to install Print and Document Services Role, using all default settings.
  2. From the Server Manager, select Tools and Print Management. Your server should appear under Print Servers.
  3. Since we are not working with real print devices, we cannot have the Server search for printers. We will create a new TCP/IP printer port and a Printer Driver to use  to create a printer that is not connected to an actual print device.

5.2 Create a TCP/IP Port

  1. From the Print Management Tool, expand your print server until you see, Drivers, Forms, Ports and Printers.
  2. Right-click on Ports and select Add Port.
  3. Select Standard TCP/IP Port and click New Port. The Add Standard TCP/IP Printer Port Wizard will start. Click Next.
  4. In the Printer Name or IP Address, type 10.0.xxx.151, where xxx is your 3 digit number used for your other IP addresses. The port name will automatically be named the same. Click Next.
  5. Your server will try to detect the port, but it will not be able to since we do not actually have a print device connected using that IP address. Wait and let it fail. When it asks for the additional port information, leave the Device Type as Standard and Generic Network Card and select Next and then Finish on the next screen.
  6. Do this 2 more times with the following IP addresses:
    • 10.0.xxx.152
    • 10.0.xxx.153

5.3 Install a Printer Driver

  1. In the Print Management Tool, in your print server, right-click Drivers, and select Add Driver. The Add Printer Driver Wizard will appear. Click Next.
  2. For the Processor, select x64 and click Next.
  3. In the Manufacturer window, select HP. In the Printers list select HP LaserJet Pro CP1525 PS Class Driver, then click Next. Click Finish. You should see this printer driver in the list of drivers installed on the server.

5.4 Create a Printer, Share the Printer, and Create a Printer Pool.

  1. In the Print Management Tool, in your print server, right-click Printers, and select Add Printer. The Network Printer Installation Wizard will appear.
  2. Select Add a new printer using an existing port: and select your 10.0.xxx.151 port. Click Next.
  3. Select Use an existing printer driver on the computer and select the HP LaserJet Pro CP1525 PS Class Driver. Click Next.
  4. In the Printer Name field, type HP LaserJet Pro – HR. Ensure the Share this printer box is checked. Make the Share Name the same as the Printer Name. In the location, type 1750 Finch Ave E, Bldg A, 2nd Floor. In the Comment field, type HR print room printer. Click Next. Click Next again after reviewing the Printer settings. Then put a checkmark in the box next to Print Test Page, then click Finish.
  5. You should now see your HP LaserJet Pro -HR Printer in the list of printers installed on your server. Right-click on the new printer and select Properties from the list. Review the printer settings on the General tab. Take a closer look at the default Security settings on the printer.
  6. Open the Sharing tab and place a checkmark in the box next to List in the directory. This will list your printer in the Active Directory database.
  7. Open the Ports tab. Put a checkmark in the box next to Enable printer pooling.
  8. In the list of ports, you should be able to put checkmarks next to the other 2 TCP/IP ports you created earlier. Then click OK.
Now users who send print jobs to the HP LaserJet Pro -HR printer, may have their print job printed on print devices connected to any of the 3 ports. In this case, we would have 3 of the same print device printing all print jobs sent to the one printer. This is a great solution for companies or departments who have high printing volume, where one print device would not be enough.

5.5 Connect to the Printer from the Client

  1. Open your Client1 VM and boot Windows. Login as your DOMAIN administrator account.
  2. Click the Windows button (Start), and start to type Printers. Select Printers & Scanners.
  3. Click the + next to Add a printer or scanner. The computer will start to search for printers. Ideally, your client will find the printer you created and shared on your server and you can just select Add Device. Drivers will be installed on the local computer and the printer should now be listed under Printers & Scanners. The shared network printer on your print server will now be accessible from the client.
    • It is possible that the printer will not appear. It may take some time to appear. If it does not, you may have to do some troubleshooting.

5.6 Manage Print Jobs in the Queue

  1. From Client1, open Notepad and create a text document. Save the file and then print the file at least 2 times.
  2. From Server1, open the print queue for the printer we just created and look at the print jobs in the queue.
  3. Right-click on a print job and notice the options you have for managing the document.
  4. Open the Printer menu and notice that you can also manage the printer.
To prove you have completed this lab:
  • Create a Microsoft Word document (or use Google docs), with a name of YourSenecaID-Lab4.docx.
  • Place the 5 screenshots from the File Server portion of the lab in the document, in order. 
  • Open Print Management on Server1 and take a screenshot of the list of Drivers, the list of Ports and the list of Printers on your server (3 screenshots).
  • On Client1, open Printers and Scanners and take a screenshot showing the printer installed on the client. 
  • Paste all screen shots into the document, and label them clearly, in order. You should have 9 images in total. 
  • Save the document as a PDF file using the same name as the document file, and upload it to MySeneca, under Course Documents>Labs>Lab4 before the due date.
Design a site like this with WordPress.com
Get started