View Issue Details

IDProjectCategoryView StatusLast Update
0000184WoR ImagerRaspberry Pi 4 (ARM64)public2022-12-03 19:07
Reporterrichard Assigned ToMario  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.3.0 
Summary0000184: WOR fails with "A required privilege is not held by the client" error
Description

In trying to create a SD card image, WOR fails, logging an "System.ComponentModel.Win32Exception (0x80004005): A required privilege is not held by the client" entry.

I tried running WOR normally, and also as an Administrator. Got the same results both times.

Steps To Reproduce

Run WOR.

I was trying to burn the image to an 16GB SD card.

Additional Information

The version of Windows on the computer is Windows 10, version 10.0.19044.1645.

TagsNo tags attached.

Activities

richard

richard

2022-04-27 02:10

reporter  

WOR Log2.txt (12,462 bytes)   
2022-04-22 20:19:40.7163 [info] Windows on Raspberry 64-bit (version 2.3.0)
2022-04-22 20:19:41.0050 [info] Copyright © 2018-2022 Mario Bălănică. All Rights Reserved.
2022-04-22 20:19:41.0290 [info] OS: Windows 10 Enterprise ver 2009 (19041.1.amd64fre.vb_release.191206-1406)
2022-04-22 20:19:41.0440 [info] OS language: en-US
2022-04-22 20:19:42.1005 [debug] Loaded configuration file:
2022-04-22 20:19:42.1215 [debug]   WizardBasicMode: 1
2022-04-22 20:19:42.1687 [debug]   SaveConfigOnExit: 0
2022-04-22 20:19:45.3582 [info] Loaded language: en-US
2022-04-22 20:19:45.8139 [info] Checking for updates...
2022-04-22 20:19:46.9851 [info] No updates found.
2022-04-22 20:19:52.0379 [info] Loading disks...
2022-04-22 20:19:53.4542 [info] Disk 1 - SDHC Card - Removable Media - 14 GB
2022-04-22 20:19:53.4709 [info] Disk 0 - Samsung SSD 860 QVO 1TB - Fixed hard disk media - 931 GB
2022-04-22 20:19:53.4849 [info] 2 disk(s) found
2022-04-22 20:19:58.0630 [info] Selected disk: Disk 1 - SDHC Card - Removable Media - 14 GB
2022-04-22 20:20:01.8310 [info] Selected disk: Disk 1 - SDHC Card - Removable Media - 14 GB
2022-04-22 20:20:02.9237 [info] Selected device: Raspberry Pi 4 / 400 [ARM64]
2022-04-22 20:22:51.4036 [info] Selected image (ISO): 19044.1620.220311-1803.VB_RELEASE_SVC_PROD3_CLIENTPRO_OEMRET_A64FRE_EN-US.ISO
2022-04-22 20:22:51.7405 [info] Mounting the ISO image...
2022-04-22 20:23:02.2809 [info] ISO file mounted on: E:\
2022-04-22 20:23:02.3013 [info] Found WIM image: E:\sources\install.wim
2022-04-22 20:23:02.9791 [info] Edition 1: Windows 10 Pro build 19041.1620
2022-04-22 20:23:02.9943 [info] Selected edition: Windows 10 Pro build 19041.1620
2022-04-22 20:23:07.1257 [info] Drivers package source: server
2022-04-22 20:23:07.2267 [info] Drivers package remote repository: worproject/RPi-Windows-Drivers
2022-04-22 20:23:07.5909 [debug] Verifying the local asset...
2022-04-22 20:23:07.6329 [debug] Local asset ID: "58822854"
2022-04-22 20:23:08.0580 [debug] Getting the latest release from "worproject/RPi-Windows-Drivers"
2022-04-22 20:23:09.4337 [debug] Release name: "Version 0.15", ID: "61186798"
2022-04-22 20:23:09.4467 [debug] Getting the latest asset from release "61186798"
2022-04-22 20:23:09.4587 [debug] Asset name filter: "RPi4_Windows_ARM64"
2022-04-22 20:23:09.4587 [debug] Asset name: "RPi4_Windows_ARM64_Drivers_v0.15.zip", ID: "58822854"
2022-04-22 20:23:09.4767 [debug] The local asset is up-to-date!
2022-04-22 20:23:09.7257 [info] UEFI package source: server
2022-04-22 20:23:09.7615 [info] UEFI package remote repository: pftf/RPi4
2022-04-22 20:23:10.0147 [debug] Verifying the local asset...
2022-04-22 20:23:10.0477 [debug] Local asset ID: "58816125"
2022-04-22 20:23:10.0477 [debug] Getting the latest release from "pftf/RPi4"
2022-04-22 20:23:10.2685 [debug] Release name: "v1.33", ID: "61174834"
2022-04-22 20:23:10.2685 [debug] Getting the latest asset from release "61174834"
2022-04-22 20:23:10.2870 [debug] Asset name: "RPi4_UEFI_Firmware_v1.33.zip", ID: "58816125"
2022-04-22 20:23:10.2990 [debug] The local asset is up-to-date!
2022-04-22 20:23:22.8869 [info] -- Installation details --
2022-04-22 20:23:22.9089 [info] Disk
2022-04-22 20:23:22.9245 [info]   Index: 1
2022-04-22 20:23:22.9415 [info]   Name: SDHC Card
2022-04-22 20:23:23.0154 [info]   Type: Removable Media
2022-04-22 20:23:23.0319 [info]   Size: 14
2022-04-22 20:23:23.0474 [info] Device
2022-04-22 20:23:23.0771 [info]   Type: RPi4-ARM64
2022-04-22 20:23:23.0771 [info] Image
2022-04-22 20:23:23.1055 [info]   Format: ISO
2022-04-22 20:23:23.1194 [info]   Index: 1
2022-04-22 20:23:23.1545 [info]   Name: Windows 10 Pro
2022-04-22 20:23:23.1845 [info]   Arch: ARM64
2022-04-22 20:23:23.2095 [info]   Build: 19041.1620
2022-04-22 20:23:23.2445 [info] Drivers package
2022-04-22 20:23:23.2605 [info]   FilePath: worproject/RPi-Windows-Drivers
2022-04-22 20:23:23.2740 [info]   ExtractedPath: \\ServerA\rlr\Adtec\Temp\Raspberry Windows\Windows 10\WoR_Release_2.3.0\res\drivers\RPi4-ARM64
2022-04-22 20:23:23.2890 [info] UEFI package
2022-04-22 20:23:23.3135 [info]   FilePath: pftf/RPi4
2022-04-22 20:23:23.3345 [info]   ExtractedPath: \\ServerA\rlr\Adtec\Temp\Raspberry Windows\Windows 10\WoR_Release_2.3.0\res\bootpackage\RPi4-ARM64
2022-04-22 20:23:23.3665 [info] Options
2022-04-22 20:23:23.3875 [info]   UseLZXCompression: False
2022-04-22 20:23:23.4025 [info]   PartitionScheme: GPT
2022-04-22 20:23:23.4445 [info]   ImageDeployer: WIMGAPI
2022-04-22 20:23:23.4606 [info]   MemoryLimit: 0
2022-04-22 20:23:23.4914 [info]   RecoveryEnabled: True
2022-04-22 20:23:23.5055 [info] Boot config
2022-04-22 20:23:23.5188 [info]   Path: \\ServerA\rlr\Adtec\Temp\Raspberry Windows\Windows 10\WoR_Release_2.3.0\res\bootpackage\RPi4-ARM64\_wor_boot_config.txt
2022-04-22 20:23:23.5393 [info]   Contents:
2022-04-22 20:23:23.5825 [info]      arm_64bit=1
2022-04-22 20:23:23.6072 [info]      enable_uart=1
2022-04-22 20:23:23.6207 [info]      uart_2ndstage=1
2022-04-22 20:23:23.6541 [info]      enable_gic=1
2022-04-22 20:23:23.6673 [info]      armstub=RPI_EFI.fd
2022-04-22 20:23:23.6816 [info]      disable_commandline_tags=1
2022-04-22 20:23:23.6992 [info]      disable_overscan=1
2022-04-22 20:23:23.7129 [info]      device_tree_address=0x1f0000
2022-04-22 20:23:23.7317 [info]      device_tree_end=0x200000
2022-04-22 20:23:23.7447 [info]      dtoverlay=miniuart-bt
2022-04-22 20:23:23.7626 [info]      dtoverlay=upstream-pi4
2022-04-22 20:23:23.7772 [info]      
2022-04-22 20:23:23.8085 [info] CompressionRequired: False
2022-04-22 20:23:23.8231 [info] -- End of installation details --
2022-04-22 20:23:23.8553 [info] The installation process has started!
2022-04-22 20:23:23.8940 [info] Disabling autorun (Windows format dialogs)...
2022-04-22 20:23:23.9294 [debug] Getting the NoDriveTypeAutoRun policy...
2022-04-22 20:23:23.9540 [debug] NoDriveTypeAutoRun policy value: null
2022-04-22 20:23:23.9968 [debug] Setting the NoDriveTypeAutoRun policy to: 255
2022-04-22 20:23:24.0148 [debug] Policy set successfully!
2022-04-22 20:23:24.0495 [info] Autorun disabled!
2022-04-22 20:23:24.0755 [info] Allocated partition letters:
2022-04-22 20:23:24.1160 [info] Windows partition: L
2022-04-22 20:23:24.1343 [info] Boot partition: M
2022-04-22 20:23:24.1976 [info] Formatting the target device...
2022-04-22 20:23:24.3064 [debug] Creating diskpart script with the following commands: select disk 1 , clean , exit
2022-04-22 20:23:24.3664 [debug] Launch diskpart.exe with the following arguments: /s "\\ServerA\rlr\Adtec\Temp\Raspberry Windows\Windows 10\WoR_Release_2.3.0\temp\diskpart.script"
2022-04-22 20:24:00.2316 [debug] diskpart.exe process output:
2022-04-22 20:24:00.2986 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.964

Copyright (C) Microsoft Corporation.
On computer: RLRLAP4

Disk 1 is now the selected disk.

DiskPart succeeded in cleaning the disk.

Leaving DiskPart...

2022-04-22 20:24:00.3216 [debug] Exit code: 0
2022-04-22 20:24:03.8482 [info] The target device has been erased!
2022-04-22 20:24:03.8662 [info] Creating the partitions...
2022-04-22 20:24:03.9238 [debug] Creating diskpart script with the following commands: select disk 1 , convert mbr , convert gpt , list partition , exit
2022-04-22 20:24:03.9675 [debug] Launch diskpart.exe with the following arguments: /s "\\ServerA\rlr\Adtec\Temp\Raspberry Windows\Windows 10\WoR_Release_2.3.0\temp\diskpart.script"
2022-04-22 20:24:23.6785 [debug] diskpart.exe process output:
2022-04-22 20:24:23.7195 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.964

Copyright (C) Microsoft Corporation.
On computer: RLRLAP4

Disk 1 is now the selected disk.

DiskPart successfully converted the selected disk to MBR format.

DiskPart successfully converted the selected disk to GPT format.

There are no partitions on this disk to show.

Leaving DiskPart...

2022-04-22 20:24:23.7345 [debug] Exit code: 0
2022-04-22 20:24:23.7495 [debug] Creating diskpart script with the following commands: select disk 1 , create partition primary size=128 , format fs=fat32 quick label=BOOT , assign letter=M , create partition msr size=16 , create partition primary , format fs=ntfs quick label=Windows , assign letter=L , exit
2022-04-22 20:24:23.7966 [debug] Launch diskpart.exe with the following arguments: /s "\\ServerA\rlr\Adtec\Temp\Raspberry Windows\Windows 10\WoR_Release_2.3.0\temp\diskpart.script"
2022-04-22 20:24:55.6995 [debug] diskpart.exe process output:
2022-04-22 20:24:55.7215 [debug] Standard output:

Microsoft DiskPart version 10.0.19041.964

Copyright (C) Microsoft Corporation.
On computer: RLRLAP4

Disk 1 is now the selected disk.

DiskPart succeeded in creating the specified partition.


    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
  100 percent completed
DiskPart successfully formatted the volume.

DiskPart successfully assigned the drive letter or mount point.

DiskPart succeeded in creating the specified partition.

DiskPart succeeded in creating the specified partition.


    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
    0 percent completed
  100 percent completed
DiskPart successfully formatted the volume.

DiskPart successfully assigned the drive letter or mount point.

Leaving DiskPart...

2022-04-22 20:24:55.7435 [debug] Exit code: 0
2022-04-22 20:24:55.9131 [info] The partitions have been created!
2022-04-22 20:24:56.0175 [info] Restoring autorun...
2022-04-22 20:24:56.0405 [debug] Setting the NoDriveTypeAutoRun policy to: null
2022-04-22 20:24:56.0845 [debug] Policy set successfully!
2022-04-22 20:24:56.1585 [info] Autorun restored!
2022-04-22 20:24:56.2335 [info] Applying the WIM image to: L
2022-04-22 20:24:56.2975 [trace] Started Windows Imaging
2022-04-22 21:53:23.5859 [error] File: L:\Users\All Users (1314)
2022-04-22 21:53:27.3749 [error] System.ComponentModel.Win32Exception (0x80004005): A required privilege is not held by the client
   at Microsoft.Wim.WimgApi.ApplyImage(WimHandle imageHandle, String path, WimApplyImageOptions options)
   at WoR.Wrappers.WIMGAPIWrapper.<>c__DisplayClass1_0.<ApplyImage>b__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WoR.Wrappers.WIMGAPIWrapper.<ApplyImage>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WoR.Setup.SetupProcess.<ApplyWimTask>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WoR.Setup.SetupProcess.<Run>d__20.MoveNext()
2022-04-22 21:53:27.4767 [warn] The installation could not be finished!
2022-04-22 21:53:27.5079 [info] Elapsed time: 01:30:03
WOR Log2.txt (12,462 bytes)   
Mario

Mario

2022-04-29 22:45

administrator   ~0000335

Try moving the files from the network drive to a local one. And disable any anti-virus software.

richard

richard

2022-05-03 16:58

reporter   ~0000340

That's seems to solve the issue.

Issue History

Date Modified Username Field Change
2022-04-27 02:10 richard New Issue
2022-04-27 02:10 richard File Added: WOR Log2.txt
2022-04-29 22:45 Mario Note Added: 0000335
2022-05-03 16:58 richard Note Added: 0000340
2022-12-03 19:07 Mario Assigned To => Mario
2022-12-03 19:07 Mario Status new => closed
2022-12-03 19:07 Mario Resolution open => fixed