Solved

USERS home directory creation in NT Server 4.0

Posted on 1998-04-23
2
163 Views
Last Modified: 2013-12-19
I would like to simulate Novell's USERS home directory setup on NT server 4.0.   The way MS suggests is to
Share the directory "USERS" and then specify the path to the individual home directories in the Administrator Tools's Domian Users Profile Utilityy.  Ex.  of the path would be \\Users\user1.  This works fine, it creates the users home direcoty and give appropriet permissions, BUT every user logging in will see everyone elses home directory becuase of the sharing of directory "USERS".  They will be able to see it, but can't access it.  When you have 100 users, you don't want to click on your H drive and see 100 folders.  The only way I can think of is to Share the individual users fodlers, like sharing directory User1, User2......User100.  But this a lot of work becuase you have to manually create the directory , then share it and then give that user permission to the directory. Also that is a huge browser list.

I was wondering if there is any other way of creating home directories in NT server 4.0.   MS's idea of creating home directories is OK if there was a way to hide all other folders under the Share "USERS".  I would appreciate any help that you can give me.  Thank you in advace.
0
Comment
Question by:bfarahi1
  • 2
2 Comments
 

Expert Comment

by:pbryden
ID: 1559480
I would create a share for each users home directory, but add a $ to the end of the share name to make it a hidden share, keeping it out of the browse list. I have written a script to create home dirs, shares and set permissions on the directories. I am not aware of a better way.
0
 

Accepted Solution

by:
pbryden earned 50 total points
ID: 1559481
REM This command script uses the ADDUSERS.EXE and RMTSHARE.EXE from the
rem NT Server Resource Kit. The cacls.exe comes with NT 4.0
rem
rem the addusers /d command must be run from a domain controller to produce
rem  a list of domain users.
rem
addusers /d users.txt /S:;
REM manually edit users.txt to delete the [global] and [local] sections
rem before continuing
rem
rem replace the D:\users and the \\servername as appropriate for your environment
rem run the for command from the server where the user dirs will be created and shared.
REM
REM This command will skip line one ([Users] is on this line) and read the first "token" (username) from the users.txt file,
REM create the directory, share the directory as Username$ with a remark using the users Full Name
rem and set permissions for each directory to Full control for Administrators and System
rem and Change for the individual user.
REM The CACLS output is logged to perms.log in the default directory
REM
for /f "delims=; tokens=1,2 skip =1" %%i in (users.txt) do (md D:\users\%%i) & (rmtshare \\SERVERNAME\%%i$ D:\users\%%i /Remark:"%%j User Share") & (Echo Y|cacls /c /t /p D:\users\%%i %%i:c administrators:f system:f >>perms.log)

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now