SUBST to current user folder

J

jkreutzer

Hello there,

I'm currently running a Windows Server 2008 R2 as a terminal server. Every user has a virtual drive that redirects to C:\Users\%current user%\. I need this because a program uses the virtual drive to include a user specific file.
I want to reproduce this on a Windows Server 2016 Server but I'm struggeling with two problems:

1. How do I create a SUBST command that includes the current user? I didn't find anything on google that combines the subst command with the current user.

2. How do I make the SUBST command persistent? I found the regedit solution but I didnt see any modification on my Windows 2008 R2 machine. There is also no batch file which opens on start up.

Thanks

Continue reading...
 
Back
Top Bottom