Trying to clean up our hard to manage mapped drive process and make it no touch going forward.
We currently have 160+ facilities throughout the US, each site has a unique 4-digit number and we place that number into the "Description" attribute of each user, then placed in a security group with the same 4-digits. Each user gets a mapped drive based on that group, using GPPrefs and ILT. The folder the user gets mapped to in our data center also the 4-digit number.
The problem is that there are 160+ individual entries in the GPO for this task, the only thing that changes is the 4-digit number for each site. Since the security group and folder are both the same, I figured this would be the way to dynamically map the drives by checking their groups and mapping to a similar folder path.
Searching online hasn't yielded any results, so I am trying here. One problem I see is the initial detection of the security group. With no leading characters in the security group, it might be hard to pinpoint the group to kick off the process. Any ideas?