Skip to main content

File Shares

Now that AD and everything is configured, it is time to move onto adding a file server. Security groups, GPOs for automatic drive mappings, and folder permissions here I come.

Now, I am making this sort of in a common strucuture. There are many many different ways that you can setup file shares.

File server

Component Configuration
Hostname tw-fs01
Static IP address 10.50.0.12
DNS server 10.50.0.10
OS disk 60 GB
Data disk 80 GB, mounted as E:
Computer OU TW → Servers

Shares and folders

The main share is \\tw-fs01\Company. Inside it, I created some department folders like Accounting, HR, IT, etc. Inside of those, I made some fake data so they aren't just empty folders.

I also created a separate share for Safety Training at E:\Safety Training.

Permissions

For Share permissions, I want to structure it in a way that NTFS permissions manage access, so share permissions are enabled for Full Access for Authenticated Users.

Some groups I created:

Group Permission
Company-RO Read and execute
Company-RW Modify
HR Team Access to the HR folder
IT Team Access to the IT folder
Safety-RO Read and execute
Safety-RW Modify

For some restricted folders, I disabled inheritance and adjusted the permissions. Administrators and SYSTEM retain Full Control perms.

Role groups

Now that the folder permissions are set, I wanted to try nesting groups. I created Shift Leads and Shift Supervisors under a Roles OU, following some of the roles at work.

For example, I added Harry to Shift Leads, then added Shift Leads to Safety-RO. Harry now gets read access to Safety Training through his role.

This makes things easier. If another shift lead joins, I can add them to Shift Leads and they get the access assigned to that role.

Drive mappings

Next, I used Group Policy to automatically map the drives based on group membership.

Drive Network path Group
Z: \\tw-fs01\Company Company-RO or Company-RW
H: \\tw-fs01\Company\HR HR Team
I: \\tw-fs01\Company\IT IT Team
S: \\tw-fs01\Safety Training Safety-RO or Safety-RW

I will cover the GPO configuration on a separate page.

Testing it out

With everything configured, I signed into tw-pc01 with different accounts to test the permissions. Read-only users could open the files, while users with Modify could create, edit, and delete them.

The nested groups worked too! I did run into an issue with the S: drive not appearing, but that ended up being a typo in the server name. Once I fixed that, the drive mapped.