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
jsarinanaI.T. ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.