[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

USERS home directory creation in NT Server 4.0

Posted on 1998-04-23
2
Medium Priority
?
191 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 100 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
An article on effective troubleshooting
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
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…

873 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