Drive connection through TS

  • Thread starter Thread starter Joseph P. Maenza
  • Start date Start date
J

Joseph P. Maenza

I am running an application off one of our network servers. All users
connect to a specific driver letters with the same script, For
example:

net use p: \\alpha\public
net use u: \\bravo\username$
net use w: \\alpha\work
net use t: \\delta\application

The application is accessed through the "T" drive connection, but for
security reasons I need to remove the drive connection from all users
scripts. I will allow all users to access the application through a
Terminal Server.

How do I then provide a drive connection to the applicaiton share ONLY
in the Terminal Server session. I am having a hard time setting this
up. I want the users when they connect via Remote Desktop, to connect
to the application Drive "T" and then automatically run the executable
for the applicaiton. When they exit the application, they then SHOULD
NOT have access to the share in their normal windows session.

Can someone please explain this process in detail or point me in the
right direction. I am not sure which group policy, if any, will help
me in this instance.

Thanks in advance.

JoeM
 
If the users are only using the terminal server to access
this program (and nothing else), then you could make a
quick batch file that mapped the drive, ran the program,
waited for the program to be shutdown, and then unmap the
connection. Something like:

net use z: \\server\share
start /wait z:\program.exe
net use z: /d

-M
 
Back
Top