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

How do I restrict home folders in group policy based on a computer?

Basically my problem is,  I am using a couple external harddrives as cheap offsite backup.  And everytime I try to plug in a drive it trys to give it the address of H: which happens to be set as a drive map to the home folder for all users.  I was wondering if there was a way in active directory to not allow mapped drives on a machine, or to disable home folders on a machine.

Thanks,
0
omnipotentone
Asked:
omnipotentone
1 Solution
 
Will SzymkowskiSenior Solution ArchitectCommented:
You can do this with a GPO...
Configure the settings in GP User Configuration\Administrative Templates\Windows Components\Windows Explorer. Remove "Map Network Drive" and "Disconnect Network Drive".

This will remove the Map Network Drive and Disconnect Network Drive commands from the toolbar and Tools menus in Explorer and My Network Places and removes these commands from menus that appear when you right-click the Windows Explorer or My Network Places icons

Ref link - http://techrepublic.com.com/5208-6230-0.html;jsessionid=6960E568EB2C6878340A6CDA8B371B39?forumID=101&threadID=218237&messageID=2209916&tag=content;leftCol

hope this helps~!
0
 
Justin OwensITIL Problem ManagerCommented:
If you are wanting to disable the H mapping on one machine every time you log in, you can set up a logon script which has a "if computername = whatever" type logic and then disconnect the mapped drive.  This is done differently in batch, vbscript, etc, so knowing your logon script language would be needed here.  That is the quick, ugly fix.

You can add that machine to an AD security group and then link a logon script to that group to accomplish the same thing.

What you cannot do is set up a GPO inside AD which tells a computer "drive letter H is unavailable for network mapping but ok for removable media".

Justin
0
 
omnipotentoneAuthor Commented:
No sorry that doesn't help, the drives are mapped as the user logs in.  Thanks though.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Justin OwensITIL Problem ManagerCommented:
That is why I suggested a separate (or appended) logon scrip which will un-map the drive after it is mapped. :)
0
 
omnipotentoneAuthor Commented:
Justin,
 
That isn't a bad idea.  I know it will work...
 
Anyone else have anything better?  I thought of tweak ui and was going to test that.
0
 
Glen KnightCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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