User Profile Disks - template.vhdx

In Server 2012 standard ( not R2)
using RD
in Session Collection
and in the "User Profile Disks" tab
I have “Enable user profile disks”
then selected various options and apply
this then creates a template.vhdx file in the UPD folder
then when new users ( let's say 5 x users) start to login
then using the template.vhdx
a .vhdx file (UPD) is created for each user containing their user SiD
Questions -
if i go back into Session Collection
change the options in "User Profile Disks" and apply
what happens to the template.vhdx file ?
Is the original .vhdx file overwritten with the new one?
or is a backup created ?
Is there any name change ?
Are the first 5 x users individual .vhdx files unchanged ?
ie does the new template.vhdx file only affect new users?

Hi,
In regards to your questions;
>>what happens to the template.vhdx file ?
It will be updated with the changes you made
>>Is the original .vhdx file overwritten with the new one?
Yes
>>or is a backup created ?
No, If needed you can back-up the file prior to making changes
>>Is there any name change ?
No, the template file is not renamed
>>Are the first 5 x users individual .vhdx files unchanged ?
yes
>>ie does the new template.vhdx file only affect new users?
Yes, the changing the template does not affect existing .upd files created prior to your change.
Hope this helps!
Kind regards,
Freek Berson
The Microsoft Platform
Twitter
Linked-in
Wortell company website

Similar Messages

  • User Profile Disk Template Cannot Be Created When Setting Up Session Collection

    I'm having an odd issue when setting up my Session Collection. Everything is functioning properly during the config, but when it gets to setting up the User Profile Disks, I am getting the following error: "Could not create the template VHD.  Error
    Message: -800389783".
    Everything is configured properly - the share and the NTFS permissions are set so that all of the RDSH servers have full control. 
    Thanks for the help!

    OK, so I opened a support incident with Microsoft. The issue was a User Rights Assignment setting in the Default Domain Policy.  It was the “Access this computer from the network” setting, and it had been set to define DOMAIN ADMINS and DOMAIN USERS,
    as well as two other defunct accounts (showing the SID only).  The issue is that DOMAIN ADMINS and DOMAIN USERS are already added to local Admins and Users groups respectively, so by making this setting we had caused a security issue that would not allow
    the VHDX files to be created automatically.  This took a lot of digging with ProcessMon and other utilities on their part before they were able to track it down.  I have disabled this setting and now things are working just fine. 

  • Unable to Enable User Profile Disks in RDP server 2012R2

    I am setting up a new Windows server that will act as an RDP server. The server has been built with Windows Server 2012R2. 
    I have the following roles and services working on the server: RD Web Access, RD Gateway, RD Licencing (with 30 user cal licences), the RD Connection broker, and the RD session host. 
    I have a SSL certificate configured and installed on the site, and both external and internal DNS are configured and working. 
    I have created and published an application collection and this is working. That is, when you go to https://remote.<servername>.org you are presented with a log in screen, users can log in with their domain accounts and then can connect to the published
    applications, this is working both on our internal network and from the general internet. 
    So all the roles on the server are working and the collection itself is also working. However, what I cannot do is set it up so that we can use user profile disks with that collection. When I go through the Session Collection Wizard and I get to "User
    Profile Disks" I can click on "Enable user profile disks" and then you can enter the options below. 
    I am entering the share location under location \\<servername>\<sharename> 
    I am using the default "store all user settings and data on the user profile disk" 
    Then I go to create the profile disks and I get the following error: 
    "Could not create the template VHD. Error Message: -2147024809
    This has happened multiple times, I have done the following: 
    - installed all windows updates and rebooted the server, same error 
    - checked the share permissions AND the folder permission for that share, for testing purposes I have set permissions on both the folder and the share to allow full control to "everyone" (I also tried it with only "domain users") but
    same error message. 
    - I have checked to see that no quotas are imposed on the disk where I am attempting to create the profile disks  - this was because this was the closest thing I could find on Technet was this post:
    https://social.technet.microsoft.com/Forums/windowsserver/ru-RU/aec30527-d742-42b9-950e-85c709c4cb45/vdi-problem-creating-user-profile-disks?forum=winserverhyperv
    And that was a quota issue that I am not having. 
    The UPD wizard says the following "the servers in the collection must have full control permission on the user profile disk share and the current user must be a member of the local Administrators group on that server" 
    Both of those things are true. 
    I have attempted to search for that specific error message (-2147024809) and have found nothing on Technet or any other site. 
    I am hoping someone here has some thoughts.  Thanks in advance. 

    I was looking at both the technet article for setting up UPD as well as this walk-through:
    http://thewolfblog.com/2014/02/24/user-profile-disks-for-rds-2012-2012-r2/
    The step after the creation of the disk in this walk-through is to look at who has permission on the .vhdx file, now obviously I am not at that step, but that is what led me down the trail of looking at user permissions, hence my attempts to set up shares
    where 'everyone' has full permissions on both the share and the folder.
    I have tried to set up multiple shares for the collection, I have tried on two different disks (volumes) on the RDP server itself, I also tried setting up a share on our fileserver (which has all kinds of shares working fine) and the same error occurred
    in all cases. 
    I also found this Technet article: 
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/d6469d31-6540-4075-a85f-a6e8f7c11e89/user-profile-disk-template-cannot-be-created-when-setting-up-session-collection?forum=winserverTS
    So that seems close to what I am looking for, but I have checked and the exact group policy that was causing the above linked issue is not defined in our group policies, but maybe there are other group policies that are causing the issue? 

  • User Profile Disks - User registry data

    In Server 2012 standard (not R2)
     using RD
     in Session Collection
     and in the "User Profile Disks" tab
     I have ticked “Enable user profile disks”
    If I select the second radar-button
    "Store only the following folders on the user profile disk"
    What is the effect of ticking "User registry data" ?
    What is the result in the template.vhdx ?
    and when a new user logs in
    Is all the user registry "moved" to the UPD user .vhdx file where it is then maintained
    or
    Is a folder re-direction preserved in the UPD and the registry data still updated in its original location ?

    Hi,
    Thank you for your posting in Windows Server Forum.
    During first logon, a virtual disk (VHDX) is created from a template disk. This VHDX is attached to the virtual machine or RD Session Host server that the user is logging on to. The profile service is then notified to use this VHDX as the location for the user’s
    profile. When the user logs off, the VHDX is then detached from the virtual machine.
    By default, the entire user’s profile is stored on the user profile disk. This includes the Documents folder, the user’s registry hive (holds application and Windows settings), and much more.
    On subsequent logons to the collection, the VHDX is remounted to whatever virtual machine or RD Session Host server the user is logging on to. The user then has access to everything in his or her profile, even if this is a different virtual machine, or if the
    virtual machine has been rolled back to a clean state between logons.
    For more information, please check beneath article.
    Easier User Data Management with User Profile Disks in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/11/13/easier-user-data-management-with-user-profile-disks-in-windows-server-2012.aspx
    Working with User Profile Disks on Session-Based Desktop Deployments
    http://www.virtualizationadmin.com/articles-tutorials/vdi-articles/general/working-with-user-profile-disks-on-session-based-desktop-deployments.html
    Hope it helps!
    Thanks,
    Dharmesh

  • User Profile Disks with Windows Server 2012 and Windows 8 VDI

    Hello experts!
    We are building a new server setup for the office and are unable to figure out why UPD will not work. We have VDI setup and a user for instance
    connecting through the RDWeb workplace will dynamically get one of the available Windows 8 Machines delivered through Hyper-V and can successfully login on this machine via Active Directory. So far so good...
    However, when we activate the User Profile Disks "UPD" feature the login takes forever and the VHDX will not mount on c:\users\...
    as expected within the virtual Windows 8 machine.
    The UPD config is quite simple, with just the path "\\vmhost\upd\" set. This share has (now during test) full access for everyone,
    both on share level and on security level, but still the VHDX will not mount.
    The UVHD-template.vhdx file gets created just fine when UPD is activated, and during login through RDWeb a TEMP-UVHD-S-1-5-21-1477358240-4159876597-995667825-500.vhdx
    gets created, but there it stops... The login process takes a couple of minutes by the "Windows förbereds" (roughly translated to English "Preparing Windows"), and then the user gets logged in with a temporary profile.
     - The event log says (translated using Google translate):
    Failed to obtain a user profile disk for the user account with SID S-1-5-21-1477358240-4159876597-995667825-500.
    Make sure the location of the user profile desk can be reached, the server's computer account has read and write permissions to the site and that there is a template file for user profile disks at the site.
    Name of the virtual desk"font-size:14px;font-family:'Droid Serif', Georgia, 'Times New Roman', serif;color:#222222;line-height:23px;"
    />HRESULT: 0x8007007B.0
    Please help, it should not be that hard to achieve this.

    Hi,
    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as ‘Answered’ as the previous steps should be helpful for many
    similar scenarios.
    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer
    as you wish.
    In addition, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • User Profile Disk not being created

    Hi,
    I created a new 2012 VDI collection. Things seems to be working fine except for the User Profile Disks are not being created. From my understanding a .vhdx prefixed with the user's SID is supposed to be created when the user logs into one of the virtual
    machines from the collection. I can see that a UVHD-template.vhdx" was created correctly but when logging on to one of the deployed virtual machines from the pool there is no  other .vhdx files (except the template).
    From what I've read the virtualization hosts must have write access to the share (they do).  I can't seem to find any other requirements. I've searched through event viewer and found nothing. I'm not sure which logs to check on which server.
    Anyone have any ideas what I'm missing?

    Hi,
    Thanks for your post in Windows Server Forum.
    Kindly follow the below mention article and check the necessary steps for creating UPD, try to create new UPD.
    1.  Working with User Profile Disks on Session-Based Desktop Deployments
    2.  Easier User Data Management with User Profile Disks in Windows Server 2012
    Hope it helps!
    Thanks,
    Dharmesh

  • User Profile Disks - exclusions not working

    I'm utilizing User Profile Disks to handle profiles between my Session Host servers. I have some odd requirements on which folders need to be included in the UPD, so for this reason, I am using the option of "Store all user settings and data on the
    user profile disk" and then I am trying to exclude specific folders. However the exclusions are not working properly.
    For example, I am trying to exclude AppData\Roaming\Adobe. In Server Manager under the profile disk settings, I add an exclusion of \AppData\Roaming\Adobe.
    However after I connect to a RemoteApp and my profile disk is created, when I mount the UPD, I see that this folder is still created inside the VHDX. Am I entering the path incorrectly? How would I properly exclude a specific folder from being redirected
    to the user profile disk?

    Hi ,
    This issue may occur if the user profile was manually deleted by using the command prompt or by using Windows Explorer and if the “Do not logon users with temporary profiles” Group Policy setting is configured.
    A profile that is manually deleted does not remove the security identifier (SID) from the profile list in the registry.
    If the SID is present, Windows will try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded.
    To resolve this problem open yourself, follow these steps:
    Right click Computer > Properties > Advanced system settings > Advanced tab > Under User Profiles, click Settings > In the User Profiles dialog box, select the profile that you want to delete > click Delete > Apply/OK.
    Also check your Synchronization Connection Settings in User Profile Service application also make sure you are running this service application with Service Account i.e. Account with Farm Admin permission.
    Please mark the same as answer if it helps you.Thanks.

  • User Profile Disks - Backup/Restore

    I was considering deploying User Profile Disks in my 2012 R2 RDS environment instead of Roaming Profiles / Folder Redirection.
    However, I have noticed a potential flaw unless someone can shed some light on this. With UPD being relatively new there is limited documentation on this.
    If I backup my UPD directory (stored on a central server), and / or my Terminal Servers and I use a backup product which allows granular file-level restore. Initial testing shows that this won't work as you would want it to e.g. I can restore the VHDX
    associated with the UPD but cannot restore the individual files stored on the UPD e.g. a single word document.
    This leads me to think it is more beneficial to use the tried and tested Roaming Profiles / Folder Redirection combo. Or indeed, possibly deselect the UPD option for Documents etc. and combine UPD with Folder Redirection.
    Or does anyone have any further info on this?

    Hi,
    Thank you for your posting in Windows Server Forum.
    From your description I can say that you understand correctly. Sorry to say but you cannot restore the individual files stored on the UPD e.g. a single word document. As we need to backup and restore the whole UPD for the user. Previously, profiles could be
    corrupted if used simultaneously on multiple computers. User profile disks are specific to the collection, so they can’t be used on multiple computers simultaneously. User profile disks can be stored on Server Message Block (SMB) shares, cluster shared volumes,
    SANs, or local storage.
    Please refer beneath for more information.
    1.Easier User Data Management with User Profile Disks in Windows Server 2012
    2. Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Server 2012 RDS - User Profile Disks

    Hello,
    I'm implementing Server 2012 RDS session-based.
    Can I increase the limit of User Profile Disk after it is initially set?
    Is it ok that my Admin user has a User Profile Disk i.e. no local profile on the server as they did previously.
    Are PSTs supported on User Profile Disks - previously PSTs were unsupported on network share - User Profile Disks are on network share.
    I had an issue where a UPD was created for a user - I then delete the UPD. I then logged in as the user (a domain admin) and expected a local profile to be created - this didn't happen. A temporary profile was created instead. This was unexpected.

    Hi Gary,
    You can try to change the size of User Profile Disk by mounting .Vhdx file. Please refer below thread for information.
    Resize User Profile Disks
    As per my research, i can suggest you to use admin local user profile on server.You can get more information for UPD on below listed article.
    1.  Easier User Data Management with User Profile Disks in Windows Server 2012
    2.  Using User Profile Disks (UPD) in combination with predefining the Modern UI Start Screen on RDS 2012 (appsfolder.itemdata-ms)
    Hope it helps!
    Thanks,
    Dharmesh

  • Resizing User Profile Disks in Existing Server 2012 R2 RDS Deployment Question

    Once the initial maximum size is set and the VHDXs have been created in a Server 2012 R2 RDS deployment, will attempting to increase Collection's maximum UPD size by say.. issuing a Powershell command of:
    Set-RDSessionCollectionConfiguration -CollectionName MySpiffyNewCollection -MaxUserProfileDiskSizeGB 10
    over-write the existing VHDXs instead of simply increasing their size? (max size is currently 5GB)
    I'm not at a point where I can test this in a lab condition to find out, and I have not found this question asked (or at least not definitively answered) in this forum yet.
    -G

    Hi,
    Thank you for posting in Windows Server Forum.
    We can resize the UPD file with below command:
    Resize-VHD –Path c:\BaseVHDX.vhdx –SizeBytes 1TB
    After running this mount the .vhdx file and open disk manager and there will be unallocated disk, and then you can click extend disk/volume and its done.
    You can refer following article for more information.
    Resize User Profile Disks
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Is it possible to migrate local profiles to user profile disks?

    Hi guys, 
    Is there an easy way to migrate local user profiles on an remote desktop server to user profile disks? I am replacing a Server 2008 R2 and want to start using UPD's instead on a Server 2012 R2. 
    Best regards,
    Hasan

    Hi Hasan,
    Thanks for your posting in Windows Server Forum.
    As per my research, you can able to achieve your data by choosing the option “Store all user settings and data in the user profile disk” would obviously capture everything normally stored under C:\users\<username>
    and add that to the UPD. But please notice however that you can only select the roaming part of your user profile data.
    On UPD profile is stored in a .VHDX file specific to your account which is placed on a central share. Upon logon a mount path is created under
    C:\Users\<username> that points to that .VHDX file on the share. This makes the solution fully transparent to the Operating System and applications. If you’ve used UPD before you will have noticed that the filenames of the .VHDX files hold the
    users SID, not the account name.
    For more information, please refer below articles. (You can refer below article for Server 2012 R2)
    1.  Using User Profile Disks (UPD) in combination with predefining the Modern UI Start Screen on RDS 2012 (appsfolder.itemdata-ms)
    2.  Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks,
    Dharmesh

  • Windows Server 2012 R2 RDS + User profile Disks + App-V = Explorer.exe crashing all of the time

    I have built a new RDS farm on Windows Server 2012 R2 with two Session Hosts and a combined Connect Broker/Web Access server. I had the farm up and running with User Profile Disks and all seemed OK. However, as soon as I installed the App-V 5.0 SP2 RDS
    client on the session hosts, the explorer.exe process started crashing for any user logging in via the Web Access site. The process crashes and restarts every five to ten seconds. It's the same for administrators. If they log in via Web Access explorer.exe
    crashes, but if they RDP directly to one of the session hosts explorer.exe is fine. If I reboot the session hosts, then the first user to log in via Web Access has a stable desktop session (and appears to have a new profile as well). However, if that user
    logs out and back in again, explorer.exe starts crashing again. The only applications I have packaged at the moment are Office 2013 and Firefox.
    I tried disabling User Profile Disks, but this caused a whole bunch of other problems and I eventually lost the ability to log in at all via Web Access (errors about the user profile service). As this is a small pre-production environment I completed scrapped
    all of the servers and rebuilt from scratch. Again, everything appeared fine until I installed the App-V client, then explorer.exe started crashing repeatedly for all users.
    Has anyone come across this issue before? I have tried installing the App-V 5.0 SP2 Hotfix Package 2, but this didn't help. I have read in a few forums that App-V doesn't work very well with User Profile Desks, but I have not heard of this particular issue.
    Similarly, SP2 seems to have a lot of problems, so I am going to try removing App-V RDp Client SP2 and installing SP1. I ahev also deleted User Profile Disks for the test users to recreate their profiles, but this didn't help either.
    Any other suggestions welcome!

    I forgot to include the application event log entry for explorer.exe crashing:
    Faulting application name: explorer.exe, version: 6.3.9600.17039, time stamp: 0x53156588
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532954fb
    Exception code: 0xc06d007e
    Fault offset: 0x0000000000005bf8
    Faulting process id: 0xae8
    Faulting application start time: 0x01cfab3a273787fd
    Faulting application path: C:\Windows\explorer.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: 69210d77-172d-11e4-80c6-0050560102d1
    Faulting package full name: 

  • App-V 5.0 SP2 RDS Client with hotfix 2 breaks frequently on Windows 2012R2 with User Profile Disks enabled

    Hi All,
    I am at my wit's end trying to troubleshoot this, so any help would be greatly appreciated.
    We are having serious stability issues with App-V 5.0 SP2 RDS in our environment with User Profile Disks enabled.
    We have applied the latest hotfix but the issues persist.
    The main problems are:
    1. Periodically the client seems to become corrupted and all applications stop working for all users. All applications including the official Microsoft Office 2013 ones - not just our packages.
    The symptoms are the same as if I change the App-V Client Service account to run under a user account instead of SYSTEM, so it suggests a file access issue. The log files also hint at this, and one of there errors is similar to this:
    The virtual application 'C:\Users\rds.user9\AppData\Local\Microsoft\AppV\Client\Integration\A3EF9C01-C0E9-4AC5-B21F-DB9B1D2F700C\Root\Mindjet\MindManager 14\MindManager.exe' could not be started because the
    App-V Subsystem 'Virtual Filesystem' could not be initialized. {error: 0x6740090A-0x20003}
    Once this problem occurs the only way I have found to fix it is to either completely remove and reinstall the client, or (perhaps this is the big clue) rename the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\MAV\Configuration\Volumes , unpublish
    an application, then republish said application.
    I don't even think it matters which application gets published. The point seems to be that this 'Volumes' key gets rewritten.
    I am highly suspicious that our issues are caused by User Profile disks in our RDS environment, as when I disable them on our staging collection all of these issues seem to disappear.
    I have made sure all of the servers have permissions on the share (folder and share permissions). It doesn't seem to make a difference.
    2.  Some application fail completely with User Profile Disks enabled. If we switch the setting from "Store all settings and data on the user profile disk" to "Store Only the following folders" there seems to be some improvement,
    in that at least one application that fails on the other setting starts to work.
    3. We have already set that NTFS 8 dot 3 reg fix some time ago.
    SOS!
    We have gone live this week (not my call) and this is having disasterous consequences. :(
    Thanks in advance,
    John

    Hi,
    Thanks for your response.
    I did try this a while ago without success, although it may be worth revisiting with SP2 applied.
    I have left this client now.
    I left them a Powershell script that deletes HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\MAV\Configuration\Volumes
    and triggers an Unpublish/Publish of an application we have deployed to all of the servers.
    This seems to work, but a fix would be better than a workaround.
    Not really my problem now though - I did my best.
    Thanks,
    John

  • App-V 5 SP2 as RemoteApps and User Profile Disks with Error Error 0xc0000142

    App-V packages are published as RemoteApps and User Profile Disks are used. 
    Similar to the problem posted
    here .
    Some packages are running without an error (e.g. Acrobat Reader) and some other (e.g. Notepad++) could not launch.
    The result is "The application was unable to start correctly (0xc0000142). Click OK to close the Program.
    If UPD is disabled, packages running before gets now the error and the non-launching apps are running now.
    The post by Steve TH "App-V 5.0: On these 0xc0000142 errors and where they are coming from" give
    me an idea what´s may going on. But could not find anything related in the logs.
    An answer was set as solution in this
    post but it´s not clear for me, how to setup the Sequencer.
    8.3 is enabled on all VMs.
    How to setup the sequencer and the UPD configuration to run this scenario without the error?
    /vkleinerde

    Hello,
    First thought is just to make a copy of the prod RDS-server, sequence on it and then see how it goes?
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Server 2012 R2 Corrupt User Profile Disks after RDSH reboot

    Hi,
    We have a serious problem when using User Profile Disks, we have a pretty simple setup with a single RDGW & RDCB and the 2x RDSH with a folder share for redirected folders and another for User Profile Disks. Now if any server suffers a re-boot when users
    are connected to it then their profiles gets corrupted and are issued with a temporary profile (we have a GPO to deny use of temp profiles) and so cannot log on.
    I have searched the forums and found the following hotfix
    http://support.microsoft.com/kb/2896328 but this ONLY applies to Windows Server 2012.
    Is there any published hotfix for Server 2012 R2, else we will need to look at another way of managing profiles ?
    Thanks,
    Donal

    Hi Donal,
    Sorry to say but there is no other Hotfix related to this issue for Server 2012 R2. But you can try the option of deleting the SID from registry. You can find the below path and then search for proper associated SID with user name and then delete it.
    HKLM\SOFTWARE\Microsoft\Windows NT\Current Version\ProfileList
    More information.
    RDS 2012: The User Profile Service Failed The Sign-In: User Profile Cannot Be Loaded
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for