Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Home folders creation. 1

Status
Not open for further replies.

fpachon

MIS
Feb 9, 2006
22
US
Hi all,

what is the proper way to create a users home folder?
I have read so many different ways and wanted to see if someone could shed some light.

I have seen where the users folder usually c:\users or something similiar to that is either shared out or shared out hidden. The same goes with the actual users folder for example c:\users\fpachon. Sometimes I see the whole share as hidden $ and sometimes not. Can someone help me decipher this. Currently I manually create the users folder then have my script create each individual folder. Just wanted to know what part should be hidden and which part does not.

Thanks,

Fabian

Thanks.
 
I don't think you will be able to get a single "right" answer on this. The way you do this totally depends on your environment, security needs etc. Do your users need to share data from their home folders? If not then go with the hidden share as it will keep people from seeing a huge list of shares that they don't have access to.

Using XCACLs within your script you should be able to script the creation of the folder, setting security and creating your sub folders. Should save you some time. With WMI you can also share the folder.


I hope you find this post helpful.

Regards,

Mark
 
DMAC you are DMAN.

Thanks, I figured if I make the share folder hidden and map root the users folder this should take care of some of the security. I will then apply NTFS permissions so that only the respective user can use their home folder.
 
As I said above, you can automate the setting of the security too using XCACLs. THere is also a way to do it with WMI but that is a little tougher to follow, so I recommend using XCACLs.

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top