There are definitions files, which identify what to backup and scheduled tasks that determine when and to where the objects are backed up.
I back up the XML files and definitions, reinstall windows and restore those files. I then import the XML files, which creates a task in the registry key @;
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks
And creates a .job file with the same GUID as the scheduled task in %windir%\Tasks.
However, Macrium does not see these. It looks for entries in the registry @;
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\CompatibilityAdapter\Signatures
Which link to the GUID in the first registry location.
When creating a schedule via Macrium the registry keys are added to both locations. Importing the XML files does not create the registry entries in the second location.
There is a third location where the tasks have registry data @;
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree
Following the chain;
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Macrium-Backup-{36C615A9-A063-4CBE-8C8B-ECB10AC6BEBC}
Points to
Code:
{5F087979-6F3A-400C-A641-F4FBCF3BC005}
@
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\{5F087979-6F3A-400C-A641-F4FBCF3BC005}
which points to the location;
Code:
Macrium-Backup-{36C615A9-A063-4CBE-8C8B-ECB10AC6BEBC}.job
@
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\CompatibilityAdapter\Signatures
So when the scheduled task runs it doesn't find the corresponding GUID in the second registry location and dies, not knowing what to back up, because as far as Macrium is concerned there is no schedule.
I cant import the registry values. I get an error "Error accessing registry". Possibly a permissions issue.? the message is generic and doesn't help figure out the cause. I'm not fond of messing with registry permissions in case I brick something.
I did ask this on Macrium's forum and got some rather rude responses. I'd rather visit places like here where people are far more friendly and willing to provide genuine assistance.
Perhaps the answer is that figuring out why the registry import fails will enable me to resolve this issue. I'd still have to edit the exported registry file to remove all the scheduled Windows tasks. But if there is no other way to achieve this perhaps that's how I need to approach this.