?
Solved

Net Use to rename a share

Posted on 2009-02-19
4
Medium Priority
?
936 Views
Last Modified: 2012-06-27
i use net use to map drives in a batch file applied to a gpo.  what i don't like is when it finishes it says

sharename on servername (F:)

anyway to tell it to not put the "on servername" and just make it look like

sharename (F:)

i know you can just right click and rename but this is a secure environment and users can't do that.  want to accomplish it thorugh the logon script if possible.
0
Comment
Question by:dlabbadia01
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
dhoffman_98 earned 375 total points
ID: 23685431
Check the following article for information on how to add some extra commands to your batch job to handle this:

http://windowsitpro.com/article/articleid/82948/jsi-tip-9015-how-can-i-rename-a-mapped-drive.html
0
 

Author Comment

by:dlabbadia01
ID: 23685577
thanks.  looks pretty useful.  little over my head.  does this batch file then need to be local to the users computer in order for it to be called within a GPO logon script?
0
 
LVL 13

Expert Comment

by:dhoffman_98
ID: 23685726
You could incorporate this into the existing batch job that is making the mapped connections so that once they are mapped, they can also be renamed.

Yes, it does seem to be a very complicated script, but hopefully you can decipher what it's trying to do and how, so that you can tailor it for your needs.
0
 

Author Comment

by:dlabbadia01
ID: 23685758
thanks.  i'm just going to leave this open for a day or so in case anyone else has any more advice on the problem but will definately be awarding you a portion or all of the ponts.

0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question