Hi, I'm trying to map a network drive using the group policy preferences. I can map drive no problem when i'm using static paths such as '\\servername\sharedfolder'. However i am unable to map drives to Windows 7 or Windows 2008R2 boxes when i use variables, such as \\Servername\c$\users\%username% This works fine on XP clients, after some googling i discovered hitting F3 would give me a list of usable variables so i tried %logonUser% or \\servername\c$\users\%logonuser% this also fails to map the drive on Windows 7 or 2008R2. The preferences are set to show all drives and i have ticked the box to run under the users security context. If i look in the event log I am getting the following error
Event id - 4098
Source: - Group Policy Drive Maps
The user 'Y:' preference item in the 'test {21D9AF2B-8139-44EC-B8AA-E20802A51293}' Group Policy object did not apply because it failed with error code '0x80070037 The specified network resource or device is no longer available.' This error was suppressed.
This happens if i try to use any enviromental variables to map drives to 2008R2 servers or Windows7 Clients. Does anyone know how to solve this surely i must be able to map drives to Windows 7 machines via group policy using variables it would seem like madness if its not possible.