From f2dfd5898835e52fd9789a4d7030d8fb010c33be Mon Sep 17 00:00:00 2001 From: Freddy-xXx <56634767+Freddy-xXx@users.noreply.github.com> Date: Fri, 17 Jan 2025 15:17:01 +0100 Subject: [PATCH 1/2] Update FSLogix.ps1 Using VDHLocations instead of CCD Location --- Scripts/CustomImageTemplateScripts/FSLogix.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/CustomImageTemplateScripts/FSLogix.ps1 b/Scripts/CustomImageTemplateScripts/FSLogix.ps1 index 631fff24..cfed58f0 100644 --- a/Scripts/CustomImageTemplateScripts/FSLogix.ps1 +++ b/Scripts/CustomImageTemplateScripts/FSLogix.ps1 @@ -102,7 +102,7 @@ Set-ItemProperty ` -Value "1" New-ItemProperty ` -Path HKLM:\Software\FSLogix\Profiles ` - -Name "CCDLocations" ` + -Name "VHDLocations" ` -Value "type=smb,connectionString=$ProfilePath" ` -PropertyType MultiString ` -Force @@ -153,4 +153,4 @@ if ((Test-Path -Path $LocalWVDpath -ErrorAction SilentlyContinue)) { ############# # END # -############# \ No newline at end of file +############# From 11e4229ef8d5b1c52d86caf9a463490529a0ee65 Mon Sep 17 00:00:00 2001 From: Freddy-xXx <56634767+Freddy-xXx@users.noreply.github.com> Date: Wed, 22 Jan 2025 11:21:01 +0100 Subject: [PATCH 2/2] Update FSLogix VHDLocations property type and value set profilepath --- Scripts/CustomImageTemplateScripts/FSLogix.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/CustomImageTemplateScripts/FSLogix.ps1 b/Scripts/CustomImageTemplateScripts/FSLogix.ps1 index cfed58f0..baf3550e 100644 --- a/Scripts/CustomImageTemplateScripts/FSLogix.ps1 +++ b/Scripts/CustomImageTemplateScripts/FSLogix.ps1 @@ -103,8 +103,8 @@ Set-ItemProperty ` New-ItemProperty ` -Path HKLM:\Software\FSLogix\Profiles ` -Name "VHDLocations" ` - -Value "type=smb,connectionString=$ProfilePath" ` - -PropertyType MultiString ` + -Value "$ProfilePath" ` + -PropertyType String ` -Force Set-ItemProperty ` -Path HKLM:\Software\FSLogix\Profiles `