-
Notifications
You must be signed in to change notification settings - Fork 0
Lab07ServerCore
As with any new box, the first step involves properly cabling the computer to the LAN and starting it up. When it started it prompted me for a new Administrator password, which I set, and I finished the initial setup with the sconfig tool.
Using the sconfig tool I was able to verify the date and time, make sure automatic updates were turned off, set the hostname to fs01-elizabeth, and set the ip information, which is as follows:
- IP address: 10.0.5.8
- Subnet Mask: 255.255.255.0
- DHCP Enabled: False
- Default Gateway: 10.0.5.2
- DNS Server: 10.0.5.6
Next I was able to join the computer to the domain using sconfig, since there was a domain option in there. I joined it to elizabeth.local and used my domain admin's username and password to finish the join. The box then rebooted.
After the reboot was finished I logged in with my domain admin credentials and verified that all of the information had stayed the same.
First I had to install a new feature on the AD02, which was "File Service Resource Manager Tools" using the Roles and Features Wizard. Once that was completed I could move on to adding a new server in Windows Server manager in the "All Servers" section, in this case FS01.
After FS01 was properly connected to server manager and AD02, I added a small OU that includes data for users Alice and Bob, and a Sales-Users group which Alice got to be a part of.
After the roles were installed, I ran the following command to open the firewall for managing the file server:
netsh advfirewall set rule group="Remote File Server Resource Manager Management" new enable=yes
Then I verified that I could open the "File Server Resource Manager" from AD02
In "Shares" Under "File and Storage Services" in Server Manager, create a new share. I used the SMB Quick Share option, and the paths are as follows:
- Local: C:\Shares\Sales
- Remote: \fs01-elizabeth\Sales
I created the share, then changed the share permissions to allows Sales-Users Full Control and got rid of the "Everyone" option. Now all I needed to do was test that it worked as intended (which I did. And it did)
In order to map the S Drive to Sales-Users I had to create a new group policy called MapSales which mapped the \fs01-elizabeth\Sales share to the drive S:. I also had to include Item Level Targeting to ensure only Sales-Users could see this.
I referenced this Blog Post: https://www.terminalworks.com/blog/post/2017/12/28/windows-file-server-2016-map-network-drive-for-users-and-group-drive-using-gpo1