Logon script

Hi, I'd like to map a directory for each user to the Q: drive.  before I map it I'd like to check if the folder exists, if it doesn't, create the folder and allow only system and the user permissions to it.

Is this possible?
robomonkeyAsked:
Who is Participating?
 
oBdAConnect With a Mentor Commented:
You shouldn't allow users to create folders in your home directory structure. If your Q: drive is supposed to be the user's home drive, set it up when you create the user. Under the user's profile, set the home drive and path to Q: and the according share, usually something like \\server\home$\%Username%. The drive will then be automatically mapped during logon.
You might want to allow administrators full access as well; backup programs (usually running under an admin account as well) need access to the home folders as well ...

How to Set Up Home Folders for User Accounts
http://support.microsoft.com/?kbid=298403

HOW TO: Assign a Home Directory to a User
http://support.microsoft.com/?kbid=320043
0
 
rhrowsonCommented:
What OS?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.