Notepad does not open good file content



  • Hello,
    When I open the file C:\Windows\System32\Recovery\ReAgent.xml with Notepad ++, the tags in the xml file are not filled in.
    But when I open the same file in Notepad or in command-line with “type” command, the files is ok.

    Why ?

    This is the content when I open with Notepad++ :
    <?xml version=‘1.0’ encoding=‘utf-8’ standalone=‘yes’?>
    <WindowsRE version=“2.0”>
    <WinreBCD id=""></WinreBCD>
    <WinreLocation path="" id=“0” offset=“0”></WinreLocation>
    <ImageLocation path="" id=“0” offset=“0”></ImageLocation>
    <PBRImageLocation path="" id=“0” offset=“0” index=“0”></PBRImageLocation>
    <PBRCustomImageLocation path="" id=“0” offset=“0” index=“0”></PBRCustomImageLocation>
    <InstallState state=“0”></InstallState>
    <OsInstallAvailable state=“0”></OsInstallAvailable>
    <CustomImageAvailable state=“0”></CustomImageAvailable>
    <WinREStaged state=“0”></WinREStaged>
    <ScheduledOperation state=“4”></ScheduledOperation>
    <OperationParam path=""></OperationParam>
    <OperationPermanent state=“0”></OperationPermanent>
    <OsBuildVersion path=""></OsBuildVersion>
    <OemTool state=“0”></OemTool>
    </WindowsRE>

    This is the content when I open with Notepad :
    <?xml version=‘1.0’ encoding=‘utf-8’?>

    <WindowsRE version=“2.0”>
    <WinreBCD id="{cc87fc53-ad3d-11e5-b9c0-c86000a49a9d}"/>
    <WinreLocation path="\Recovery\WindowsRE" id=“0” offset=“1048576” guid="{acfde031-f35f-4b7d-d52f-51108aa6e339}"/>
    <ImageLocation path="\Recovery\WindowsRE" id=“0” offset=“1048576” guid="{acfde031-f35f-4b7d-d52f-51108aa6e339}"/>
    <PBRImageLocation path="" id=“0” offset=“0” guid="{00000000-0000-0000-0000-000000000000}" index=“0”/>
    <PBRCustomImageLocation path="" id=“0” offset=“0” guid="{00000000-0000-0000-0000-000000000000}" index=“0”/>
    <InstallState state=“1”/>
    <OsInstallAvailable state=“0”/>
    <CustomImageAvailable state=“0”/>
    <IsAutoRepairOn state=“1”/>
    <WinREStaged state=“0”/>
    <OperationParam path=""/>
    <OperationPermanent state=“0”/>
    <OsBuildVersion path=“15063.0.amd64fre.rs2_release.170317-1834”/>
    <OemTool state=“1”/>
    <IsServer state=“0”/>
    <DownlevelWinreLocation path="" id=“0” offset=“0” guid="{00000000-0000-0000-0000-000000000000}"/>
    <IsWimBoot state=“0”/>
    <ScheduledOperation state=“4”/>
    </WindowsRE>

    Thanks in advance

    Kind regards
    Jeremy



  • Probably related to this.
    Porting 32 bit OS to 64 bit while maintaining compatability is tricky.


Log in to reply