Macrium Registry Entry. Can anyone help with the correct syntax to construct this entry.


Mooly

Well-known member
Member
VIP
Local time
3:45 PM
Posts
410
OS
W11 Pro x64 24H2 Dev
I'm playing with trying to include the Windows Index File into a backup... I just want to crack this for my own satisfaction now as much as anything. This is all done on a test setup so no harm can be done.

I asked Macrium ages ago and the answer is out there but I'm struggling. Long story short. I've tried to add the entry manually using Regedit and it looked correct to me but it doesn't work as supposed and Windows still launches into rebuilding the index after a restore.

I thought now I would try and add the key using a reg file created in Notepad but I'm struggling (as in I don't know quite the syntax to use for the data and name) to do this.

Macrium say:

If you really want to exclude this writer then you can create the following registry entry:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\Reflect\ExcludedWriters
Name: MSSearch
Value: {CD3F2362-8BEF-46C7-9181-D62844CDC062}
Type: REG_SZ

My Notepad attempt looks like:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\Reflect\ExcludedWriters]
"Name"="MSSearch"
"Value"={CD3F2362-8BEF-46C7-9181-D62844CDC062}
"Type"="REG_SZ"

The key is actually present anyway in a Macrium install but the data is not. The file says it has worked with the key and data added to the registry but when I look the values are still the same i.e. default and not set.
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3593
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
My Notepad attempt looks like:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\Reflect\ExcludedWriters]
"Name"="MSSearch"
"Value"={CD3F2362-8BEF-46C7-9181-D62844CDC062}
"Type"="REG_SZ"

The key is actually present anyway in a Macrium install but the data is not. The file says it has worked with the key and data added to the registry but when I look the values are still the same i.e. default and not set.
@Mooly ,

The .reg is all wrong. It should be:
Name of the subkey = value of subkey in REG_RZ (String)
So in notepad, it would look like:

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\reflect\ExcludedWriters]
"MSSearch"="{CD3F2362-8BEF-46C7-9181-D62844CDC062}"
No need to reboot after the merge.
 
Last edited:

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Thanks but I'm just curious to try and in the first case get to work what Macrium suggest.

The default key is this:

Screenshot 2024-05-06 140746.png

And I would just like to create a reg file to add the modified values. When I entered them manually it didn't seem to do anything. Would merging them from a reg file be any different?

If I can be 100% sure I had done it correctly then I would ask Macrium again. I find the rebuilding of the index the single biggest annoyance with disk imaging. It is classed as a temporary cache and not essential to back up as it gets rebuilt anyway following a restore. The problem as many know is that Windows is just so slow to do this :)
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
The .reg is all wrong. It should be:

Brilliant, I'm going to give that a try on my test set up now :-)

Many thanks.
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
  • Like
Reactions: OAT
This looks promising @OAT thanks :cool:

I will need to do a backup and restore now to see if it works. First I will add a few hundred more files to index as this test setup has very few.


Screenshot 2024-05-06 141934.png
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
  • Like
Reactions: OAT
Argh. It has not worked. Image made and restored and index is wiped and needs to rebuild. Maybe things are different now compared to when I got the info and its a hack that no longer works.

I might ask Macrium again if only to solve the puzzle.

Screenshot 2024-05-06 144316.png
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
I've asked Macrium. This is something I want to crack just for my own curiosity.
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
I did a bit more playing around with the Index File and got nowhere. It seems Windows rebuilds the index no matter what...

On my test set up I created a small 20Gb partition and called it 'Index' and then moved the index file to the new location. Once rebuilt the index took a surprisingly small amount of space, just a few hundred Mb.

Now I make a new image and then restore it and once again I find the index is set back to zero.

Maybe something has changed in Windows, maybe the reg file is 'working' but when the image is restored Windows recognises something untoward has happened and rebuilds it any.
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
I'm playing with trying to include the Windows Index File into a backup...

...I asked Macrium ages ago and the answer is out there but I'm struggling....Macrium say:

If you really want to exclude this writer then you can create the following registry entry:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\Reflect\ExcludedWriters
I think Macrium may have misunderstood your question. The key they have given you has nothing to do with including/excluding files. It is used to exclude a specific VSS writer when troubleshooting VSS errors. A VSS writer is what Windows uses to create the Shadow Copy when imaging a running system.


I'm not sure if there is a way to explicitly include a file, there certainly is a way to exclude specific file(s) though....

 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
Interesting, thanks. I must say that the term 'excluded' has me puzzled as well. I was surprised though when my test of moving the index to a different partition and imaging it along with the C drive also failed.

I looked back at my original Macrium post from a while back and this was the reply:

The Windows Search index is excluded by the Microsoft Volume Shadow Copy 'MSSearch Service Writer'. The index is explicitly excluded to prevent performance and disk IO problems during the shadow copy life time.

Please see here:
In-Box VSS Writers - Win32 apps

We don't recommend that this VSS writer is excluded, but you can do so by creating the following registry entry:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\Reflect\ExcludedWriters
Name: MSSearch
Type REG_SZ
Value: {CD3F2362-8BEF-46C7-9181-D62844CDC0B2}
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
Well, I just see this when I press WIN+S - and it still finds installed programs instantly. This is true for both admin and user accounts.

1715082877018.png
 

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3593
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
Does it quickly locate individual files though if you just search for a key work in a title for example?
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
No, but I use 'Everything' for that. I don't need file names or contents being indexed.

I just checked, you can still search for a file in File Explorer but it's very, very, slow.
 
Last edited:

My Computers

System One System Two

  • OS
    11 Pro 23H2 OS build 22631.3593
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    13Mbps
    Browser
    Brave, Edge or Firefox
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
OK, fair enough. It looks like there is not an easy answer to this. Even it was problematic in use and caused issues it would still be nice to know how to get it included :-)
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
jfi: I don't know if you have read this, or if it would work for you. Ie. disable the Windows Search Service temporarily and immediately before you want to do a backup (any new files won't be indexed until the service is resumed, but files indexed already should 'hopefully' remain in the Index). According to the accepted Answer there, the Index did get backed up by "..stopping and disabling the Windows Search service".


I don't use Windows Search indexing as such (I use "Everything" for file/folder searches only), but have it running all the same, with the default "Internet Explorer History" option. My Search database file (Windows.db) is therefore quite small, but still it would enable me to see if disabling Windows Search whilst making an image would include that particular file in the image.

A Macrium image file when the Search Service was running shows that the db file is not imaged:
Windows.db - Search Running when imaging.png


An image run immediately after temporarily stopping the Search Service, the db file does get imaged.
Windows.db - Search Disabled when imaging.png



As you are using a test setup, it might be worth exploring this possibility.
 
Last edited:

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    intel i7-8700 (non-K)
    Motherboard
    Asus Z370 TUF Gaming
    Memory
    32Gb
    Graphics Card(s)
    On-board Intel iGPU
    Sound Card
    On-board Realtek
    Hard Drives
    Samsung_SSD_850_EVO
    PSU
    Corsair Rm850X
    Cooling
    All air
That's very interesting, thanks. I might indeed have a play with that although I would want any fix (hack :-)) to be something that just worked each time a backup was run rather than having to alter something each and every time.

Definitely a good find and it gives another direction to investigate.
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security
I did try stopping the search service and making and restoring a backup but the result was the same, index set to zero and has to rebuild. I'm coming to the conclusion it is probably going to be one of those things best left as Microsoft intended.

Apart from one initial reply there has been no further interest over at Macrium.
 

My Computer

System One

  • OS
    W11 Pro x64 24H2 Dev
    Computer type
    Laptop
    Manufacturer/Model
    Dell 7760 Mobile Precision 17"
    CPU
    Intel i5
    Motherboard
    Unknown
    Memory
    8Gb
    Graphics Card(s)
    Intel HD Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    Internal
    Hard Drives
    2 x 256Gb SSD
    PSU
    Dell 240 watt
    Mouse
    Dell Premier Bluetooth
    Internet Speed
    50Mbps
    Browser
    Edge
    Antivirus
    Default Microsoft Security

Latest Support Threads

Back
Top Bottom