question

MingLiang-9480 avatar image
0 Votes"
MingLiang-9480 asked MingLiang-9480 answered

error in OOBE EULA after removing RamDisk Z:

Hi, Guys

I uninstalled the RamDisk Z: in Device Manager on Win10 and ran command “%WINDIR%\\system32\\sysprep\\sysprep.exe /generalize /oobe /reboot”, the oobe process is stuck in the following screen:

63285-oobe.jpg




Why removing a RamDisk can cause this problem, Is there any workaround for this? Thanks.

windows-10-generalwindows-10-setup
oobe.jpg (27.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JoyQiao-MSFT avatar image
0 Votes"
JoyQiao-MSFT answered

Hi,

I noticed the log recorded "Failed to correctly apply disk operation of type" it would be the reason of OOBE failed about disk. However, as Microsoft Q&A forum not support log analysis, so we would not able to provide further assistance on this log.

If you need log analysis support, please create a ticket.

I noticed other third party website says:
How do I uninstall RAMDisk?
The proper way to uninstall RAMDisk is via the Control Panel > Add/Remove Prograns, find and select RAMDisk, and click on ‘Uninstall’.

So I think it would have not big relation with remove action. But it would have relation with ramdisk itself.

Bests,
Joy.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JoyQiao-MSFT avatar image
0 Votes"
JoyQiao-MSFT answered

Hi,

As ramdisk have risk to cause a fragmentation for disk. We could try the following command line to clean the faulty entries in BCD store and check the issue again.

bcdedit /deletevalue {badmemory} badmemorylist

If the issue persists, I would recommend to format disk before perform sysprep to avoid issue caused by ramdisk.

Bests,

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MingLiang-9480 avatar image
0 Votes"
MingLiang-9480 answered

Thanks. JoyQiao. That command does not work. How should we safely remove RamDisk? OOBE is SUCCESS if RamDisk is not removed.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MingLiang-9480 avatar image
0 Votes"
MingLiang-9480 answered MingLiang-9480 published

Here is setuperr.log under C:\Windows\Panther\UnattendGC

2020-06-02 04:21:05, Error [ReAgentc.exe] WinReUnInstall failed: : 0x2
2020-06-02 04:30:59, Error [audit.exe] Failed to orchestrate reboot; hr = 0x8007045b
2020-06-02 04:31:56, Error [audit.exe] ScreenSaver:Was unable to disable screen saver
2020-06-02 04:39:54, Error [audit.exe] ScreenSaver:Was unable to disable screen saver
2020-06-02 04:43:41, Error [SETUPUGC.EXE] ApplyDiskOperationUsingService: Failed to correctly apply disk operation of type [0x8]; hr = 0x8004240e
2020-06-02 04:43:44, Error [msoobe.exe] WinRE not configured
2021-02-03 15:41:44, Error [msoobe.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
2021-02-03 15:41:46, Error [msoobe.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
2021-02-03 15:43:11, Error [CloudExperienceHostBroker.exe] Failed to begin WU ZDP search [hr=0x80070422]
2021-02-03 15:43:48, Error [ReAgentc.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1
2021-02-03 16:46:41, Error [audit.exe] ScreenSaver:Was unable to disable screen saver
2021-02-03 16:50:41, Error [msoobe.exe] COMMIT: failed for plugin LocalUser Plugin with hr=0x80070490
2021-02-03 16:54:39, Error [CloudExperienceHostBroker.exe] Failed to begin WU ZDP search [hr=0x80070422]
2021-02-03 16:59:47, Error [CloudExperienceHostBroker.exe] Failed to begin WU ZDP search [hr=0x80070422]
2021-02-03 17:01:33, Error [msoobe.exe] Failed to begin WU ZDP search [hr=0x80070422]
2021-02-03 17:01:33, Error [msoobe.exe] TASK: End failed running task ZDP with hr=0x80070422.
2021-02-03 17:01:50, Error [msoobe.exe] COMMIT: failed for plugin LocalUser Plugin with hr=0x80070490
2021-02-03 17:03:13, Error [CloudExperienceHostBroker.exe] Failed to begin WU ZDP search [hr=0x80070422]

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MingLiang-9480 avatar image
0 Votes"
MingLiang-9480 answered

I successfully uninstalled the RamDisk by resetting the PC.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.