Difference between revisions of "Temp"

From Ilianko
 
Line 29: Line 29:
 
         Write-Output 'FSLogix configuration completed successfully'
 
         Write-Output 'FSLogix configuration completed successfully'
 
       "
 
       "
 +
 +
https://t18052fslogixgibbon.file.core.windows.net/fslogix-profiles

Latest revision as of 13:46, 19 May 2026

# Create FSLogix registry key
       New-Item -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Force | Out-Null
       
       # Enable FSLogix
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'Enabled' -Value 1 -Type DWord -Force
       
       # Set VHDLocations (profile storage path)
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'VHDLocations' -Value '\\t18052fslogixgibbon.file.core.windows.net\fslogix_profiles' -Type String -Force
       
       # Use VHDX format (recommended)
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'ProfileType' -Value 1 -Type DWord -Force
       
       # FlipFlop directory naming for better readability
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'FlipFlopProfileDirectoryName' -Value 1 -Type DWord -Force
       
       # Enable for Entra ID (Azure AD) joined machines
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'IsAADEnabled' -Value 1 -Type DWord -Force
       
       # Delete local profile when VHD should apply (recommended)
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'DeleteLocalProfileWhenVHDShouldApply' -Value 1 -Type DWord -Force
       
       # Set concurrent user sessions (for multi-session)
       Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'SizeInMBs' -Value 30000 -Type DWord -Force
       
       # Enable Kerberos ticket retrieval for Entra ID
       New-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Force | Out-Null
       Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters' -Name 'CloudKerberosTicketRetrievalEnabled' -Value 1 -Type DWord -Force
       
       Write-Output 'FSLogix configuration completed successfully'
     "

https://t18052fslogixgibbon.file.core.windows.net/fslogix-profiles