error in OOBE EULA after removing RamDisk Z:

Ming Liang 21 Reputation points
2021-02-03T02:27:45.087+00:00

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
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,717 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,948 questions
0 comments No comments
{count} votes

Accepted answer
  1. Joy Qiao 4,901 Reputation points Microsoft Employee
    2021-02-05T08:53:28.817+00:00

    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.

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Joy Qiao 4,901 Reputation points Microsoft Employee
    2021-02-03T07:51:49.697+00:00

    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.

    0 comments No comments

  2. Ming Liang 21 Reputation points
    2021-02-03T09:23:32.107+00:00

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

    0 comments No comments

  3. Ming Liang 21 Reputation points
    2021-02-03T09:28:43.377+00:00

    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]

    0 comments No comments

  4. Ming Liang 21 Reputation points
    2021-02-22T02:20:23.023+00:00

    I successfully uninstalled the RamDisk by resetting the PC.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.