Stephane Thirion
  • Home
  • Raidho Consulting
  • Homelab
  • Cryptos
Sign in Subscribe
ADM

Changing UserProfile storage default location

Stéphane Thirion

Stéphane Thirion

Feb 2, 2013 2 min

At many customer place and even more often now RDS and XenApp servers are virtual I see C: drives (System drives) full without a tiny byte left… This is even more painful when roaming profiles need to be store on the same drive. This is the default behaviour for roaming and local profile creation, their location is “c:Users” or “c:Documents and Settings”

About User Profile Windows : [link]

Very often the virtual machine hard drive are calculated with the OS space need and few application added and many time the page file has already been moved to anther drive, but many admins forget to calculate user’s profile space needed regarding the number of user logged on per vbox…

So what I’m doing on almost all the deployment I do now a day when there are roaming or local profile involve, I just set the UserProfile location to another drive than the system drive, D: for example.

This can be done by changing a registry key and here is the location with default values :

Source code   
Enter code herHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList
 
Value Name : ProfilesDirectory
Value Data : %SystemDrive%Users
Value Format : REG_EXPAND_SZe

 

By changing this value a folder will be automatically created with correct ACL.

I think this is a useful tip, just keep in mind it doesn’t change the default location of the public folders and the default profile :

Tested on Windows 2003, 2008 and 2008R2 with and without Citrix User Profile Management. And last words, TEST it before doing in on a production environment.

 

Read next

Synergy Barcelona 2011 – Public Cloud 3/3

Part 1/3 Synergy Barcelona 2011 – Personal Cloud 1/3 Part 2/3 Synergy Barcelona 2011 – Private Cloud 2/3 Part 3/3 Synergy Barcelona 2011 – Public Cloud 3/3 Public Cloud The last cloud of 3 (Personal Cloud, Private Cloud and Public Cloud) has been announced to be used
Stéphane Thirion Oct 31, 2011

Synergy Barcelona 2011 – Private Cloud 2/3

Part 1/3 Synergy Barcelona 2011 – Personal Cloud 1/3 Part 2/3 Synergy Barcelona 2011 – Private Cloud 2/3 Part 3/3 Synergy Barcelona 2011 – Public Cloud 3/3 Private Cloud The gateway between Public Cloud and Private Cloud is an Unified Service Broker to allow access to Windows
Stéphane Thirion Oct 30, 2011

Citrix ShareFile Tech. Prev, Follow me data

Citrix released few days ago the first public technical preview for Citrix ShareFile part of the Follow me Data strategy announced by Citrix CEO during last Synergy in Barcelona. You can download Windows, Mac, Android and iOS clients and register here : link Citrix acquired ShareFile last year in October 2011
Stéphane Thirion Jan 21, 2012

Subscribe to Stephane Thirion

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Stephane Thirion © 2023. Powered by Ghost