Solved

USERS home directory creation in NT Server 4.0

Posted on 1998-04-23
2
177 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
[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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
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…
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: …

688 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