Link to home
Start Free TrialLog in
Avatar of traceylb
traceylb

asked on

How to rename a local mapped drive on a thin client

Although I am no scripting guru I have setup a Group Policy Login Script on my W2K3 Terminal Server box to map the local floppy and cdrom drive on my PXES linux based thinclient boxes.  

The commands I use to map the drives in the .bat file are:

net use z: \\%clientname%\fd /user:root password
net use x: \\%clientname%\cdrom /user:root password

The drives map successfully when the client logs on but I would like to know if there is a way to rename the drives to something more user friendly for an educational unit - it currently lists them in the following format:

cdrom on thinclient (P123456789012) (z:)

Avatar of youre1m
youre1m

ASKER CERTIFIED SOLUTION
Avatar of SamuraiCrow
SamuraiCrow

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of traceylb

ASKER

Thank you for both of your suggestions and I will be testing what works on Wednesday when I get back into the office as I had a couple of days off.
Crow...Just on your comment about the computername, I don't think it will matter if it shows as long I have something more recognisable as the description and I will leave it up to the teachers to explain to the students the way it is set out.  Unless the teachers tell me that solution is not good enough of course.

Sorry for taking so long to assign points for this question...I had a problem with my Terminal Server that took me a while to work out and since I had implemented some of these changes I had to backtrack a lot before I realised it wasn't anything I had changed after all.  

My testing of the solutions provided up until the server problems proved that SamuraiCrow's answer was the best solution.  

Thank you both for all your helpI