Server 2012 RDS - User Profile Disks - Errors during Logoff

I have set up a test Server 2012 RDS collection (Single Server for now) and implemented User Profile disks.
I have two problems.
First: My generic test user can connect and does successfully use the user profile disk as expected. However, at
logoff, the system event log contains these errors:
The error (NTFS 137) is: The default transaction resource manager on volume C:\Users\ts3.test encountered a non-retryable error and could not start.  The data contains the error code.
The warning (NTFS 50) that concerns me is:
It appears that the user profile disk is being "disabled" or "disconnected"
before the profile data is completely written at logoff. What can I do to troubleshoot this?
Second:
Update: A post from Mike Connor on the following page: -LINK- solved
the problem described below. 
My administrative user always logs on now with a temporary profile. At the beginning, the UPD was working and mounting. That stopped working. In attempting to troubleshoot, I logged the admin user off and deleted the UPD disk
file from the share. I remember it working again after generating a new UPD disk file in the share. Soon, it quit working again. I deleted the UPD disk file again from the share and ever since, it has never regenerated a new UPD and
always logs on with a temporary profile.

We experience less to zero problems after an outage with our User Profile Disks when we use the option: "Store all user settings and data on the user profile disk". Other then when we use the other checkbox (even though all checkboxes
underneath are checked). 
Our test setup was, an RDSH 2012 r2 server(s), with an 2012r2 server holding the share.
We first tried the "store all user settings" for the User Profile Disk, we logged several accounts onto our RDSH Server we then disconnected our server which holds the share to simulate an outage. After about 5 minutes we connected the
server again holding the share. When the share comes back online, we logged off the users and logged them back in. The result was a valid profile for all the accounts including their last changes from before the share got disconnected.
The exact same test was done with the option: "Store only the following folders on the user profile disk" with all checkboxes underneath checked, which gave us corrupt profiles.. We also did these tests by giving the server holding the share a reboot instead
of an disconnect from network. This gave us the same result. Each test was done at least 2 to 3 times..
I hope others can confirm this as well in their situation, as it seems to be a bug within that specific checkbox.
Looking at the above tests, the best way in my test cases were to exclude the default folders (f.e.: \Documents) if you would like to redirect them instead of using them inside your User Profile Disk. Redirects can be done through GPO Folder redirection
options or GPO registry combined with Environment Variables.
Even after several attemps to simulate an outage, i get left with consistent profiles. I've now also included an hard reset of my virtual machine (that gave the same results as a disconnect of the network card). This was all done through using the: "Store
all user settings in the user profile disk". The other option left us with inconsistent profiles. I hope others can confirm this as well..
Looks to me that the type of connection towards the User profile happens different. You can see this when looking at the C:\users\<username> and subfolders if you use user profile disks. The 2 options show different symbols as well.

Similar Messages

  • 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

  • Server 2012 R2 user profile disks and outlook search not working

    Hi,
    I`m having a problem with my setup for quite some time now with Windows Search and indexing the outlook OST files.
    I`m using user profile disks in my setup but it seems that Windows Search can`t index the user profile disks, hence when i`m searching in outlook (the OST file is located in the user profile disk) with windows search enabled i`m not getting any results because
    it can`t index the OST file.
    If I don`t use the disks then windows search works fine but because i`m using clustered TS servers I need the profile disks and I don`t want to go back to redirects if possible..
    At the moment I`ve disabled Windows Search which forces outlook to search online, it works but is slow..

    Next issue that popped up, after the user logs off it will deleted the indexed data and start over the next time the user logs on..
    Any fix for that?
    There are three other Technet threads describing the same exact problem about indexing data being deleted when a user logs off from RDS. I'm experiencing this bug also and haven't found anything to fix it yet.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dffeb258-b985-452b-82f3-b66b950b98b6/user-profile-disks-with-windows-search?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/e6d4e3e6-37ef-488c-86ac-d135e3f2353f/windows-search-index-and-user-profile-disks?forum=winserverTS
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/dc6328e9-96dc-4377-a23f-0fb7020e5daa/indexing-user-profile-disk-on-a-file-server-or-on-the-rdsh-server?forum=winserverTS
    my PC Techs http://www.mypctechs.com

  • Server 2012 R2 RDS, User Profile Disks are created but local profiles are created as well. The UPDs aren't mounting correctly.

    2012 R2 RDS Deployment with RDCB HA and UPDs enabled. Everything was working fine with no issues until users started getting temporary profiles. Around the same time UPDs were being created but at the same time a user profile was created in C:\Users. 
    I actually rebuilt the entire RDS configuration except the SQL Server. It took about 5 hours and was not that big a deal but.... we still have the same issue! 
    Does anybody have the solution for this?

    Hi,
    In most cases, the issue is caused by locked UPD. And the workaround is to log off the user. Please check if it is the case.
    For example:
    RDS user profile disks - getting error temporary profile are being used as UPD are not accessible
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0d4b66fc-b53f-435e-b036-142b6ed15d0b/rds-user-profile-disks-getting-error-temporary-profile-are-being-used-as-upd-are-not-accesible?forum=winserverTS
    Also, please check if you will get the temporary profile when logging on with a local account of the session host server.
    If issue persists, please check if there is any related error in Event Viewer and provide us for further research.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • 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: 

  • Log on as batch task with User Profile Disks

    We have a Windows Server 2012 R2 Remote Desktop deployment, where we use user profile disks stored on a central file server.
    We are trying to run a scheduled tasks as a user, while they are logged off.
    When the tasks runs, I can see an event in event viewer that says it was unable to load the user's profile, and as such, the Excel add in that is part of the tasks is not enabled, and as such the tasks fails to complete successfully.
    Is this a limitation of the user profile disks? Can the server load the user profile disk even without the user logging in interactively?
    Cheers, Eds

    Hi Amy,
    The task itself isn't failing, but the action the task executes fails, because it has logged in with a temporary profile.
    The last run time of the task was 14/04/2015 10:49:00, completing at 10:49:02. At this time, there is an event in the event viewer:
    As the tasks is logging in with a temporary profile, the Excel add-ins that user has are not loaded, and the action fails. This is the log from the application itself that is trying to run:
    The report 'PATH_TO_SPREADSHEET.xlsx' failed to run with the following error:  'Cannot run the macro 'JetMenu'. The macro may not be available in this workbook or all macros may be disabled.'.
    The macro it is referring to is an Excel reporting add-in.
    I think what I need to happen, is for the server to mount the users User Profile Disk, so that it does not load a temporary profile.
    Many thanks
    Eds

  • 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

  • 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]

  • Add a DFS file share path in User Profile disk in RDS 2012.

    I'm trying to add dfs file share path  in User profile disks .I get a error message "Access denied"
    Is it possible to add a dfs file share path ?

    Hi,
    It seems we cannot use a DFS file share path here.
    I found a similar thread:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/d8eafa8f-8999-443f-a2d7-8e6dfa3a2908/user-profile-disk-store-on-a-dfs-?forum=winserverTS
    In reply it mentioned "the share needs to be provided from a 2012 server directly as it needs to manage the permissions and share permissions directly".
    As you tested you get an access denied error when trying to use a DFS share. 
    If you have any feedback on our support, please send to [email protected]

  • What share/ntfs permission i've to setup for user profile disks on Server 2012 R2?

    Please, let me know.
    Regards!
    Lasandro Lopez

    Hi Lasandro,
    As far as I know, share permissions for UPD are automatically set up by the management tools.
    Besides, regarding how to install and configure UPD, the following article can be referred to as reference.
    Installing and Configuring User Profile Disks (UPD) in Windows Server 2012
    https://social.technet.microsoft.com/wiki/contents/articles/15304.installing-and-configuring-user-profile-disks-upd-in-windows-server-2012.aspx
    In addition, regarding UPD, the following article can be referred to for more information.
    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
    Best regards,
    Frank Shen

  • Migration from Roaming Profiles to User Profile Disks - RDS 2012 (R2)

    Hi, I'm currently in the process of tweaking our RDS 2012 environment and have a question I hope someone can help me with....
    The users who log onto the Collection are currently using roaming profiles stored on a 2008 R2 file server, but I'd like to move them onto User Profile Disks (looks to be a lot of pro's to it). Is there a way to migrate users profiles from roaming profiles
    to User Profile Disks? We already have a lot of users on the farm with roaming profiles and I'm guessing if UPD is enabled, it will only take effect with new users? I need to do this without too much hassle if possible
    Any help would be appreciated
    Thanks

    Hi Paul,
    Thank you for your posting in Windows Server Forum.
    Sorry to disappoint you, but you cannot able to move\migrate the roaming user profile to new User profile disk on server 2012\R2. You need to move them manually. Please refer below thread.
    Is it possible to migrate local profiles to user profile disks?
    http://social.technet.microsoft.com/Forums/en-US/63ab2ce0-c581-4397-ae7f-d84b8f2b6bd8/is-it-possible-to-migrate-local-profiles-to-user-profile-disks?forum=winserverTS
    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.

  • 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? 

  • 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

  • Migrate User Profile Disks to new File Server

    I'm looking for some guidance/best practice/advice on moving my user profile disk share. My goal is simple enough, we have a share with UPDs on a stand-alone file server. I'm in the process of configuring a scale-out file server and would like to migrate
    my UPD share to that cluster once it is running smoothly. I'm running a 2012 R2 RDS farm. Is the process as simple as changing the UNC path in Server Manager and migrating the data? If so, should I copy the data then change the UNC path or the other way around?
    On a related note, is there any problems of hosting the UPD share on DFS? I'm not necessarily looking to replicate the share, but it would ease a similar migration in the future if necessary as I could replicate it or use the DFS migration toolkit without
    needing to alter the UNC path in the farm as the client facing path wouldn't change. Just an idea I'm toying with and would love some feedback.

    I would think in a simple/flat scenario, you change the UNC path and the wizard will automatically setup the share on the target folder with the correct root permissions
    then you can do a robocopy.exe /mir to move the individual UPDs over while retaining their unique permissions for each user
    regarding scale out file server, you actually can't use SoFS for just a general file share workload and SoFS + DFS combination also has limited capabilities
    for now, SoFS is only compatible with clustered Hyper-V, IIS, VMM and SQL workloads
    you can use the old fashion clustered file server role with SMB 3.0 for the UPDs however, as 2012 now allows for proper clustered share aliases that allows you to natively use a virtual name under a clustered file share option which works nicely in your
    case
    setting up DFS with the above scenario seems to be supported although I haven't done it before
    http://technet.microsoft.com/en-us/library/hh831349.aspx

Maybe you are looking for