Create a share folder.

Hi Experts,

I am trying to create a shared folder that when any domain users login, it will show up like in this example.

Domain users: aaa, bbb, ccc, ddd

C:\DOCs is shared full control.

When user aaa access to DOCs shared folder, it will create a folder for user aaa , like this
C:\DOCs\aaa
and this user can save whatever they want in his/her own folder. The same will be applied to the other domain users.

All users will be able to see shared folder of other users but they can not open or access. The user is able to access to his/her own shared folder only.

Could you please guide me how to achieve this? Thank you.

Regards,
phucdk
phucdkAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sumit GuptaSystem and Virtualization EngineerCommented:
Just use %username% like c:\Docs\%username% in drive mapping or in Activ Directory/GPO.
phucdkAuthor Commented:
I had my folder share on DC01

just tried to test on a domain machine with a test user like this

\\dc01\docs\%username%

it is not working. Could you please be more specific? Thank you
Sumit GuptaSystem and Virtualization EngineerCommented:
on DC, go to users properties and hen profile tab: specify user drive as \\DC01\DOCS\%username% and specify the letter of drive for mapping. it will create folder automatically.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

phucdkAuthor Commented:
Thank you for your speedy reply but if I did like this, I can see the user home folder will be roamed to this shared folder?

What I am trying to achieve is, if I had multiple share folders, when users access to these shared folders, he/she can access to his/her %username% folder only. Is it possible to achieve like this?
Sumit GuptaSystem and Virtualization EngineerCommented:
If users try to access it manually then its not possible for server to create folder on their login name without script. you can also define in GPO but again it will be automatically redirection or mapped drive.

What i explained is just add a mapped drive whenever a user login on system. in this way he can save data if he want on mapped drive and that is a folder in \\dc01\docs\aaa ...
MiftaulCommented:
Please make sure the folder aaa, bbb, ccc are actually created on the shared folder "C:\DOCs\" and appropriate permissions are set.
Brad HeldCommented:
If you are using group policy  preferences then the environmental variable for user has changed to %LogonUser% see - http://technet.microsoft.com/en-us/library/cc753915.aspx
redefyCommented:
to make it so that the user only sees their own folder, or files inside their own folder and cant see/delete other users you have to use special permissions on the folder.

See: http://4sysops.com/archives/folder-redirection-part-2-setting-up-your-file-server/

You can do it via icacls (command line tool) or just the advanced settings on the file permissions. But you have to change the setting for traversing the folder, which allows/disallows the ability to see other folders that they don't have permissions for.

Following that same tutorial, you can set group policies to redirect their documents, or another folder
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.