Difference between revisions of "Temp"

From Ilianko
(Created page with " # Create FSLogix registry key New-Item -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Force | Out-Null # Enable FSLogix Set-ItemProperty -Path 'HKL...")
 
Line 6: Line 6:
 
          
 
          
 
         # Set VHDLocations (profile storage path)
 
         # Set VHDLocations (profile storage path)
         Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'VHDLocations' -Value '\\${azurerm_storage_account.fslogix.name}.file.core.windows.net\${azurerm_storage_share.fslogix_profiles.name}' -Type String -Force
+
         Set-ItemProperty -Path 'HKLM:\SOFTWARE\FSLogix\Profiles' -Name 'VHDLocations' -Value '\\t18052fslogixgibbon.file.core.windows.net\fslogix_profiles' -Type String -Force
 
          
 
          
 
         # Use VHDX format (recommended)
 
         # Use VHDX format (recommended)

Revision as of 13:32, 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'
     "