Giter Club home page Giter Club logo

convert-udp-fslogix's Introduction

Migrate UPD Profiles to FSLogix

Pre-requesites

AD Powershell Modules

Install-WindowsFeature RSAT-AD-PowerShell

Migrate UPD VHDs to FSLogix VHDs

  1. Copy UVHDs to new folder and share folder e.g to \\fileserver01\uvhd_profiles
  2. Create new folder and share folder e.g. at \\fileserver01\fslogix_profiles
  3. Adjust variables in Convert-UPDtoFSLogix.ps1
 set $updroot = "\\fileserver01\uvhd_profiles"  
 set $fslogixroot = "\\fileserver01\fslogix_profiles"  
 set $errorlogfolder = "\\fileserver01\uvhd_profiles"  
  1. 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
https://aka.ms/fslogix_download

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

FSLogix Documentation

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.