• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

map a hidden share through WAN

Office A running a SBS2010 server and other Windows servers
Users use a mapped to these servers including a drive H
H is a hidden share and is known as there H drive

access is set to allow only usernameA into his H drive
LAN is
server is\usernameA$

I just finish setting up a WAN to WAN VPN
from office B to office A
All connections and shares on servers including SBS 2010 server work fine
When a user from office B reboots, he will get all his map drives
Excluding H\\server\username$

The only dif. on these shares is the $ at the end of the share

Every time s user in office B reboots I have to map his H drive

How can I automate this?


I have to remap H
  • 2
  • 2
1 Solution
I am assuming h: is a "home" folder. Home folders are typically mapped through the user profile tab in active directory. Users need to be accessing the domain DNS servers and only the domain DNS servers during the login process in order for this to work.

If you are mapping the drive via a script, it should work just fine with the hidden '$'. you can run the script from within the command prompt to see the actual verbiage while it is running which would show any errors.

I assume you are actually running sbs2011 not sbs2010? If you pull up dsa.msc in a run prompt (active directory users and computers) open the properties of a user in office B and see if there is anything in his 'profile' tab under the 'home folder' section. If there is and you  are mapping the drive via a different method such as manually or logon script than clear the setting out. If this is how you are intending to map drive H:\ then make sure the office B pcs are receiving ip settings that include only dns servers that are in your domain and not your isp or servers.

If neither is the case, please explain the method for mapping your H: drive.
As a side note... a lot of our clients run satellite offices through a site to site VPN using the firewalls. 90 % of issues can be resolved by making sure DHCP at the satellite office is set to give out domain DNS servers. If the routers are assigning DHCP at the satellite office then the default is for the router to assign itself or the DHCP servers listed on its WAN interface. This configuration will cause a lot of headaches over time.

If you do not have a DNS server at site B then assign a DNS server on site A. If the VPN goes down, the users at site B won't be able to access the internet but since they can't get to all of there files on site A... they would have been unproductive anyway?
jsarinanaI.T. ManagerAuthor Commented:
Site A has a router that calls out my SBS for DNS and DHCP on it's LAN
Site B has a router that uses it's self as DNS and DHCP (No servers there)
I'm able to use devices from site A on site B by calling out the IP address of the servers on network
Site B is using netowk
I created a batch file on the PCs in site B, if the user runs the batch file after they boot their PC
the batch file maps all their drives including thier H drive which are all on network

How can I have the PCs in Site A run the batch file automaticly at boot up?
jsarinanaI.T. ManagerAuthor Commented:
I ended up calling out DNS, it's been 5 days and everything is working fine
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now