Solved

Logon script

Posted on 2004-05-02
2
210 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 84

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL SERVER 2000 mdf file defragmentation 4 60
Window 2000 server in a SBS2011 domain DNS Errors 4 472
Corrupted W2K  serverregistry 2 160
Retrieve process time in memory in VB 6 130
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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

679 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