Results 1 to 3 of 3

Thread: How to map a full drive letter?

  1. #1
    NEOBAHAMUT Guest

    Smile How to map a full drive letter?

    Hi all,

    I have been a frequent visitor to the site but for some reason have only just registered. I have a problem and this is on my own home domain.

    I have a Windows Server 2003 domain controller which inside houses my "E$" or my "Media Drive". I store all my music, videos and pictures.

    I have 2 machines in my house both connected to the domain and both are running Windows 7.

    Anyway now that you know my domain here is my problem. I am wanting to make it so that when a user in my domain logs on it maps the full root of the media drive to their machine. For example on my Media Drive I have folders such as Music, Videos, Pictures, Other, Images, Backups and a few others. I am wanting to make it so that when I map a drive it maps the whole lot but in on mapped drive. For some reason Im not able to do this with the script i've written. However if i go through each folder and share each one then use the script ive written it then maps each folder as a mapped drive. So once I login it gives a drive letter to each folder. I'm not wanting this. I want it so that I get the whole lot just on one mapped drive.

    I have been using this as a .bat file and as a logon script.

    net use z: \\servername\music
    net use y: \\servername\pictures
    net use x: \\servername\videos

    this works perfectly and maps each folder as a drive. When I change the script to something like this though...

    net use z: \\servername\d$

    It doesnt seem to map anything.

    I hope I have given enough information here.

  2. #2
    jeff_longley is offline 30+ Helpful Posts 50+ Helpful Posts
    Join Date
    Dec 2010
    Posts
    61

    Default

    admin priviledges needed to maps to root share.
    Whats the issue with dropping your media into a subfolder and mapping to that? So for example, a folder called media with the music\pictures\videos subfolders?

  3. #3
    trekker Guest

    Default

    As a second suggestion, you could always share your E:\ drive out as 'E' to your users and run "net use z: \\servername\e". Just remember to set the proper file permissions on the entire E:\ drive.

    However.... Do you really want every user that gets access to your media drive to see EVERYTHING on E:\? Echoing what Jeff said, I would set up a top-level folder on your E:\ that is something like E:\Media\ and drop everything into that. Share it out as "media" and run your net use on it. For a your small home domain, sharing out E:\ is a reasonable setup. If this was a business network, I would never recommend sharing out a whole drive like that and would err toward a sub-folder being shared out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO