Windows 10 seeing a bootable installation that doesn't really exist


  1. Posts : 55
    Windows 10 x64 up-to-date
       #1

    Windows 10 seeing a bootable installation that doesn't really exist


    I've had to reinstall Windows 10 Pro from scratch onto my main storage device (an NVMe drive) a number of times in recent months. One annoyance is that sometimes when booting it gives me a choice of Windows installs to boot from, however, there is only one actual installation (the new installed one). The other installation it sees must be an SSD that used to have a Windows 10 installation, but has had all its visible files removed. How do I fix this SSD so it will no longer be seen as a bootable Windows installation without losing the files/folders that I have put there? What/where is the hidden information (that doesn't show up when I make hidden files visible)?
      My Computer


  2. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    GregJ7 said:
    One annoyance is that sometimes when booting it gives me a choice of Windows installs to boot from, however, there is only one actual installation (the new installed one).
    Click the Start button and type msconfig to run the System Configuration utility. On the Boot tab you can select and delete this redundant extra boot option.

    How to Delete Boot Loader Entry on Boot Menu at Startup in Windows
      My Computers


  3. Posts : 55
    Windows 10 x64 up-to-date
    Thread Starter
       #3

    Yes, that is what I did to fix the annoyance. But why was it in the boot list in the first place? There is no \Windows\ Folder on the other drive, for example.
      My Computer


  4. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    GregJ7 said:
    Yes, that is what I did to fix the annoyance. But why was it in the boot list in the first place? There is no \Windows\ Folder on the other drive, for example.

    This can happen when you do an install with another system already installed. You say you removed 'visible files' but did you remove hidden system files from the old C: drive? And what about the hidden recovery partition (and EFI boot partition if it's a UEFI system)?. Seems you left enough clues behind for Setup to think there was another system still installed, so it set up dual-boot.
      My Computers


  5. Posts : 4,594
    Windows 10 Pro
       #5

    Did you delete the entire drive to unallocated space ?
      My Computers


  6. Posts : 55
    Windows 10 x64 up-to-date
    Thread Starter
       #6

    Aha


    @AddRAM, for the new install, yes.

    Bree said:
    This can happen when you do an install with another system already installed. You say you removed 'visible files' but did you remove hidden system files from the old C: drive? And what about the hidden recovery partition (and EFI boot partition if it's a UEFI system)?. Seems you left enough clues behind for Setup to think there was another system still installed, so it set up dual-boot.
    Aha, this is what info I was looking for. I have attached a snapshot from Disk Management. I do not know what is actually kept in "System Image," "EFI System Partition," or even whether the MBR is always on the "SSD 1TB" partition. Can I delete the "EFI System Partition" (and/or "System Image" partition?) without losing the data or access to it on "SSD 1TB?"

    I also stumbled on the fact that swapfile.sys, pagefile.sys, and hiberfil.sys are still in its root directory. I happened to be using 7-Zip which showed them. I found no other way to actually see these super-hidden files. Can I delete any of them?
    Edit: I now see that attrib from the command line shows pagefile.sys and swapfile.sys, but not hiberfil.sys. Presumably they are invisible because of the "S"ystem attribute and not just the "H"idden attribute. I still don't know how to just use Windows 10 to show me there is a hiberfil.sys there.
    Attached Thumbnails Attached Thumbnails Windows 10 seeing a bootable installation that doesn't really exist-disk-management-snapshot.jpg  
      My Computer


  7. Posts : 18,432
    Windows 11 Pro
       #7

    Disk 0 still has an EFI System Partition. That's your problem. Delete that partition.
      My Computer


  8. Posts : 31,657
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #8

    GregJ7 said:
    I also stumbled on the fact that swapfile.sys, pagefile.sys, and hiberfil.sys are still in its root directory. I happened to be using 7-Zip which showed them. I found no other way to actually see these super-hidden files. Can I delete any of them?

    Edit: I now see that attrib from the command line shows pagefile.sys and swapfile.sys, but not hiberfil.sys. Presumably they are invisible because of the "S"ystem attribute and not just the "H"idden attribute. I still don't know how to just use Windows 10 to show me there is a hiberfil.sys there.


    In File Explorer it is easy to tick the box to show hidden items, but to see system files too you need to open Options and un-tick the box for 'Hide protected operating system files (Recommended)' on the View tab.

    Windows 10 seeing a bootable installation that doesn't really exist-image.png
      My Computers


  9. Posts : 6,319
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #9

    Disk 0 once had Windows installed as UEFI - GPT. Although it has no more Windows on it, it still has the EFI partition with the boot loader.

    Disk 1 has Windows installed as Legacy - MBR. (you should have installed as UEFI - GPT. You can convert it to UEFI - GPT)

    To get rid of the remains of Windows on disk 0
    - As NavyLCDR said, delete the EFI partition and then expand the System Image partition. Use Partition Wizard to delete and expand the System Image partition
    - Delete swapfile.sys, pagefile.sys, and hiberfil.sys on disk 0. Follow Bree instructions to make them visible than delete them.
    Last edited by Megahertz; 07 Mar 2020 at 18:37.
      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 12:36.
Find Us




Windows 10 Forums