migrate user profile disk to fslogix

Андрей Михалевский 3,451 Reputation points
2021-05-24T11:22:02.247+00:00

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 for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Andy YOU 3,076 Reputation points
    2021-05-25T07:13:38.82+00:00

    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://learn.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.

    2 people found this answer helpful.

  2. Amit Singh 5,306 Reputation points
    2021-05-31T15:01:19.107+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

  3. Andy YOU 3,076 Reputation points
    2021-05-27T10:44:33.283+00:00

    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.

    0 comments No comments

  4. Андрей Михалевский 3,451 Reputation points
    2021-05-27T11:28:39.667+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.