diff --git a/jumpcloud-ADMU/Powershell/Start-Migration.ps1 b/jumpcloud-ADMU/Powershell/Start-Migration.ps1 index 8f67c43a9..cf17bfb2c 100644 --- a/jumpcloud-ADMU/Powershell/Start-Migration.ps1 +++ b/jumpcloud-ADMU/Powershell/Start-Migration.ps1 @@ -1431,7 +1431,7 @@ function Get-UserFileTypeAssociation { } process { $list = @() - $testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\" + $testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\Software\Microsoft\Windows\Shell\Associations\" Write-ToLog "Testhive: $testHive" $pathRoot = "Registry::HKEY_USERS\$($UserSid)_admu\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\" $exts = Get-ChildItem $pathRoot* @@ -1472,7 +1472,7 @@ function Get-ProtocolTypeAssociation{ } process { $list = @() - $testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\" + $testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\Software\Microsoft\Windows\Shell\Associations\" Write-ToLog "Testhive: $testHive" $pathRoot = "Registry::HKEY_USERS\$($UserSid)_admu\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\" # Enable long paths