Sever 2003: Automatically map network drives from a NAS to domain workstati


Recommended Posts

You can map drives using Group Policy, simply configure it and apply it to the OU your users are in.

 

Or have a batch file to run every time a user logs in. An batch file would be:

 

net use z: \\nas\share1
Link to comment
Share on other sites

But it seems not to work.

 

Try this:  Copy that script you wrote into the NETLOGON folder, and instead of "Browsing" for the file, type in "%logonserver%\netlogon\map.bat" without the quotes.

Link to comment
Share on other sites

It takes 2 reboots for a gpo to take place on windows xp machines.  You can force the policy by using the following command:

gpupdate /force

 

you can check to see if your policy is being applied by using the following command

gpresult

or

gpresult /r

 

you can graphically see what policies are being applied by using this at a run prompt

rsop.msc

 

If you do not see your policy being applied, you will never be able to map drives using the method laid out. 

Link to comment
Share on other sites

Yes which is why I would recommend a iscsi NAS. It can be linux based, it just needs to support the iscsi protocol. If it is enabled, then windows can see the share as a local drive to the server and apply permissions and shares accordingly.

Link to comment
Share on other sites

On topic: A Linux based NAS with a Windows domain and its permissions is a hellhole...

 

If your NAS runs Linux it almost certainly uses SAMBA, which supports Windows domains very well. If you are referring to problems you are having setting up user accounts or syncing permissions for AD, I recommend that you join the NAS to your domain. At my workplace we have a Windows domain with almost exclusively Windows 7 clients, but all of our network storage servers are either RHEL-based or Debian-based. We have them all joined to the domain and configured to allow login from users in specific AD groups. The key is keeping those servers in a separate OU so the GP for clients doesn't apply to them. For more detailed information read the Domain Membership chapter of the SAMBA Manual.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.