reagentc command - output not what I was expecting  

Page 1 of 3 123 LastLast

  1. Posts : 14,009
    Windows 11 Pro X64 22H2 22621.1848
       #1

    reagentc command - output not what I was expecting


    When I run reagentc /info, I get

    reagentc /info
    REAGENTC.EXE: A target Windows installation must be specified.

    If I specify a target then I get this:

    reagentc /info /target c:\windows
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:

    Windows RE status: Disabled
    Windows RE location:
    Boot Configuration Data (BCD) identifier: 3b77bd07-e7cb-11e9-b6d5-cc1a1ad1e57d
    Recovery image location:
    Recovery image index: 0
    Custom image location:
    Custom image index: 0

    REAGENTC.EXE: Operation Successful.

    First, I shouldn't have to specify a target. 2nd, why is it disabled, it never was before, though I suspect I may have caused this by playing around trying to get Macrium Reflect as a bootable selection when I reboot. Been using BCDedit, UEFUedit, BootIce and Macrium so I may have caused this. If so, what is wrong and how do I fix it.
      My Computers


  2. Posts : 18,319
    Windows 11 Pro
       #2

    Where is your winre.wim file located? What happens when your run reagentc /enable?
    Attached Thumbnails Attached Thumbnails reagentc command - output not what I was expecting-capture.jpg  
      My Computer


  3. Posts : 14,009
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #3

    reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:

    Windows RE status: Disabled
    Windows RE location:
    Boot Configuration Data (BCD) identifier: 3b77bd07-e7cb-11e9-b6d5-cc1a1ad1e57d
    Recovery image location:
    Recovery image index: 0
    Custom image location:
    Custom image index: 0

    REAGENTC.EXE: Operation Successful.


    C:\Users\ztruk>reagentc /enable
    REAGENTC.EXE: Unable to update Boot Configuration Data.

    reagentc command - output not what I was expecting-image.png

    Is it supposed to be in C:\Windows\Recovery? Can I tell reagentc where it actually is?
      My Computers


  4. Posts : 14,009
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #4

    Okay, I did the following:

    Code:
    C:\Users\ztruk>REAGENTC.EXE /setreimage /path C:\Windows\System32\Recovery
    Directory set to: \\?\GLOBALROOT\device\harddisk0\partition4\Windows\System32\Recovery
    
    REAGENTC.EXE: Operation Successful.
    
    C:\Users\ztruk>reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Disabled
        Windows RE location:
        Boot Configuration Data (BCD) identifier: 3b77bd07-e7cb-11e9-b6d5-cc1a1ad1e57d
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    
    C:\Users\ztruk>reagentc /enable
    REAGENTC.EXE: Operation Successful.
    
    C:\Users\ztruk>reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Enabled
        Windows RE location:       \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
        Boot Configuration Data (BCD) identifier: 6f4cbffc-4fad-11ea-bc87-448a5b06acdb
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    so it looks like that's fixed.

    How do I test it?
      My Computers


  5. Posts : 18,319
    Windows 11 Pro
       #5

    Hold down shift key and click restart.
      My Computer


  6. Posts : 14,009
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #6

    Ah, right, Advanced Boot options stuff. Thanks. Will do.
      My Computers


  7. Posts : 14,009
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #7

    Nope, doesn't do anything, normal boot.

    Booted to Safe Mode then Shift Restart works as it should.
      My Computers


  8. Posts : 18,319
    Windows 11 Pro
       #8

    Not much more can be done if reagentc /info shows an active recovery environment:

    Code:
    C:\Windows\system32>reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Enabled
        Windows RE location:       \\?\GLOBALROOT\device\harddisk3\partition4\Recovery\WindowsRE
        Boot Configuration Data (BCD) identifier: b61ae84c-4fa7-11ea-af4c-d0c5d3fde3d6
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
      My Computer


  9. Posts : 14,009
    Windows 11 Pro X64 22H2 22621.1848
    Thread Starter
       #9

    Wonder why it works in Safe Mode but not normal boot? I have been messing with the BCD trying to get a working Macrium boot partition, wonder if that has anything to do with it. I've added and removed the Boot menu entry for Macrium Rescue twice now. Didn't work with or without that Boot menu entry.

    What does reagentc /info look like for you?
      My Computers


  10. Posts : 18,319
    Windows 11 Pro
       #10

    Ztruker said:
    What does reagentc /info look like for you?
    I just posted mine one post above.
      My Computer


 

  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 00:06.
Find Us




Windows 10 Forums