Skip to Content

Microsoft AZ-800: How to Ensure Group Policy Preferences Take Precedence for Drive Mappings in Windows?

Discover how to configure Group Policy Preferences to prioritize drive mappings in Windows, ensuring new settings override existing ones for all users.

Table of Contents

Question

You use a Group Policy preference to map \\dc1.contoso.com\install as drive H for all users. If a user already has an existing drive mapping for H, the new drive mapping must take precedence.

To complete this task, sign in to the required computer or computers.

Answer

Mapping drives using Group Policy preferences

Steps involved:

1. Open Group Policy Management.

2. Right-click the domain or the required subfolder to create a new GPO, or select an already existing one. Right-click and select Edit to open the Group Policy Management Editor.

3. Go to User Configuration > Preferences > Windows Settings > Drive Maps.

4. Right-click and select New > Mapped Drive.

5. Under the General tab (see Figure below), do the following:

Under the General tab (see Figure below), do the following.

6. Action, Select Create or Update.

7. Location: Specify the full file path, e.g. \\Anjali-dc1\c.

Specify: \\dc1.contoso.com\install

8. Reconnect Enable this to auto connect the drive.

9. Label as: Pick a suitable name for the shared drive, e.g. SharedDrive.

10. Drive Letter: Select a suitable letter for the drive, e.g. K.

Specify H

11. Connect as: Enter a username and password if you want users to connect with certain credentials other than their own Windows login credentials.

12. Hide/Show this drive: Select whether you want to hide the folder or make it visible on the network.

13. Hide/Show all drives: Select whether, by default, all the shared drives/folders are hidden or visible.

Explanation

By following these steps, you can ensure that the new Group Policy preference for drive mapping takes precedence over existing mappings. Using the Replace action in the drive mapping settings is key to achieving this outcome.

Microsoft AZ-800 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-800 exam and earn Microsoft AZ-800 certification.