When publishing a Citrix App Layering image to PVS, you might get an error like this -
2017-03-28 11:46:51,994 ERROR 19 HandlerHelper: 'Application Error while processing 'Command' 'InvokePowerShellScriptCommand'': 'DefaultTitle="", MessageID="PowerShellSimpleError", {CategoryData={[PowerShellExceptionCategory { Command = "Start-BitsTransfer -DisplayName 'Unidesk Agent File Transfer: id=c2b5d790-13cd-11e7-b0b8-8175137493b2' -Source 'http://10.0.0.10:3009/api/FileTransfers/c2b5b080-13cd-11e7-b0b8-8175137493b2' -Destination 'E:\Store1\PVSimage_2017-03-28_11-46-51.vhd' -RetryInterval 60 -RetryTimeout 300 -Asynchronous", Message = "The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD)", ServerAddress = <null>, ExceptionType = "COMException" }]}' 2017-03-28 11:46:51,994 ERROR 19 HandlerHelper: Title: Error Message: The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD) Details:
[2017-03-28T10:31:12.304Z] ERROR: AgentClientService/1331 on localhost.localdomain: (reqNum=1575) Command failed, throwing: { "$type": "Uni.Core.Contract.Results.LocalizedError, Uni.Core", "Title": "Error", "Message": "The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD)", "Details": "", "CategoryData": { "$type": "Uni.Core.Contract.Results.PowerShellExceptionCategory, Uni.Core", "Command": "Start-BitsTransfer -DisplayName 'Unidesk Agent File Transfer: id=30fd0c10-13c3-11e7-9c7c-71b2212cd4ee' -Source 'http://10.0.0.10:3009/api/FileTransfers/30fce500-13c3-11e7-9c7c-71b2212cd4ee' -Destination 'E:\\Store1\\PVSimage_2017-03-28_10-31-11.vhd' -RetryInterval 60 -RetryTimeout 300 -Asynchronous", "Message": "The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. (Exception from HRESULT: 0x800704DD)", "ServerAddress": null, "ExceptionType": "COMException" }, "InnerError": null }