I used to have a batch file that uses the subst command to map a local drive for use by a particular program. The batch file worked in Windows server 2003 and server 2008.
The file name = DriveMap.BAT
Contents = SUBST W: C:\Gippro\WP\%Username%
The scenario is
The user logs on to the terminal server using Remote Desktop and upon connection it auto opens the program (This is through the programs tab of the RDP client)
The batch file then kicks in and maps the drive (The batch file is placed in the startup folder )
However, This does not work on Windows server 2012.
Any ideas on how to get this working ?
P.S. - I have tried Group Policy Preferences for mapping drives without any luck. Would anyone know how to map a local drive (not a network drive) through GPP ?
Thank you in advance for any assistance