Imaging via MR Rescue Media not skipping pagefile & hiberfil

Page 1 of 2 12 LastLast

  1. Posts : 201
    Windows 7 Professional x64, Arch Linux
       #1

    Imaging via MR Rescue Media not skipping pagefile & hiberfil


    I'm using Rescue Media created by Macrium Reflect Free 6.1.1311 to image a Windows 7 install. I installed to the entire disk so I have the 100MB Reserved partition and the OS partition consuming the remainder. When I select the entire disk for imaging, the resulting image contains both hiberfil.sys and pagefile.sys. This is despite using the "Intelligent Sector Copy" method which explicitly says
    Windows pagefile and suspend to disk (hibernation) files are not copied.
    The only non-standard option I chose was setting compression to none. I've never used MR before; any suggestions or ideas what I'm doing wrong? Thanks.
    Last edited by alphaniner; 31 May 2016 at 16:17.
      My Computer


  2. Posts : 1,851
    Windows 7 pro
       #2

    I'm not sure what MR is however the only thing that comes to mind is to disable hibernation and pagefile before doing the backup because disabling them gets rid of those files. I never keep hibernation enabled. Disable The Page File And Hibernation - Can You Get More Space Or Speed From Your SSD?
      My Computer


  3. Posts : 12,012
    Windows 7 Home Premium SP1, 64-bit
       #3

    Alpha:

    I'm using Reflect Free 6.1.1225 and have always used default medium compression.

    How did you find those files---with a DIR command?

    I just ran dir /s pagefile.sys and found nothing within 3 different images I've made in the last month or so.

    I have no idea what standard behavior is supposed to be--I've never checked before.

    I don't use hibernation, so would not expect to find that file in an image. I do use a page file however.

    I don't have a System Reserved, but I certainly wouldn't expect that to make a difference.

    Did you have this issue in prior MR builds?
      My Computer


  4. Posts : 201
    Windows 7 Professional x64, Arch Linux
    Thread Starter
       #4

    @townsbg
    Oops, MR = Macrium Reflect. OP updated.

    I probably would have done as you suggest if it hadn't explicitly indicated it would skip them. I only needed to make a few temporary images so it's not worth special effort, and disabling hibernation isn't an option in this particular case.

    @ignatzatsonic

    I've never used MR before. I initially noticed "something was amiss" because the size of the first image was the same as the used space on C:. I mounted the image and both files were there. It's significant because the files are 24 & 32 GB (default settings). I tried medium compression the second time around and the files were still stored, but at least the image was significantly smaller (13GB vs 70GB) and the process was faster.

    I guess I'll register on MR forums. I hate making new accounts, but if nothing else it should be reported in case it's a bug.
      My Computer


  5. mjf
    Posts : 5,969
    Windows 7x64 Home Premium SP1
       #5

    alphaniner said:
    the resulting image contains both hiberfil.sys and pagefile.sys. This is despite using the "Intelligent Sector Copy" method which explicitly says
    Windows pagefile and suspend to disk (hibernation) files are not copied.
    When you mount the image are these empty? If not then I am surprised.
      My Computer


  6. Posts : 201
    Windows 7 Professional x64, Arch Linux
    Thread Starter
       #6

    I assume you're not inquiring after their contents.

    Their sizes are 24 & 32 GB, and they're not sparse files or such. The proof is in the backup: an uncompressed image of the disk (C: and Reserved) is ~70GB, and C: has ~70GB used.
      My Computer


  7. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #7

    On the Macrium Forum they say the hiberfil.sys and pagefile.sys are empty in the image file, if it is created while running Windows.
    I don't believe this.
    I browsed a MR image in Windows, copied the pagefile to a temp folder, opened it with notepad, and i see data in the file.

    There is a way to exclude files from being included in an image created while running Windows.
    It requires adding some registry keys.
    If anyone wants to see the reg keys, let me know and i'll post it.

    I just added keys to exclude these files and created an image.
    When i browse that image, the files are not there, and the mounted image is several GB smaller than the drive i just imaged.

    Here's a couple Macrium threads about this:
    Macrium Support Forum - Hiberfil.sys and Pagefile.sys
    Macrium Support Forum - Pagefile being included?
      My Computer


  8. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #8

    ignatzatsonic said:
    Alpha:

    I'm using Reflect Free 6.1.1225 and have always used default medium compression.

    How did you find those files---with a DIR command?

    I just ran dir /s pagefile.sys and found nothing within 3 different images I've made in the last month or so.

    I have no idea what standard behavior is supposed to be--I've never checked before.

    I don't use hibernation, so would not expect to find that file in an image. I do use a page file however.

    I don't have a System Reserved, but I certainly wouldn't expect that to make a difference.

    Did you have this issue in prior MR builds?
    To see these files you would have to temporarily change your Explorer folder options to show hidden and protected files.
      My Computer


  9. Posts : 201
    Windows 7 Professional x64, Arch Linux
    Thread Starter
       #9

    Thanks for the links. From the second link, this is a known issue for years it seems. Seems like that's my solution.

    An empty file (nothing but zeroes) should compress quite spectacularly, so it's not a terrible solution I suppose. It could be the file you looked at just had a small "header" of data and the rest was empty. In any case I'm only interested in the Rescue Media, which despite the issue is pretty impressive. I'm kind of curious if those keys can affect the WinPE environment.
      My Computer


  10. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #10

    It's my understanding the PE environment can't use the reg keys, so the registry tweak will only work when creating the image while running Windows.

    I could see enough in the pagefile with Notepad to know it's not just header info.
    Most of it is unreadable, but some parts do display as readable text.
      My Computer


 
Page 1 of 2 12 LastLast

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

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