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

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?
0
robomonkey
Asked:
robomonkey
1 Solution
 
rhrowsonCommented:
What OS?
0
 
oBdACommented:
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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