The volume for a file has been externally altered so that the opened

Page 1 of 2 12 LastLast

  1. Posts : 52
    linux
       #1

    The volume for a file has been externally altered so that the opened


    Hello to everyone.


    At the beginning I'd installed windows 10 with the legacy BIOS-MBR boot mode,but since I needed a Windows 10 installation that was able to boot using the EFI partition style,I have converted the partition scheme from MBR to UEFI with a tool and after this operation I have reinstalled Windows 10 from an old backup. This backup comes from the old BIOS/MBR installation of Windows 10. When I tried to boot Windows,I realized that it was not able to do that (no error message.but blinking cursor). I have so realized that the EFI partition didn't exist. So,I have created a new FAT32 partition and I have repaired the EFI partition following this guide :


    How to Restore Deleted EFI System Partition in Windows 10? | Windows OS Hub


    it worked,but only partially. Infact,since I need to put the "TESTSIGNING ON",when I gave this command :


    Code:
    Bcdedit.exe -set TESTSIGNING ON

    I've got this error :


    The boot configuration data store could not be opened. The volume for a file has been externally altered so that the opened file is no longer valid.


    I tried a lot of methods to fix it,but right now unsuccesfully. Can someone help me ? thanks.
      My Computer


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

    First, it would help us to see the result of a few commands. If you can boot from a Windows USB flash drive and open a command prompt, the commands would be:

    diskpart
    list volume
    list disk
    select disk 0
    list part

    Code:
    C:\WINDOWS\system32>diskpart
    
    Microsoft DiskPart version 10.0.20190.1000
    
    Copyright (C) Microsoft Corporation.
    On computer: JOHN-LAPTOP
    
    DISKPART> list volume
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     E                NTFS   Partition    128 GB  Healthy
      Volume 1     C   Windows 10   NTFS   Partition    348 GB  Healthy    Boot
      Volume 2                      FAT32  Partition    100 MB  Healthy    System
      Volume 3     D   Data         NTFS   Partition    468 GB  Healthy
      Volume 4     R   RECOVERY     FAT32  Partition      8 GB  Healthy
    
    DISKPART> list disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          476 GB  1024 KB        *
      Disk 1    Online          476 GB      0 B        *
    
    DISKPART> select disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> list part
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    System             100 MB  1024 KB
      Partition 2    Reserved            16 MB   101 MB
      Partition 3    Primary            128 GB   117 MB
      Partition 4    Primary            348 GB   128 GB
      Partition 5    Recovery           517 MB   476 GB
    We need to see the output of those commands. What you need to do is reformat the FAT32 EFI System Partition you created, assign a drive letter to it, and then run a bcdboot command to write the BCD to it. An example of the bcdboot command would be:

    bcdboot C:\Windows /s T: /f UEFI

    That would assume that your Windows partition is assigned drive letter C: and you assigned drive letter T: to the reformatted EFI System Partition.
      My Computer


  3. Posts : 52
    linux
    Thread Starter
       #3

    below u can see that I gave the commands like you suggested :

    The volume for a file has been externally altered so that the opened-1-whatsapp-image-2020-09-19-19.11.28.jpegThe volume for a file has been externally altered so that the opened-2-whatsapp-image-2020-09-19-19.12.26.jpegThe volume for a file has been externally altered so that the opened-3-whatsapp-image-2020-09-19-19.12.49.jpegThe volume for a file has been externally altered so that the opened-4-whatsapp-image-2020-09-19-19.13.34.jpeg

    keep in consideration that windows is on drive E: and the EFI partition on drive Z:. The reinstallation of the EFI boot files worked great and now I'm using windows,but I still get the same error :

    The volume for a file has been externally altered so that the opened-whatsapp-image-2020-09-19-19.25.25.jpeg
      My Computer


  4. Posts : 18,443
    Windows 11 Pro
       #4

    See this tutorial:
    How to Enable or Disable Driver Signature Enforcement in Windows 10

    Also, is secure boot disabled?
    Last edited by NavyLCDR; 19 Sep 2020 at 14:04.
      My Computer


  5. Posts : 52
    linux
    Thread Starter
       #5

    yes. I keep it always disabled. There is only a way to permanently disable the driver signature and I have already did it,giving the command :

    Bcdedit.exe -set TESTSIGNING ON

    I have also tried this :

    λ bcdedit /set nointegritychecks on

    but the error is still the same :

    The boot configuration data store could not be opened.
    The volume for a file has been externally altered so that the opened file is no longer valid.
      My Computer


  6. Posts : 18,443
    Windows 11 Pro
       #6

    Try it in the recovery environment (RE):
    Go to start, power, then hold down shift when you click on restart.
    At the recovery menu, click Troubleshoot, then Advanced, then Command Prompt.

    Try the bcdedit command in that command prompt.

    You can also get into recovery options by selecting the Repair this computer option if you boot from a Windows 10 USB flash drive (or DVD).

    Also, are you absolutely sure the computer is booting from partition 1 on Disk 2 in UEFI mode? You have many drives installed in the computer and it may be booting from one of the other drives, and not in UEFI mode.
      My Computer


  7. Posts : 52
    linux
    Thread Starter
       #7

    yes,check the name : headless. previously it was on letter E: ,now is on C:

    The volume for a file has been externally altered so that the opened-screenshot_1.png

    - - - Updated - - -

    which bcdedit command should I issue on the Recovery Environment ?
      My Computer


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

    The testsigning on command. And your computer is not supposed to be booting from C: (headless). It's supposed to be booting from the EFI system partition. It's weird but the computer does not boot from the partition listed as "boot". The computer boots from the partition listed as "system"
      My Computer


  9. Posts : 52
    linux
    Thread Starter
       #9

    probably you didn't read this :

    How to Restore Deleted EFI System Partition in Windows 10? | Windows OS Hub

    where it says :

    list partition
    select partition 1
    format quick fs=fat32 label="System"

    this is what I did. I selected the EFI partition 1 on the disk 2,I have assigned to it the letter Z: and I have quick formatted it giving to it the label of "System" as explained on the tutorial. That EFI partition is now on the drive J ; you can see it from the picture above,displaying all my disks.

    - - - Updated - - -

    The volume for a file has been externally altered so that the opened-whatsapp-image-2020-09-19-22.24.40.jpeg
      My Computer


  10. Posts : 41,633
    windows 10 professional version 1607 build 14393.969 64 bit
       #10

    1) Please run:

    a) V2 > upload results directly into this thread
    BSOD - Posting Instructions
    How to Upload and Post Screenshots and Files at Ten Forums

    b) diskparinfo.bat
    Batch files for use in BSOD debugging

    c) tuneup.bat
    Batch files for use in BSOD debugging

    2) Open disk management > by default some columns are compressed > widen each Status and Volume > make sure the contents within the parenthesis are in full view and that none of the characters are cutoff > view disk 0 > widen this row as needed so that all of the characters are in full view > post an image into the thread
    Disk Management - How to Post a Screenshot of

    3) Download and install Minitool Partition Wizard > click launch > post an image of the results into this thread
    MiniTool Partition Wizard Free Edition - Free download and software reviews - CNET Download.com
    MiniTool Portable Partition Magic Brings Easier Disk Management
      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 10:28.
Find Us




Windows 10 Forums