You are on page 1of 7

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

Group Policy Central


Best Practices, Turorials, News, Tips and Trick for all your Group Policy needs

How to Set users home folder via group policy in Windows 8


09/07/2012, 11:15 pm | by Alan Burchill 7,651 views

If your company is like most organisation i have come across you all users to have a home drive (typically H: ) that is give to the users that allows them to store private information that only they have access. Ever since the days of at least NT4 (or possibly earlier) administrators have had the option to configure their users home drives via a setting in their AD account (see image below below).

Even today with Windows Server 2012 this is this is still an option for administrators to configured users home drives via their users accounts (see image below).

1 de 7

27/11/2012 10:16

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

When the home drive is set on a user account via Active Directory Users and Computers the tool actually goes out and creates the home drive in ready for the user to map the next time the log onto a computer. The main problem with configuring users home drive this way is that it is configured on a one by one basis which means that it is difficult to configure these setting and it is another step in the user creation process that can be forgotten to be done. Certainly this is a lot easier with the advent of Windows Server 2003 admin tools that allowed you to select multiple users and configured the home drive on mass.

2 de 7

27/11/2012 10:16

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

However the idea of setting the home drive as an individual attribute in todays policy driven, economy of scale management style is just not ideal. Such as a user account is moved from one location to another in AD the users home drive setting is not automatically updated as its a static configuration on the users account. If you have read my blog post Best Practice: Roaming Profiles and Folder Redirection (a.k.a. User State Virtualization) you might have realised that you can already create the users home drive automatically using folder redirection (specifically Documents) and then you can simply use the Group Policy Preferences Drive Mapping Extension to map the user home drive to the same location as the folder is redirected. This method does allow for the users account to moved around and have policy automatically update their home drive. But in reality it is just a workaround to the lack of any other way of setting the users home drive automatically via policy until now.. With the introduction of Windows 8 and Windows Server 2012 there is now a new group policy setting called Set user home folder and is found under Computer Configuration > Policies > Administrative Templates > System > User Profiles.

3 de 7

27/11/2012 10:16

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

One the policy is applied to a computer anyone logos onto this computer will get a home drive mapped to the path above

4 de 7

27/11/2012 10:16

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

Warning: As this policy can only be applied to the computer object this will apply to everyone who logs on the computer that have this setting applied including Domain admins and alike so be carefully how you apply it TIP: If you have your workstations segmented in your OU structure by site you may want to apply this policy setting at each site to the nearest file server you want to use for storing your home drives. This means that users will not have home drive re-map if they travel for a short time to other locations Alternately you MIGHT want to apply this setting to your AD site however if you do this make sure you put a WMI filter on the policy so it does not apply to Windows Servers in the same site.. .
Share this:

Tags: home directory, home drive, home folder, Intermediate, Windows 8 Category: Tutorials | Comment (RSS) | Trackback

8 8 0 0 0

Replies Comments Tweets Facebook Pingbacks

Last reply was 16 hours ago

1.

Alan Burchill View 11 hours ago Blog Post: How to Set users home folder via group policy in Windows 8 http://t.co/VGcgYOcw Reply

2.

Jesper Jensen View 11 hours ago How to set users home folder via group policy in Windows 8: http://t.co /AyNGNCwf Reply

3.

Darren Mar-Elia View 1 hour 26 minutes ago But Alan, correct me if Im wrong but this doesnt move the content of the users home folder around, so using this in the way described above means that they could have home folders sprinkled all over a network? Not sure I get how this is helpful? What is missing? Darren Reply

5 de 7

27/11/2012 10:16

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

Alan Burchillreplied: View 17 hours ago Good point, I must admit I struggled trying to find a good use case for this policy setting seeing it only applies to the computer and not user. The post is more of an FYI for those who might have been looking for this functionality In some scenarios I could see having the home drive isolate to regions would be useful, and in other having them roam would be very good. I suppose you could replicate them on the back end using DFSR

4.

Darren Mar-Elia View 10 hours ago Yea, DFSR already gives you site-based affinity so you wouldnt need this. Just refer to the DFS link and away you go. However, after thinking about it, I think it could be useful in VDI/RDS scenarios where you might want the users home directory to be near the VM/RDS farm for performance reasons, but only when they are on that farm. You still have the issue of sychronizing with their normal home folder though, so not sure. Reply Alan Burchillreplied: View 7 hours ago Yes, VDI did cross my mind. But I do wish that this policy could be applied to the user that would be very handy

5.

Brian Arkills View 20 hours ago The use case you are searching for are enterprises which dont have a single IT authority/shop, and where users arent owned/supported by just one IT group but by several. In those scenarios, the home directory for any given user changes based on which computer they are using, because in contrast computers do have a single IT group supporting them. This scenario is rampant in the Higher Education sector, and is why HiEd leverages loopback processing more heavily than any other sector. There are workarounds, but as youve said this new setting means you dont have to use those other workarounds. Thanks for posting this! Reply Scott Ladewigreplied: View 16 hours ago

6 de 7

27/11/2012 10:16

How to Set users home folder via group policy in Windows 8

http://www.grouppolicy.biz/2012/07/how-to-set-users-home-folder-via...

Thats exactly our environment at the university where I work. This makes it easier for me to provide our schools students with a home directory whle still letting them use their acounts from the Central Forest. Looking forward to kicking the tires on this one.

7 de 7

27/11/2012 10:16

You might also like