File services

Shares are used a lot in infrastructures and we often see shares that are open for all domain users. Sometimes passwords or other sensitive information can be found on shares.

Adding the fileserver role

  1. Login to FiILE01 as the Administrator user with password Welcome01!.

  2. Click on start and open the "Server Manager".

3. On the right top click on "Manage" and "Add Roles and Features".

4. Check the "Skip this page by default" box and click "Next" three times (For the steps "Before You Begin", "Installation Type" and "Server Selection".

5. At the step "Server Roles" expand "File and Storage Services" and "File and ISCSI Services". Then select "File Server".

6. Click "Next" and then "Install". Wait for the installation to finish.

Creating a share

  1. In the Server Manager click on "File and Storage Services"

2. Click on "Shares" and then "to create a file share, start the new share wizard"

3. Make sure "SMB Share - Quick" is selected and click "Next".

4. Open Windows Explorer and go to the C:\ disk and create a directory named Share.

5. In the installer select "Type a custom path" and type C:\Share. Then click "Next".

6. Type the share name: Data and click "Next".

7. At the steps "Other Settings", "Permissions" and click "Next", we will leave this default.

8. Click "Create"

Testing

  1. Create a txt file in the C:\Share directory.

2. Login on DC01 and access the share \\file01\data in Explorer. Check if you can access the share and if the txt file is there.

All domain users should be able to access the share.

Last updated