Question Locked

User Home Folder drive Mapping/Creation in Active Directory

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello all,

I need to automatically create home drives for users when I create them, as well as have rights assigned automatically.

Another question: does AD automatically map the home drive if you have all of the permission settings correct and the local path correct on the profile tab?

I tried using logon scripts to map drives, but they won't even run. Nothing happens.

Any input would be appreciated.

5 replies

by el superbeasto

put it on every computer in the startup file

example of code:

@ECHO OFF
IF NOT EXIST %windir%\IFMEMBER.EXE copy \\server's ip add\netlogon\etc\ifmember.exe %windir%

net use i: /del
net use U: \\your storage server\%username% /persistent:no

by ic-it

I thought Ifmember checks for Group membership and needs to be taken from the Resource Kit.
If used it can be run with a logon script from the servers Netlogon directory.

With your script it seems to copy it to the local drive and is never actually called.

Why delete the I drive?

The last line does map an existing home folder to the U: drive on a per logon basis.

by s2tgrave

if you delete the drive you'll be sure the drive didn't existed because of a previous logon, for example that with the last logoff was occured an error which didn't deleted that drive-letter.

This discussion is closed to new replies.