Fixed InstallNet35, copies source files to temp to circumvent Kerberos double hop

This commit is contained in:
Zachary Gorman 2025-04-29 08:31:01 -07:00
parent 075eccb959
commit d916196ac6
2 changed files with 4 additions and 1 deletions

View file

@ -26,9 +26,11 @@
) )
if(Test-Connection -ComputerName $HostName -Count 1) { if(Test-Connection -ComputerName $HostName -Count 1) {
# Copy source files to circumvent Kerberos double hop problem
Copy-Item -Path \\shscm01\packages\Microsoft\dotNet\3.5 -Destination \\$HostName\c$\Windows\Temp\ -Force -Recurse
Invoke-Command -ComputerName $HostName -SessionOption (New-PSSessionOption -NoMachineProfile) -ScriptBlock { Invoke-Command -ComputerName $HostName -SessionOption (New-PSSessionOption -NoMachineProfile) -ScriptBlock {
Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source \\shscm01\packages\Microsoft\dotNet\3.5 -LimitAccess -All Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -Source C:\Windows\Temp\3.5 -LimitAccess -All
} -AsJob -JobName installNet } -AsJob -JobName installNet
Wait-Job -Name installNet Wait-Job -Name installNet

View file

@ -3,6 +3,7 @@ Patch
-Update Removed HP campus from UserProfileBackup -Update Removed HP campus from UserProfileBackup
-Update Enabled errors in WinProfileRebuild restore just like UserProfileBackup -Update Enabled errors in WinProfileRebuild restore just like UserProfileBackup
-Update Apps can now find sneaky apps like GSL Will Call and OBIX by looking for a path specified in SHSApps.json -Update Apps can now find sneaky apps like GSL Will Call and OBIX by looking for a path specified in SHSApps.json
-Fix InstallNet35 now works
Patch 2025-4-15 Patch 2025-4-15
-Update Added Visage to the AppDiff ignore list -Update Added Visage to the AppDiff ignore list