Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Folder Mapping Question 1

Status
Not open for further replies.
May 20, 2002
115
US
Hi,

Here is the senario. I am in a school environment and have a lab full of computers in a room with a teacher. All of the computers have XP Pro and are members of a W2K domain. They use group policies to severly restrict what students to do. I would like to create a share on one of my servers that the teacher has full permission to. Here is the part I don't understand how to accomplish. I would like the put the lab computers into an OU and have the mapping take place at the hardware level and not at the user level. This way students could only access the folder while in the lab. It would be really great if the folder permissions could allow students to access it based on the permission of the computer they are logged into.

Thanks,

Jon
 
here is a long shot...

apply it to the domain, and using filters restrict it to members of a security group. in this group put both users and computers that are concerned.

-or-
add a logon script (net use) that is applied to users, and use an If command to determine if the computer is a member of a group or OU as a condition before mapping the drive.

If u has 2003, loopback processing would make it easy as pie, but it is not the case.

Probably an easier solution, but i don't know it ;)


Aftertaf
if its not broken, fix it anyway - with luck you might break it and have an excuse

 
I have an app that requires this in a room at our school, i use a VB script to map a drive at station startup. Attach it to the startup scripts area of the computer OU that holds the computers.

Set objNetwork = Wscript.CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "S:", "\\server\share"

That should do it.
 
bofhrevenge,

Thanks, this has gotten me close. When I did what you suggested and then logged into one of the computers as a student, the drive is there but it shows up as a disconnected drive and they have no access. When I log in as an administrator on the same computer it also shows up as a disconnected drive but it allows me access. I suspect a group policy setting might be to blame but I have looked at everything and I can't find the problem.

Any other clues?

Jon
 
Hmmm the drives do have a red cross on my clients too but the users can access them.

XP or 2000 clients?
 
Mine are XP clients. I worked on this some more this morning and after adjusting the permissions on the share it works perfectly. The kicker however, is that the mapping shows up to the user saying disconnected drive. The drive is in fact connected and has no red X. It works just as it is suppose to.

Jon
 
I've just tried on 2000 and it shows with a red cross and XP says dissconnected network drive but if i click on them they open.
I have share permissions set to Authenticated users Change and NTFS permissions are users write.
 
Oh ignore that last post.

Yes the drive showing as disconnected is a bit annoying, I think there is a way to adjust the timeout but I’ve never bothered to look as it works ok.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top