From a7737fb79bcb245e48bcbb248bea5537e0bf7d2f Mon Sep 17 00:00:00 2001 From: Dany Contreras <78437433+danycontre@users.noreply.github.com> Date: Mon, 30 Oct 2023 08:34:46 -0500 Subject: [PATCH] allowing login with temp profiles --- .../scripts/Set-SessionHostConfiguration.ps1 | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/workload/scripts/Set-SessionHostConfiguration.ps1 b/workload/scripts/Set-SessionHostConfiguration.ps1 index bd8571e83..c362805d5 100644 --- a/workload/scripts/Set-SessionHostConfiguration.ps1 +++ b/workload/scripts/Set-SessionHostConfiguration.ps1 @@ -220,20 +220,20 @@ try { PropertyType = 'DWord' Value = 1 }, - # Loads FRXShell if there's a failure attaching to, or using an existing profile VHD(X): https://docs.microsoft.com/en-us/fslogix/profile-container-configuration-reference#preventloginwithfailure - [PSCustomObject]@{ - Name = 'PreventLoginWithFailure' - Path = 'HKLM:\SOFTWARE\FSLogix\Profiles' - PropertyType = 'DWord' - Value = 1 - }, - # Loads FRXShell if it's determined a temp profile has been created: https://docs.microsoft.com/en-us/fslogix/profile-container-configuration-reference#preventloginwithtempprofile - [PSCustomObject]@{ - Name = 'PreventLoginWithTempProfile' - Path = 'HKLM:\SOFTWARE\FSLogix\Profiles' - PropertyType = 'DWord' - Value = 1 - }, + # # Loads FRXShell if there's a failure attaching to, or using an existing profile VHD(X): https://docs.microsoft.com/en-us/fslogix/profile-container-configuration-reference#preventloginwithfailure + # [PSCustomObject]@{ + # Name = 'PreventLoginWithFailure' + # Path = 'HKLM:\SOFTWARE\FSLogix\Profiles' + # PropertyType = 'DWord' + # Value = 1 + # }, + # # Loads FRXShell if it's determined a temp profile has been created: https://docs.microsoft.com/en-us/fslogix/profile-container-configuration-reference#preventloginwithtempprofile + # [PSCustomObject]@{ + # Name = 'PreventLoginWithTempProfile' + # Path = 'HKLM:\SOFTWARE\FSLogix\Profiles' + # PropertyType = 'DWord' + # Value = 1 + # }, # List of file system locations to search for the user's profile VHD(X) file: https://docs.microsoft.com/en-us/fslogix/profile-container-configuration-reference#vhdlocations [PSCustomObject]@{ Name = 'VHDLocations'