In this post, we will see how we can map a shared folder for all the users in an Active Directory domain, using Group Policy Objects.
First, we need to have a domain controller and a computer join to the domain.
Next, we create the shared folder, that must be on the DC itself or on another server joined to the domain. A standard way to allocate the sharing permissions is to give domain users Read/Write rights and domain admins Full rights. Both tabs, Permissions and Share, should have the same two entries.
Next, connect to the Domain Controller, and open Group Policy Management. Right click on the domain name, and select Create a GPO in this domain and link it here.
Give it a name and click OK. Then, right click on the newly created GPO and select Edit.
Navigate to User Configuration – Preferences – Windows Settings – Drive Maps
Select New – Mapped Drive and click OK.
Type the location of the shared folder, chose a letter for the drive and select Show this drive, on the left side.
After that, go to the Common tab, and select Run in logged-on user’s context.
Click OK, close, and restart the computer, NOT the domain controller.