When using Machine Creation Service to create virtual desktops within XenDesktop 7 the following error can occur:

image

And this is the output of the log:

Error Id: XDDS:07E48AB2

Exception:

Citrix.Console.Models.Exceptions.ScriptException Failed to copy the snapshot image /mtd1.vm/base.snapshot/MCS Ready.snapshot to the storage referenced by the Resources Hyper-V1.

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.

ProvisioningSchemeTask.WaitForProvisioningSchemeActionCompletion(Guid taskId, Action`1 actionResultsObtained)

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.’

ProvisioningSchemeCreationTask.StartProvisioningAction()

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.

ProvisioningSchemeCreationTask.RunTask()

at Citrix.Console.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()

DesktopStudio_ErrorId : UnknownError

ErrorCategory : NotSpecified

ErrorID : DiskConsolidationFailed

DesktopStudio_PowerShellHistory : Create Machine Catalog ‘XenDesktop Pooled Dynamic MCS’

27.08.2013 10:31:25

Get-ConfigServiceStatus -AdminAddress ‘ddc1:80’

Get-LogSite -AdminAddress ‘ddc1:80’

Start-LogHighLevelOperation -AdminAddress ‘ddc1:80’ -Source ‘Studio’ -StartTime 27.08.2013 08:31:25 -Text ‘Create Machine Catalog `’XenDesktop Pooled Dynamic MCS`”

New-BrokerCatalog -AdminAddress ‘ddc1:80’ -AllocationType ‘Random’ -Description ‘XenDesktop Pooled Dynamic MCS’ -IsRemotePC $False -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -MinimumFunctionalLevel ‘L7’ -Name ‘XenDesktop Pooled Dynamic MCS’ -PersistUserChanges ‘Discard’ -ProvisioningType ‘MCS’ -Scope @() -SessionSupport ‘SingleSession’

New-AcctIdentityPool -AdminAddress ‘ddc1:80’ -AllowUnicode -Domain ‘testad.uibk.ac.at’ -IdentityPoolName ‘XenDesktop Pooled Dynamic MCS’ -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -NamingScheme ‘ZVDI-P02-C1##’ -NamingSchemeType ‘Numeric’ -OU ‘OU=stateless,OU=Computer,OU=VDI,OU=OUhosting,DC=testad’ -Scope @()

Set-BrokerCatalogMetadata -AdminAddress ‘ddc1:80’ -CatalogId 10 -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -Name ‘Citrix_DesktopStudio_IdentityPoolUid’ -Value ’35b78302-a071-4e91-956a-e264b3e3764c’

Test-ProvSchemeNameAvailable -AdminAddress ‘ddc1:80’ -ProvisioningSchemeName @(‘XenDesktop Pooled Dynamic MCS’)

New-ProvScheme -AdminAddress ‘ddc1:80’ -CleanOnBoot -HostingUnitName ‘Hyper-V1’ -IdentityPoolName ‘XenDesktop Pooled Dynamic MCS’ -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -MasterImageVM ‘XDHyp:\hostingunits\Hyper-V1\mtd1.vm\base.snapshot\MCS Ready.snapshot’ -NetworkMapping @{0=’xdhyp:\hostingunits\Hyper-V1\\VLAN_260.network’;1=’xdhyp:\hostingunits\Hyper-V1\\VLAN_260.network’} -ProvisioningSchemeName ‘XenDesktop Pooled Dynamic MCS’ -RunAsynchronously -Scope @() -VMCpuCount 2 -VMMemoryMB 1024

 

To fix this issue do the following:

1. On all the Desktop Delivery Controllers (DDC) open a Administrative PowerShell window and enter: Enable-wsmancredssp -Role Client –DelegateComputer *

2. On the Hyper-V host enter: Enable-wsmancredssp -Role Client –DelegateComputer *

3. Go to Citrix Studio and go to Configuration and click on Hosting, click on Test Resources

image

The tests now run successful and the Machine Creation Wizard can be started.

Also see Citrix article http://support.citrix.com/article/CTX137465 for more background information.

 

Can’t get the solution to work? Contact me and let me do the trick.

 

 

 

Categories:

Comments are closed