Error: Phone disk preparation failed

Stuck at some Point? Your Lumia is already dead? Maybe others can help you!
Post Reply
pgeraldes
Posts: 1
Joined: Tue Jul 13, 2021 6:02 pm

Error: Phone disk preparation failed

Post by pgeraldes » Tue Jul 13, 2021 6:18 pm

Hi there, im having trouble installing win 10 on the device(lumia 950xl), every time i setup the deployment gives the error after instaling the develpment menu:

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

Windows mounted 3 partitions


d: MainOS 350mb free of 2,95Gb
f: EFIESP 19,6Mb free of 31,7MB
h: Data 24,4 gb free of 25,9 GB

Can someone help

Here´se the lines of the log:

2021-07-13 18:55:24.319 +01:00 [Debug] Rebuilding GPT...
2021-07-13 18:55:24.320 +01:00 [Debug] GPT rebuilt
2021-07-13 18:55:24.452 +01:00 [Error] Phone disk preparation failed
System.UnauthorizedAccessException: Acesso negado. (Excepção de HRESULT: 0x80070005 (E_ACCESSDENIED))
em System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
em Deployer.FileSystem.Gpt.DeviceStream.Write(Byte[] buffer, Int32 offset, Int32 count) em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\FileSystem\Gpt\DeviceStream.cs:line 346
em Deployer.FileSystem.Gpt.Handler.Commit() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\FileSystem\Gpt\Handler.cs:line 70
em Deployer.FileSystem.Gpt.GptContext.Dispose() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\FileSystem\Gpt\GptContext.cs:line 64
em Deployer.Lumia.ExistingDeploymentCleaner.<Clean>d__1.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\ExistingDeploymentCleaner.cs:line 28
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.LumiaDiskLayoutPreparer.<RemoveExistingPartitions>d__10.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\LumiaDiskLayoutPreparer.cs:line 58
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.LumiaDiskLayoutPreparer.<Prepare>d__6.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\LumiaDiskLayoutPreparer.cs:line 40
2021-07-13 18:55:24.458 +01:00 [Error] An error has occurred
System.ApplicationException: Phone disk preparation failed. Cannot prepare the phone for the deployment ---> System.UnauthorizedAccessException: Acesso negado. (Excepção de HRESULT: 0x80070005 (E_ACCESSDENIED))
em System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
em Deployer.FileSystem.Gpt.DeviceStream.Write(Byte[] buffer, Int32 offset, Int32 count) em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\FileSystem\Gpt\DeviceStream.cs:line 346
em Deployer.FileSystem.Gpt.Handler.Commit() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\FileSystem\Gpt\Handler.cs:line 70
em Deployer.FileSystem.Gpt.GptContext.Dispose() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\FileSystem\Gpt\GptContext.cs:line 64
em Deployer.Lumia.ExistingDeploymentCleaner.<Clean>d__1.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\ExistingDeploymentCleaner.cs:line 28
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.LumiaDiskLayoutPreparer.<RemoveExistingPartitions>d__10.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\LumiaDiskLayoutPreparer.cs:line 58
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.LumiaDiskLayoutPreparer.<Prepare>d__6.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\LumiaDiskLayoutPreparer.cs:line 40
--- Fim do rastreio da pilha de excepção interna ---
em Deployer.Lumia.LumiaDiskLayoutPreparer.<Prepare>d__6.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\LumiaDiskLayoutPreparer.cs:line 48
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Tasks.DeployWindows.<ExecuteCore>d__4.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\Tasks\DeployWindows.cs:line 27
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Execution.ScriptRunner.<Run>d__5.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\Execution\ScriptRunner.cs:line 45
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Execution.ScriptRunner.<Run>d__4.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\DeployerPlatform\Deployer\Execution\ScriptRunner.cs:line 28
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.WoaDeployer.<RunScript>d__15.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\WoaDeployer.cs:line 79
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.WoaDeployer.<RunDeploymentScript>d__14.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\WoaDeployer.cs:line 74
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Deployer.Lumia.WoaDeployer.<Deploy>d__12.MoveNext() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia\WoaDeployer.cs:line 44
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
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() em D:\Repos\WOA-Project\WOA-Deployer-Lumia\Source\Deployer.Lumia.Gui\ViewModels\DeploymentViewModel.cs:line 67
2021-07-13 18:55:24.459 +01:00 [Information] Error: Phone disk preparation failed. Cannot prepare the phone for the deployment
2021-07-13 18:55:51.206 +01:00 [Information]
0 x

Post Reply