Event 4502 WinREAgent on Windows 11: How to Fix

Event 4502 appears in Event Viewer and it's usually harmless

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • You might get Event 4502 to appear on your PC after a Windows Update.
  • You can get rid of it by recreating the recovery partition or by removing updates.
Event 4502

Several users reported the Event 4502 WinREAgent message on their PC, and even though this error didn’t cause any issues, it still had users worried.

In today’s guide, we’re going to take a closer look at this error, see what it means, and show you a few potential methods you can use to fix it.

What is the event ID 4502?

  • This is an error message that appears in Event Viewer.
  • It’s usually caused by a Windows Update.
  • A recovery partition that’s too small can give you this error.

How do I fix event 4502 WinREAgent on Windows 11?

1. Perform a system restore

  1. Press the Windows key + R and enter rstrui.
    rstrui command Restore point Taskbar Thumbnail Preview Disappears too Quickly on Windows 11
  2. This will open the System Restore window. Click on Next.
  3. Select the desired restore point and click Next.
  4. Follow the instructions on the screen to complete the process.

2. Remove recent Windows updates

  1. Press the Windows key + I to open the Settings app.
  2. Next, select Windows Update and choose Update history.
    update history steamwebhelper.exe
  3. Select Uninstall updates.
    uninstall updates to fix 0xc000009a
  4. Select the update you want to remove, click Uninstall, and follow the instructions on the screen.
    how to uninstall windows 11 update button

3. Change the size of the recovery partition

Note icon NOTE
This is an advanced solution and you’re using it at your own risk. We’re not responsible for any issues that might occur.
  1. Press the Windows key + S and type cmd. Select Run as administrator.
    CMD elevated -Valorant Not Uninstalling on Windows 11
  2. Run the following command to see the info regarding the recovery partition and be sure to save this information since you’ll need it later: reagentc /info
    ย 
  3. Next, you need to disable this feature by running reagentc /disable

Now we need to remove the recovery partition by doing the following:

  1. In the same command line run: diskpart
  2. Next, you need to show all available drives with list disk
  3. Select the disk where your OS is installed. In our example it’s the number 0, so we used: sel disk 0
  4. List all partitions with list part
  5. Now select your system partition. In our example that’s number 3, so we used sel part 3
  6. Now shrink the partition with the following command: shrink Desired=500 Minimum=500
  7. Select the system recovery partition. On our PC that’s number 5, so we used: sel part 5
  8. Now delete it by running: delete partition override
  9. Create a new partition with create partition primary
  10. Next, format the drive with the following command: format fs=ntfs quick
  11. Run the following commands to assign the attributes and drive letter:
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001
    assign letter=R
  12. Exit diskpart with exit

Lastly, we need to recreate the recovery partition:

  1. Now copy the necessary data with these commands:
    mkdir R:\Recovery\WindowsRE
    xcopy /h C:\Windows\System32\Recovery\Winre.wim R:\Recovery\WindowsRE
    reagentc /setreimage /path R:\Recovery\WindowsRE /target C:\Windows
  2. Enable WinRE with the following command: reagentc.exe /enable
  3. Lastly, check if WinRE is on the right partition by running reagentc.exe /info

Event 4502 is usually just a message in Event Log and if it doesn’t cause you any problems, you shouldn’t try to fix it. Removing updates can temporarily help, but if the issue reappears, you might have to change the size of the recovery partition.

To better understand this issue, we suggest reading our guide on the $WinREAgent folder. Unfortunately, these aren’t only event issues, and many reported Event ID 16 and Event ID 4663, but we covered those in earlier guides.

Did you ever encounter event 4502 WinREAgent and how did you fix it? Share your solutions with us in the comments below.

More about the topics: error, Event Viewer

User forum

0 messages