Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
5  
Unfortunately, I do not know of a way to fix this, but I can illuminate why it doesn't work. It seems that RDP makes the local drive have a different GUID every time when it connects. The system will view the drive as two seperate drives with a new connection. I don't see how this can be accomplished without a script to make a connection to a new folder every time. –  Duall Mar 23 '11 at 15:39
    
@Duall thanks for the info –  John Straka Mar 23 '11 at 19:57

1 Answer 1

up vote 5 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.