Solved

Logon script

Posted on 2004-05-02
2
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Expert Comment

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

Accepted Solution

by:
oBdA earned 250 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

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…
A look at what happened in the Verizon cloud breach.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

627 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