From 4fc92c4e68935542993533549bd930ee91d4af94 Mon Sep 17 00:00:00 2001 From: Ken Maranion Date: Wed, 24 Jan 2024 11:47:19 -0800 Subject: [PATCH] Load before pta/fta --- jumpcloud-ADMU/Powershell/Start-Migration.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jumpcloud-ADMU/Powershell/Start-Migration.ps1 b/jumpcloud-ADMU/Powershell/Start-Migration.ps1 index 522cd8329..26c56ef67 100644 --- a/jumpcloud-ADMU/Powershell/Start-Migration.ps1 +++ b/jumpcloud-ADMU/Powershell/Start-Migration.ps1 @@ -1886,6 +1886,9 @@ Function Start-Migration { If (!(test-path $path)) { New-Item -ItemType Directory -Force -Path $path } + Set-UserRegistryLoadState -op "Load" -ProfilePath $oldUserProfileImagePath -UserSid $SelectedUserSID + # SelectedUserSid + Write-ToLog -Message:('Selected User SID: ' + $SelectedUserSID) Get-ProtocolTypeAssociation -UserSid $SelectedUserSid -ProfilePath $oldUserProfileImagePath Get-UserFileTypeAssociation -UserSid $SelectedUserSid -ProfilePath $oldUserProfileImagePath # Unload "Selected" and "NewUser"