Closed yckbrd closed 1 year ago
The error is not rooted network access denial as it might seem on the first look. The files are copied without problems. The error comes from an erronous variable which is returned after the execution of Get-PSDContent
which includes the output of Copy-PSDFolder
. Strangely this only happens when Get-PSDContent
is called whithin the script. When I tried the command $control = Get-PSDContent -Content "Control"
manually in a separate window the variable was fine.
Adding | out-null
to Get-PSDContentUNC -content $content -destination $dest
in PSDDeploymentShare.psm1
(Line 212) fixed the issue for me.
Probably it's the output from xcopy #49 However a new version was just released. In this version the xcopy output is nulled.
The error is not rooted network access denial as it might seem on the first look. The files are copied without problems. The error comes from an erronous variable which is returned after the execution of
Get-PSDContent
which includes the output ofCopy-PSDFolder
. Strangely this only happens whenGet-PSDContent
is called whithin the script. When I tried the command$control = Get-PSDContent -Content "Control"
manually in a separate window the variable was fine.Adding
| out-null
toGet-PSDContentUNC -content $content -destination $dest
inPSDDeploymentShare.psm1
(Line 212) fixed the issue for me.
Can you please provide the Bootstrap.ini settings for the deployment share? My understanding from the shots above is that you're using the UNC path of the Deployment Share but this method is not supported, you have to use the http/https based url of your Deployment Share. The boot media must be rebuild after any change in BootStrap.ini by right-clicking on the Deployment Share in the Deployment Workbench UI and selecting "Update Deployment Share". The solution contains all the needed scripts to prepare the infrastructure (IIS, Standalone CA) to support https based installations, you will find them in the Tools folder of PSD.
And check the guidance provided here too https://github.com/FriendsOfMDT/PSD/issues/54#issuecomment-1294141151.