We use GPO to run a logon script that copies outlook signatures from the user's home drive signatures backup folder to the correct location on the RDS server in the user's profile using robocopy. The script is unable to access the user's home drive. I have piped it out to a log file to see what is going on. It appears that Robocopy cannot access the user's H:\ drive during logon. The script works perfectly if the user runs it manually and when the user checks explorer the H:\ is mapped properly. Here is the log when the it is run as part of user logon script:
Started : Wednesday, August 26, 2015 3:05:12 PM
2015/08/26 15:05:12 ERROR 3 (0x00000003) Getting File System Type of Source H:\SIGNATURES BACKUP\
The system cannot find the path specified.
I have tried adjusting the GPO to put in a delay when processing logon scripts but that setting doesn't appear to be working at all. The script always applies immediately when logging in.
Configure Logon Script Delay Enabled
How do I get logon scripts to work properly on windows 2012 R2 RDS? This same process worked perfectly in 2008 R2. Many have complained about the delay in processing logon scripts but I am having the exact opposite problem and can't get the delay to work thinking it might help with access user home drive.
It almost appears to me that the user logon script is running under the computer context and can't access the drive mapping. I am using the user logon script in the GPO so I don't know how that can be.