question

47451047 avatar image
0 Votes"
47451047 asked Ken-8946 published

migrate user profile disk to fslogix

Hi. I have UPD for terminal farm. UPD have more bugs. Give me pls tutorial, migrate user profile disk to fslogix and how setup fslogix

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JiaYou-MSFT avatar image
1 Vote"
JiaYou-MSFT answered Ken-8946 published

HI
1.UPD use .vhdx virtual disk and fslogix use .vhd virtual disk, so we can't migrate from UPD to fslogix directly.

I think we can build a test collection and add one existed session host server from production collection to it(if there is only on session host server in production collection, I think we can build a new RDsession host VM then add this session host server to test collection), then add UPD for this test collection and let test domain user use it. Finally, we can test migration process.

I think migrating user profile disk to fslogix profile like below:
(1)Log off all domain users sessions on RD session host servers.

(2)Don't allow all domain users remote access session host server again.
99444-16.png
(3)Disable UPD for your RDsession host on RDCB server first, then configure fslogix for your RD session host servers
Configure Profile Container to redirect User Profiles
https://docs.microsoft.com/en-us/fslogix/configure-profile-container-tutorial

https://cloudbuild.co.uk/tag/how-to-configure-fslogix-step-by-step/

(4)End domain users logon the RDsession host servers and using Fslogix profile

(5)Set end domain user access permission for their vhdx files of UPD.

(6)Attach the .vhdx virtual disk to each user session and copy the content of UPD virtual disk to Fslogix virtual disk by each user themselves.
99443-17.png
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



16.png (55.8 KiB)
17.png (74.0 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have 1500 users

0 Votes 0 ·

This is not true. FSLogix has the option to use VHD or VHDX even at the time of this post.

0 Votes 0 ·
JiaYou-MSFT avatar image
0 Votes"
JiaYou-MSFT answered

HI 47451047,

There is another document for your reference. I think that we need to do more testing on session host server of our testing collection.

MIGRATE/CONVERT MICROSOFT USER PROFILE DISKS TO FSLOGIX VHD
https://blog.prianto.com/2020/03/migrate-convert-microsoft-user-profile-disks-to-fslogix-vhd/

Please Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

47451047 avatar image
0 Votes"
47451047 answered JiaYou-MSFT edited
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI 47451047,

Thanks for your reply.
I am glad to hear that we find the workaround. Please accept your answer so that other IT friends can find this answer quickly.
Thanks for your cooperation.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·
imamitsingh avatar image
1 Vote"
imamitsingh answered

Pre-requesites

AD Powershell Modules

 Install-WindowsFeature RSAT-AD-PowerShell


Migrate UPD VHDs to FSLogix VHDs

  • Copy User Profile Disks VHDs to new folder and share folder e.g to \\fileserver01\uvhd_profiles

  • Create new folder and share folder e.g. at \\fileserver01\fslogix_profiles

  • Adjust variables in Convert-UPDtoFSLogix.ps1

    set $updroot = "\\fileserver01\uvhd_profiles"
    set $fslogixroot = "\\fileserver01\fslogix_profiles"
    set $errorlogfolder = "\\fileserver01\uvhd_profiles"

  • Run Convert-UPDtoFSLogix.ps1 in ISE as Administrator

Disable User Profile Disks on all RDSH


Use Server Manager to disable User Profile Disks on all RDSH.

Or use powershell

Example:


 Set-RDSessionCollectionConfiguration -CollectionName "Session Collection 02" -DisableUserProfileDisk -ConnectionBroker "RDCB.Contoso.com"

Install and Configure FSLogix

Download and install FSLogix

Configure FSLogix on all RDSH


Example:

 [HKEY_LOCAL_MACHINE\SOFTWARE\FSLogix\Profiles]
 "Enabled"=dword:00000001
 "VHDLocations"="\\fileserver01\fslogix_profiles"
 "VolumeType"="VHDX"
 "SizeInMBs"=dword:00000c00
 "IsDynamic"=dword:00000001
 "LockedRetryCount"=dword:00000018
 "LockedRetryInterval"=dword:00000006


Optional – Convert VHD to VHDX


Pre-Requesites

Check exisiting

 Get-WindowsFeature *hyper-v*

Hyper-V-Powershell

 Install-WindowsFeature -Name Hyper-V-PowerShell

Convert VHD to VHDX

 Convert-VHD TestVHD.vhd -VHDFormat VHDX -DestinationPath C:\temp\VHDs\TestVHDX.vhdx -DeleteSource 


Reference
The script is a modified version from Roger Critz from the Microsoft Tech Community Post


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.