Unable to Delete $WinREAgent Folder

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 534
    WIN 10 19045.4291
       #21

    This command lists just unused log-files
    C:\WINDOWS\system32>dir c:\*.etl /w/o/s/p
    This tells you if the recovery is enabled or not
    C:\WINDOWS\system32>reagentc /info

    ESD can be deleted
    the 34.000 items can be deleted also. But (!) be patient it can take 30 minutes!
    post screenshot of reagentc /command first
    The size of your Recovery Partition is ok.
    Last edited by Pentagon; 02 Mar 2024 at 13:04.
      My Computer


  2. Posts : 217
    Windows 10 Home
    Thread Starter
       #22

    dalchina said:
    - seems very large.
    On this 7 year old installation mine is 29GB
    My appologies. The 'Allocated' space is only 32GB. I was looking at the file size.

    - - - Updated - - -

    Pentagon said:
    This command lists just unused log-files
    C:\WINDOWS\system32>dir c:\*.etl /w/o/s/p
    This tells you if the recovery is enabled or not
    C:\WINDOWS\system32>reagentc /info

    ESD can be deleted
    the 34.000 items can be deleted also. But (!) be patient it can take 30 minutes!
    post screenshot of reagentc /command first
    The size of your Recovery Partition is ok.
    The dir command results in 19,961 files taking up 2,603,171,966 bytes
    Windows RE status: enabled.

    - - - Updated - - -

    Pentagon said:
    and run the above Dism command

    Index : 1
    Name : Microsoft Windows Recovery Environment (x64)
    Description : Microsoft Windows Recovery Environment (x64)
    Size : 2,384,740,255 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : <undefined>
    Version : 10.0.19041
    ServicePack Build : 1
    ServicePack Level : 1
    Edition : WindowsPE
    Installation : WindowsPE
    ProductType : WinNT
    ProductSuite :
    System Root : WINDOWS
    Directories : 3626
    Files : 16510
    Created : 07/12/2019 - 13:16:07
    Modified : 04/06/2020 - 08:40:28
    Languages :
    en-GB (Default)
      My Computers


  3. Posts : 534
    WIN 10 19045.4291
       #23

    Delete these etl-files first. Probably several hundred.
    C:\ProgramData\USOShared\Logs\System

    Then press <Shift> and <Start> <Reboot> and check if it reboots into Recovery. Wait till it really reboots and check if you can run the Command prompt.
    select Troubleshoot
    Advanced options
    Command Prompt

    or run cmd (admin)
    reagentc /boottore

    and reboot normally

    Edit:
    Your winre.wim has never been updated. So download a new ISO from MS or the last Media Creation Tool that we can replace/exchange the current winre.wim.
    What we also need is the programm 7z
    Last edited by Pentagon; 02 Mar 2024 at 18:30.
      My Computer


  4. Posts : 217
    Windows 10 Home
    Thread Starter
       #24

    Pentagon: You're heading well into unknown territory for me, which makes me very nervous. I did try the reboot, found the menu including 'Troubleshooting' / ' Advanced' / 'Command Prompt', but it came up with an error. Can't rebember exactly what the error was, but it had a couple of options incl. 'try again' and 'other opts.' Got to the list of other startups and selected 'safe mode'. I think it turned itself off then. Can't remember exactly. Bit pannicked. Reboots normally, though.
      My Computers


  5. Posts : 534
    WIN 10 19045.4291
       #25

    We have to exchange/replace the winre.wim
    Download an new ISO or Media Creation Tool (MCT) from MS
    Download 7z
    Run reagentc /disable
    The winre.wim is now here:
    C:\Windows\System32\Recovery
    Mount the ISO and run 7z as Administrator and navigate to:
    ...sources\install.esd\2\Windows\System32\Recovery
    Unable to Delete $WinREAgent Folder-2024-02-22_15-59-43.png
    Unable to Delete $WinREAgent Folder-2024-02-22_15-59-12.png
    Unable to Delete $WinREAgent Folder-2024-02-22_16-38-12.png

    Copy the Winre.wim and the ReAgent.xml to C:\Windows\System32\Recovery
    Unable to Delete $WinREAgent Folder-2024-01-11_183924.png
    Unable to Delete $WinREAgent Folder-2024-02-22_174515-1-.png
    When finished run
    reagentc /enable
      My Computer


  6. Posts : 217
    Windows 10 Home
    Thread Starter
       #26

    I appologise. I must seem incredibly naive. Is the MCT downloaded from here: https://www.microsoft.com/en-us/soft...load/windows10 and clicking on the 'Download Now' button? Or is there somewhere else I have to go? (I already have 7z.)
      My Computers


  7. Posts : 534
    WIN 10 19045.4291
       #27

    It's this:

    Unable to Delete $WinREAgent Folder-2024-03-03_085317.png

    select the ISO option
      My Computer


  8. Posts : 217
    Windows 10 Home
    Thread Starter
       #28

    Thank you. All this seemed to work perfectly.

    Updating winre.wim seemed to go fine. (I did try to rename the two files with .OLD, but the system wouldn't allow me to do it. So I just went a head and copied them accross without a problem.)

    The $WinREAgent folder is now at just a few kBs (not 0B, incidentally) and the Windows Update seems to have gone well.

    I'm still a little curious, though, why I wasn't able to delete the folder in the first place, even in the Admin account.

    Matt
      My Computers


  9. Posts : 4,556
    several
       #29

    Maybe it needs it needs higher permissions than admin.

    Nsudo or dism++ can be useful.

    dism++ Toolkit>File Explorer

    https://github.com/Chuyu-Team/Dism-M....1.1002.1B.zip

    Unable to Delete $WinREAgent Folder-dism-fileexplorer.jpg
      My Computer


  10. Posts : 217
    Windows 10 Home
    Thread Starter
       #30

    This seems to follow, as I couldn't get any permission to work. However, several threads from several forums suggests deleting it would not do any harm - implying that it was possible, perhaps even with no elevated permission. I also seem to remember doing it before.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:32.
Find Us




Windows 10 Forums