CIS 246 Week 3 iLab 3 Sharing Files and Implementing DFS
iLab 3 of 7: Sharing Files and Implementing DFS
Submit your assignment to the Dropbox located on the silver tab at the top of this page.
(See the Syllabus section “Due Dates for Assignments & Exams” for due date information.)
|Connect to the iLab here.|
Scenario and Summary
- Before beginning work, connect to your virtual lab platform (Skillsoft / Element K).
- You will explore folder permissions, share files, and use a distributed file system.
|You may find this resource helpful as you prepare to complete the lab.
TASK 1: Explore Folder Permissions
STEP 1: Explore Folder Permissions
- Log on to server with a password of Password!. (Remember the exclamation point.)
- Click Start, then click Computer to open the Windows Explorer window. Create a folder called Test inside the Users folder on drive C, and then create a folder called Utilities inside Test.
- Right-click Utilities, click Properties, and then click the Security tab. Notice the grayed check marks. These are inherited permissions.
- Click Edit. Now you have the ability to change the permissions. You cannot change the ones that are currently checked and deactivated because they are inherited. Remember that Deny permissions override Allow permissions.
- Click the Add button and then the Advanced button. Click the Find Now button and scroll down to Server Operators and highlight it. Click OK twice to get back to the Properties window. Click the Allow box for Modify.
Insert a screenshot into your lab report showing the permissions for Server Operator (#1).
- Click OK.
- Now we want to get rid of the inherited permissions. From the Security tab of the Properties window, click the Advanced button.
- Click the Edit button, and then remove the check mark from the box for “Include inheritable permissions from this object’s parent.” If you wanted to modify some of the inherited permissions, you would just click Copy. We want all of them removed, so click the Remove button.
- Click OK twice until you are back at the Utilities Properties window.
Insert a screenshot into your lab report showing the Properties window (#2).
- Click OK.
TASK 2: Share Files
STEP 1: Prepare for Sharing Files
- Create a user based on your name. If you forget how, check out last week’s lab or the text.
- There is already a student user with the user name of student and the password of Password!.
- Create two domain local groups, one called Networking and the other called Accounting. Again, if you forget how, look to last week’s lab or the text for help.
- Make yourself a member of Networking and a student a member of Accounting.
- Create a folder called Reports in C:.
STEP 2: Enable Sharing
- Click Start and then click Network. Along the top, click Networking and Sharing Center.
- Click the down arrow to the right of Network Discovery. Click the Option button next to Turn on network discovery.
- Click Apply.
- Click the down arrow to the right of Public folder sharing. Click the Option button next to Turn on sharing so anyone with network access can open files.
- Click Apply.
- Make sure file sharing is turned on. If it isn’t, turn it on.
- Close the Network and Sharing and the Network windows.
STEP 3: Share a Folder Accessed From Windows 7
- When you click on the Reports folder, two buttons appear in the top panel. Click the Share icon on the top bar. (You could also have right-clicked the Reports folder and clicked Share.)
- Using the down arrow next to the Add button, select Find. Find the Accounting group and click OK.
- Notice that the Accounting group just has the Reader permission. Click the down arrow next to Reader and select Contributor. This will allow changes.
- Click the Share button.
- A window appears showing it has been shared as \\SRV-1\Reports. The standard format is \\ + the server name + the share name. (A bit of trivia: This is exactly the same syntax as when Microsoft first started networking in the mid-1980s.)
- Click Done. Notice that the icon for the Reports folder has changed a bit. If you look really close, you will see the group symbol of two heads. Some people prefer the symbol in the previous versions, which was a hand underneath the folder.
- Double-click the Reports folder to open it. In the right pane, right-click and select New then Text Document. Name the document November.
- Minimize the server window.
STEP 4: Allow Users to Log On From Windows 7
Because ElementK is a remote enviornment, we first have to allow the user to log on remotely. Before you go through the following, restart the Windows 7 PC by clicking the Send Ctrl-Alt-Delete button, clicking the red arrow in the lower right, and clicking Restart. Click OK at the error message, then close the window. After a minute or so, click the PC icon again.
- Log on to the PC as experimental\administrator with the password of Password! If you see the Set Network Location window, click Work then Close.
- Click Start, right-click Computer, and click Properties. The System window opens.
- In the left panel, click Remote settings.
- Under Remote Desktop, click the Select Users button.
- In the Remote Desktop Users dialog box, click the Add button.
- In the Select User or Groups dialog box, click the Advanced button.
- Click the Find Now button.
- Highlight your name and click OK.
- You should see your name in the text box. Click OK.
- In the remote Desktop Users dialog box, you should see your user name. Click OK.
- Log off.
- Click Send Ctrl-Alt-Delete. Click Switch User then Other User. For the user name, type “experimental\” followed by your user name. Fill in the password you gave yourself.
STEP 5: Accessing Shares From Windows 7
Now you are logged on with the user based on your name.
- Click the Start icon, then right-click Computer and click Map Network Drive.
- In the text box, type \\srv-1\reports. Notice that the mapped drive will appear as drive Z:. There is a dropbox that would allow you to change the drive letter.
- Click Finish.
- Notice the error that you got. That is because the user based on your name was put in the Networking group and doesn’t have any share permissions.
Insert a screenshot into your lab report showing the error (#3).
- Log back on to the server and change the share permissions so the Networking group has Reader permissions.
- On the Windows 7 PC, log on as the user with your name, click the Folder icon on the task bar, expand the Computer in the left pane, and click drive Z:. The November text file that you created on the server is displayed in the right panel.
- Double-click on the November file. Type your name in the file. Now save the file. Notice the error. You tried to change the contents of the file but you only had Reader permissions.
Insert a screenshot into your lab report showing your name and the error (#4).
- Log off of the PC.
- Log on as the student user (experimental\student) with a password of Password! that you put in the Accounting group.
- Map the drive to the Reports folder as R:.
- Open the November file and put your name in it. Save the file. The size should be 1 KB.
Insert a screenshot into your lab report showing that the drive is R: and the size is 1 KB (#5).
TASK 3: Use Distributed File System
STEP 1: Add the Distributed File System Role
There is a major problem with the standard way of sharing files. For example, what if you need to move the share to another server? All the mapped drives would have to be changed. With DFS, shares just refer to the domain name. The administrator can put the folders anywhere in the domain.
- On the server, open Server Manager, expand Roles, and click File Services. In the right panel, scroll down until you see Add Role Services. Click it.
- Select the check box next to Distributed File System. Notice that the other two boxes are selected too. Click Next.
- For a namespace, type Management. This represents a group of common shares in the domain. Click Next.
- We want the default domain-based namespace to give us the capability of easy administration. Click Next.
- Click the Add button, click the Browse button, click the Show Shared Folders button, then click Reports. Click OK until you are back to the Configure Namespace window.
- Click Next.
- Click Install and be patient.
- Click Close when done.
- Log on to Windows 7 using the student user called experimental\student. Map a drive to \\experimental.lab\Management\Reports.
- Click Finish. Notice that the location is now based on the domain name.
Insert a screenshot into your lab report showing the November text file with the letter Z in the text box at the top of the window (#6).
STEP 2: Complete Lab Report
Fill out the lab report for this week.
Submit your lab to the Dropbox located on the silver tab at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions or watch this Dropbox Tutorial.