Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

automatic home folder creation

$
0
0

I am using folder redirection and roaming profiles. The setting is as follows:

For every username in a given OU, a folder exists (with the username as its name) accessible via a shared folder called sharedfolder, ie the UNC is: \\servername\sharedfolder\%username%

The folder %username% is then used to store redirected folders, roaming profiles as well as home folder, the structer of %username% folder thus looks like:

Desktop
Documents
...
profile.V2
My_Disk

I set up this quite a while ago and I have no idea how I made it work. The problem is:

When I try to create a new user, I assign the profile path and home folder path as follows

profile path:\\servername\sharedfolder\%username%\profile
home folder path: \\servername\sharedfolder\%username%\My_disk

However, I get an error message:

The  \\servername\sharedfolder\%username%\My_disk home folder was not created because the path was not found. This could be caused by listing non-existent intermediate folders or by not finding the server or share. The user account has been updated with the new home folder value but you must create the folder manually.

This problem is related to the creation of home folder. If I fill in only the profile path, there is no error, however, no folder is created either. Apparently the folder would be created upon the first login of the user. The same goes for the redirected folders in GPO, the are created upon the first login. So it seems that in order to have the top folder %username% created automatically, I first would have to login as the user and and only then can I assign the home folder which would be created automatically.

Just a note, all the material online concerns only with separate folders for home drive, folder redirection and roaming profile, in my case, I have a single folder %username% that holds the mentioned folders.

The question is, how to have those folders (at least the %username% folder created automatically) in this setup. Apparently I managed that some time ago but I do not recall the procedure.

Thank you.



Viewing all articles
Browse latest Browse all 19997

Trending Articles