RDP tsclient shared drive shortcuts

I'm connecting to a Windows Server 2008 machine via RDP and opt to share the C: drive of my local machine (running Win7.) This always works without issue. When I create a shortcut to something on that drive, say, \\tsclient\C\Jobs, it works fine until I log out. When I log in again, the shortcut does not work. There's no feedback, no 'folder can't be found, do you want to delete this shortcut?', nothing. I'm able to navigate to that directory manually, but the already created shortcut simply does not work anymore, and I'll need to recreate it each time I log in.

The only useful info I could find via Google was this thread, with the solution being to run a script upon login to recreate the shortcut. There's no way to do that with a batch file and I don't want to bother with much more than that so I thought I'd check if anyone had another solution to this problem.

1

3 Answers

I found a solution to this here. Add "%windir%\explorer.exe " without the quotes, with the space, before the directory in the shortcut target.

I've run into this as well myself. Sorry to bring up an old post but John but, you helped me narrow this down further.

When adding %windir%\explorer.exe to the path, it wants to open a separate explorer window, which isn't too great when trying to use the shortcut in a save dialogue.

I found that after changing the shortcut to point to a local file (%windir%\explorer.exe), saving it, then changing it back to the original path that it all of a sudden starts working as expected.

Altering the link to that local file breaks that invisible GUID connection in the link and treats it as a regular link to a network share and the link then works between logins.

This helped greatly with our recent transition to OneDrive while using RemoteApps!

0

OK, another work around using just the Windows GUI.

I created a shortcut "favourite" to a folder on a local drive. As per above, it didn't work when I came in on next session.

Then I edited the properties on the shortcut and removed the quotes from the "Target" property. Then hit Apply and shortcut now works for all sessions. Must have got rid of the hidden GUID mentioned in other posts.

I am using Win Server 2012 R2.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like