Andrew Halford
asked on
Modifying Network Share Display Name from Logon Script
Hi,
I have a network share on a NAS drive that I want to store all my Technicians time sheets in. I have created the network share and a folder under that share for each username for every tech.
I have setup the logon script to:
net use w: \\NAS01\Timesheets\%USERNA ME%
and this works well to share the correct folder with each Technician.
My issue is that each share has a Display name of the USERNAME but what I wanted is for the share to be called TimeSheets for every user - even though they are all mapped to their own shared folder on the NAS.
Can anybody help with a way to modify the login script so that this can be achieved?
Many Thanks
I have a network share on a NAS drive that I want to store all my Technicians time sheets in. I have created the network share and a folder under that share for each username for every tech.
I have setup the logon script to:
net use w: \\NAS01\Timesheets\%USERNA
and this works well to share the correct folder with each Technician.
My issue is that each share has a Display name of the USERNAME but what I wanted is for the share to be called TimeSheets for every user - even though they are all mapped to their own shared folder on the NAS.
Can anybody help with a way to modify the login script so that this can be achieved?
Many Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the quick response masnrock.
I see that this changes the Drive label, but in Windows Explorer the Display Name of the network share still shows the actual folder name.
e.g. Administrator (\\NAS01\TimeSheets) W:
I really want it to say: TimeSheets W:
I can do it with a Right Click Rename but I was hoping to build it into the Logon Script.
Thanks
Andrew
I see that this changes the Drive label, but in Windows Explorer the Display Name of the network share still shows the actual folder name.
e.g. Administrator (\\NAS01\TimeSheets) W:
I really want it to say: TimeSheets W:
I can do it with a Right Click Rename but I was hoping to build it into the Logon Script.
Thanks
Andrew
ASKER
Thanks Jacob,
The VB Script worked great.
Fantastic response. Thank you all!
The VB Script worked great.
Fantastic response. Thank you all!
Open in new window