-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BITS transfer -Dynamic flag over App Proxy #181
Comments
Where is your content hosted? The -Dynamic switch would fix issues with servers that don't support byte range requests. The main impact of adding that would be that interrupted downloads would end up starting over, rather than resuming from where they left off.
…________________________________
From: LOldfield ***@***.***>
Sent: Wednesday, September 18, 2024 12:00 AM
To: FriendsOfMDT/PSD ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [FriendsOfMDT/PSD] BITS transfer -Dynamic flag over App Proxy (Issue #181)
To make my PSD setup accessible from off-premise, I've proxied it using EntraID/Azure App Proxy by installing the agent on the server, configuring an application
To start with this worked perfectly, the WinPE client connects and validated without issue.
When it booted into Windows 10 and reached a powershell script containing "Get-PSDContent" I discovered that the files were enumerating, but transferring no data. All appeared as 0 bytes in explorer, meaning the RMM I was trying to pull did not install.
After some tinkering I discovered that adding the "-Dynamic" flag to Start-BitsTransfer:
Start-BitsTansfer $url -Authenticaion Ntlm -Credential (get-credential) -TransferType Download -Dynamic
Downloaded the folder fully.
Adding the -Dynamic flag to line 416 of the PSDDeploymentShare.psm1 file and rebuilding the ISO gets it working. I'm not sure what other implications this might have e.g in WinPE though. Aware that this is likely more a server than client issue, posting for awareness.
—
Reply to this email directly, view it on GitHub<#181>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEBSCGHUYFLRRDI25ABOGK3ZXEQHXAVCNFSM6AAAAABOM7DAYKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTEOBZGM4DIMQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To make my PSD setup accessible from off-premise, I've proxied it using EntraID/Azure App Proxy by installing the agent on the server, configuring an application
To start with this worked perfectly, the WinPE client connects and validated without issue.
When it booted into Windows 10 and reached a powershell script containing "Get-PSDContent" I discovered that the files were enumerating, but transferring no data. All appeared as 0 bytes in explorer, meaning the RMM I was trying to pull did not install.
After some tinkering I discovered that adding the "-Dynamic" flag to Start-BitsTransfer:
Start-BitsTansfer $url -Authenticaion Ntlm -Credential (get-credential) -TransferType Download -Dynamic
Downloaded the folder fully.
Adding the -Dynamic flag to line 416 of the PSDDeploymentShare.psm1 file and rebuilding the ISO gets it working. I'm not sure what other implications this might have e.g in WinPE though. Aware that this is likely more a server than client issue, posting for awareness.
The text was updated successfully, but these errors were encountered: