From 24208324b7b5eb1292baf103695ed09ab10b10b4 Mon Sep 17 00:00:00 2001 From: Ken Maranion Date: Thu, 25 Jan 2024 10:04:10 -0800 Subject: [PATCH] test association --- jumpcloud-ADMU/Powershell/Start-Migration.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jumpcloud-ADMU/Powershell/Start-Migration.ps1 b/jumpcloud-ADMU/Powershell/Start-Migration.ps1 index cf17bfb2c..dc011c6a1 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\Software\Microsoft\Windows\Shell\Associations\" + $testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\Software\Microsoft\Windows\CurrentVersion\" 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\Software\Microsoft\Windows\Shell\Associations\" + $testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\Software\Microsoft\Windows\Shell\" Write-ToLog "Testhive: $testHive" $pathRoot = "Registry::HKEY_USERS\$($UserSid)_admu\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\" # Enable long paths