SOLVED

Map drive group policy Preferences not applying consistently

%3CLINGO-SUB%20id%3D%22lingo-sub-2340407%22%20slang%3D%22en-US%22%3EMap%20drive%20group%20policy%20Preferences%20not%20applying%20consistently%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340407%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3EWe%20deployed%20Several%20drive%20via%20GPP.%20We%20use%20the%20update%20option%20and%20don't%20use%20the%20user%20context%20option.%20Unfortunately%2C%20it%20doesn't%20get%20applied%20consistently.%20We%20use%20RDS%202019%20and%20our%20domain%20controllers%20are%202016%20with%20functional%20level%20of%202008%20r2%20(We%20have%20a%20two%20way%20trust%20with%20an%20old%202008%20r2%20domain).%3C%2FP%3E%3CP%3EI%20enabled%20all%20the%20logs%20I%20could%20think%20of%20(Including%20log%20files%20for%20preferences).%20But%20I%20don't%20see%20any%20problem.%20As%20far%20as%20RSOP%20goes%20everything%20looks%20okay%20and%20this%20is%20an%20issue%20with%20some%20of%20the%20users%20not%20all%20of%20them.%20There%20is%20no%20logon%20script%20running%20for%20the%20user.%20I%20also%20deleted%20the%20profile%20and%20the%20issue%20returned.%20Only%20after%20gpupdate%20%2Fforce%20this%20work.%3C%2FP%3E%3CP%3EDon't%20know%20where%20else%20to%20look%20because%20I%20really%20searched%20everywhere%20I%20could%20think%20of...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2340407%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActive%20Directory%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2341338%22%20slang%3D%22en-US%22%3ERe%3A%20Map%20drive%20group%20policy%20Preferences%20not%20applying%20consistently%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2341338%22%20slang%3D%22en-US%22%3Ehi%2C%20can%20you%20share%20for%20us%20about%20policy%20configuration%20for%20Map%20Drive%20option.%3CBR%20%2F%3Esometime%20we%20missed%20with%20domain%20controller%20policy%20or%20OU%20policy%20or%20local%20policy.%20maybe%20i%20thought%20it.%3CBR%20%2F%3Eso%2C%20can%20you%20share%20for%20us%20about%20where%20you%20policy%20configuration%20on%20your%20domain.%3CBR%20%2F%3EThanks.%20i%20hope%20you%20and%20all%20of%20families%20are%20fine%20in%20this%20covid-19%20periods.%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3Ealso%2C%20sorry%20for%20my%20weakness%20in%20English.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2341658%22%20slang%3D%22en-US%22%3ERe%3A%20Map%20drive%20group%20policy%20Preferences%20not%20applying%20consistently%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2341658%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255442%22%20target%3D%22_blank%22%3E%40RahamimL%3C%2FA%3E%20%2C%3CBR%20%2F%3Ehow%20many%20GPOs%20u%20have%20in%20total%3F%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2342195%22%20slang%3D%22en-US%22%3ERe%3A%20Map%20drive%20group%20policy%20Preferences%20not%20applying%20consistently%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2342195%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F387242%22%20target%3D%22_blank%22%3E%40konaylintun09%3C%2FA%3E%26nbsp%3Bthanks%2C%3C%2FP%3E%3CP%3EI%20have%2028%20mapped%20drives%20with%20a%20configuration%20that%20look%20like%20this%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RahamimL_0-1620671991127.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279596iF07EA593C3685393%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RahamimL_0-1620671991127.png%22%20alt%3D%22RahamimL_0-1620671991127.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RahamimL_1-1620672009396.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279597i8209A4261CB759E0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RahamimL_1-1620672009396.png%22%20alt%3D%22RahamimL_1-1620672009396.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RahamimL_2-1620672125127.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279599iB1EB51A30C126877%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RahamimL_2-1620672125127.png%22%20alt%3D%22RahamimL_2-1620672125127.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWe%20also%20use%20groups%20and%20users%20for%20other%20network%20drives.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2342205%22%20slang%3D%22en-US%22%3ERe%3A%20Map%20drive%20group%20policy%20Preferences%20not%20applying%20consistently%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2342205%22%20slang%3D%22en-US%22%3EWe%20have%20130%20GPOs%2C%20I%20tried%20to%20reduce%20the%20number%20further%20but%20it%20is%20a%20bit%20complicated%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2342279%22%20slang%3D%22en-US%22%3ERe%3A%20Map%20drive%20group%20policy%20Preferences%20not%20applying%20consistently%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2342279%22%20slang%3D%22en-US%22%3EGPO%20Is%20too%20many.%20Let's%20it%20be.%3CBR%20%2F%3ESo%2C%20you%20want%20to%20map%20drive%20for%20all%20users%20or%20just%20some%20want%20to%20allow%20some%20GPO%3F%3CBR%20%2F%3EIf%20some%20GPO%20only%2C%20pls%20check%20GPO%20directory%20is%20correctly%20working%20or%20not.%20and%20check%20to%20roaming%20profiles%20also.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fquestions%2F70415%2Fhow-to-mount-the-user-profile-folder-as-a-disk-in.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fanswers%2Fquestions%2F70415%2Fhow-to-mount-the-user-profile-folder-as-a-disk-in.html%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20want%20to%20enable%20for%20all%20user.%20You%20can%20create%20configure%20on%20domain%20policy.%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20I%20would%20like%20to%20recommend%20about%20your%20GPO%20You%20choose%20maintenance.%20I%20don%E2%80%99t%20know%20about%20how%20many%20user%20groups%20in%20your%20company.%20As%20my%20company%20over%2020000%20users%20and%20over%201000%20groups.%20But%2C%20GPO%20is%20a%20little.%20Not%20too%20much.%20I%20just%20suggest%20for%20you%20for%20future.%3CBR%20%2F%3EThanks%2C%20have%20an%20nice%20day%20for%20you%20and%20all.%20Also%20good%20luck.%20%3Aupside_down_face%3A%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi everyone,

We deployed Several drive via GPP. We use the update option and don't use the user context option. Unfortunately, it doesn't get applied consistently. We use RDS 2019 and our domain controllers are 2016 with functional level of 2008 r2 (We have a two way trust with an old 2008 r2 domain).

I enabled all the logs I could think of (Including log files for preferences). But I don't see any problem. As far as RSOP goes everything looks okay and this is an issue with some of the users not all of them. There is no logon script running for the user. I also deleted the profile and the issue returned. Only after gpupdate /force this work.

Don't know where else to look because I really searched everywhere I could think of...

 

Thanks in advance

12 Replies

hi, can you share for us about policy configuration for Map Drive option.
sometime we missed with domain controller policy or OU policy or local policy. maybe i think it.
so, can you share for us about where you policy configuration on your domain.
Thanks. i hope you and all of families are fine in this covid-19 periods. :)
also, sorry for my weakness in English.

Hi @RahamimL ,
how many GPOs u have in total?

@konaylintun09 thanks,

I have 28 mapped drives with a configuration that look like this:

RahamimL_0-1620671991127.png

RahamimL_1-1620672009396.png

RahamimL_2-1620672125127.png

We also use groups and users for other network drives.

We have 130 GPOs, I tried to reduce the number further but it is a bit complicated
GPO Is too many. Let's it be.
So, you want to map drive for all users or just some want to allow some GPO?
If some GPO only, pls check GPO directory is correctly working or not. and check to roaming profiles also.

https://docs.microsoft.com/en-us/answers/questions/70415/how-to-mount-the-user-profile-folder-as-a-d...

If want to enable for all user. You can create configure on domain policy.

And I would like to recommend about your GPO You choose maintenance. I don’t know about how many user groups in your company. As my company over 20000 users and over 1000 groups. But, GPO is a little. Not too much. I just suggest for you for future.
Thanks, have an nice day for you and all. Also good luck. :upside_down_face:

130 GPOs?! You have definetly reduce them dramaticly. This will safe your users time logging in, troubleshooting problems like now etc.

 

By the way: Why don't you want your drive to reconnect and why dont you use a label? :D

As you are using Item-Level-Targeting, a common problem can be that the evaluation of group membership cannot be done before applying the GPO.
2 possible reasons you could check for:
1. Network connection to a domain controller with global catalog is not possible before user-login (user-vpn, network-level filtering, WLAN,...)
2. The user is member in a group across your domain-boundary (you mentioned a two-way-trust to an old domain) and the evaluation of universal group membership takes to long or has errors for some users.
In the end, a user has roughly 30-40 policies applied to it. I know this is a very large number, therefore I use multiple ways of filtering to reduce the amount. My problem with reconnection is we use the drive mapping policy for both workstation and servers. most of workstations are laptops and we don't want the user to be notified about an error reconnecting to the drives
The trust is not in play here. when a user is signing in to a RDS of the 2016 domain and not the 2008 r2 domain - I brought it up just to explain why still use a low functional level.
As for network connectivity, We are talking about a RDS server which is in the same subnet as the domain controller. The problem occurs to some users and not all.
best response confirmed by RahamimL (Frequent Contributor)
Solution
Thank you all for your replies they helped me with my troubleshooting.
To begin with I tried to help the server by enabling server caching which might caused this problem. I did several things which hopefully resolve this:
1. I removed the caching policies
2. Restarted my farm.
3. Moved all my disabled map drives (I have several which I merged from other policies which I want to delete in the future to reduce the amount of policies) to a lower priority.

Hopefully this will be the answer. I will keep this unanswered maybe someone has better ideas.

Here is what worked for me:

 

As @konaylintun09 suggested I started using the reconnect option. I also started using better filtering in my GPP - the user is part of AAA group and (the computer is in the OU AAA (Or the computer is in the OU BBB)). Tested this multiple times and it worked after multiple logins to the same server \ computer.

Also, as you all suggested, I will reduce the amount of GPOs.

 

Thanks for your help.

Okay, noted.
I’m glad hear about that.
Have a nice day for you and all. Also take care everything.
:)