Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Logon script

Posted on 2004-05-02
2
Medium Priority
?
215 Views
Last Modified: 2010-04-13
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
Comment
Question by:robomonkey
2 Comments
 
LVL 7

Expert Comment

by:rhrowson
ID: 10971401
What OS?
0
 
LVL 85

Accepted Solution

by:
oBdA earned 1000 total points
ID: 10971676
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question