Page 1 of 1

Phone disk preparation failed. Cannot prepare the phone for the deployment.

Posted: Tue Apr 16, 2019 9:59 am
by henkje
When i am deploying on my lumia 950 xl i get this error:
Tried 4 times now, and still getting this error. Tried with the 1903 and the 1809 image.
Logs:
Please help.

Re: Phone disk preparation failed. Cannot prepare the phone for the deployment.

Posted: Fri Apr 19, 2019 7:43 am
by Baorn
Hey,
i get the same Error on the 950XL.

Looks like the Phone Reregisters during deployment in Mass Storage Mode, but Windows cant start the drivers.
Look at the Hardware Manager there should be an unknown device. I didn´t find a fix for this either :/

Re: Phone disk preparation failed. Cannot prepare the phone for the deployment.

Posted: Thu Apr 25, 2019 12:36 pm
by marrsf
hI,

I Got the same error with the 950 NonXL.
Heres the log:

Code: Select all

2019-04-21 17:46:49.572 -03:00 [Error] An error has occurred
System.ApplicationException: The execution of the script 'Get-Disk' failed
   em Deployer.NetFx.PowerShellMixin.<ExecuteScript>d__0.MoveNext() na D:\a\1\s\Source\DeployerPlatform\Deployer.NetFx\PowerShellMixin.cs:linha 18
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Deployer.NetFx.DiskApi.<GetDisks>d__1.MoveNext() na D:\a\1\s\Source\DeployerPlatform\Deployer.NetFx\DiskApi.cs:linha 23
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Deployer.Lumia.Phone.<GetDeviceDiskCore>d__15.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Deployer.Lumia.Phone.<GetDeviceDisk>d__14.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Deployer.Lumia.Phone.<GetModel>d__8.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Deployer.Lumia.WoaDeployer.<Deploy>d__5.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Deployer.Lumia.Gui.ViewModels.DeploymentViewModel.<Deploy>d__11.MoveNext() na D:\a\1\s\Source\Deployer.Lumia.Gui\ViewModels\DeploymentViewModel.cs:linha 63

Re: Phone disk preparation failed. Cannot prepare the phone for the deployment.

Posted: Fri Apr 26, 2019 2:48 pm
by n1203
Run WOA-Deployer as administrator. set Compatibility -> Run as Administrator.

Re: Phone disk preparation failed. Cannot prepare the phone for the deployment.

Posted: Sat May 04, 2019 2:07 pm
by anthonws
This is a known issue. Use a previous version o WOA Deployer. A fix should be added in the near future.

Re: Phone disk preparation failed. Cannot prepare the phone for the deployment.

Posted: Thu May 09, 2019 10:44 pm
by Ameowli
Should be fixed with the 2.5.1 release!