Is there a way to fix a large set of 'broken' Outlook 2010 rules (with VBA, if necessary)? I had a user who had rules that referenced another PST file (moved messages to it by rule depending on a condition). He was trying to restore items back to that secondary PST file, but he closed it in Outlook, renamed that file, then opened the 'backup' PST, restored the missing items back to his default PST file (outlook.pst), closed the other PST file, then renamed that original secondary PST file back.
Now when he opens Outlook, all those rules that reference that secondary PST file shows an 'error' indicator, even though the path and file name of the secondary PST file is the same as before. I'm not familiar with the data structure of the rules sets, so I have no idea how to proceed in trying to fix his rules. He has several hundred rules, so fixing them manually is not an option.
Steps to reproduce the problem:
- load another (2nd) PST file, create rule to move a message there, close the PST file - opened rules - no error showing even though PST file isn't available
- renamed the 2nd PST file to something else, then renamed the 3rd PST file to the prev name of the 2nd PST.
- opened Outlook and when I tried to go into Manage Rules, it popped an error message box 'one or more rules contain errors...' and the test rule I had just created now showed 'error' and the rule description no longer showed the destination folder (it had changed to 'specified').
Now when he opens Outlook, all those rules that reference that secondary PST file shows an 'error' indicator, even though the path and file name of the secondary PST file is the same as before. I'm not familiar with the data structure of the rules sets, so I have no idea how to proceed in trying to fix his rules. He has several hundred rules, so fixing them manually is not an option.
Steps to reproduce the problem:
- load another (2nd) PST file, create rule to move a message there, close the PST file - opened rules - no error showing even though PST file isn't available
- closed and reopened Outlook - now it shows 'error' when I try to open rules
- opened the other PST file - now no error showing opening rules (this step can be skipped - I did that step to find out if simply reopening the same PST file would fix the error and it did)
- opened another (3rd) PST file, created same test folder as the destination of where the rule is supposed to move the message to and then closed both PST files - opened the other PST file - now no error showing opening rules (this step can be skipped - I did that step to find out if simply reopening the same PST file would fix the error and it did)
- renamed the 2nd PST file to something else, then renamed the 3rd PST file to the prev name of the 2nd PST.
- opened Outlook and when I tried to go into Manage Rules, it popped an error message box 'one or more rules contain errors...' and the test rule I had just created now showed 'error' and the rule description no longer showed the destination folder (it had changed to 'specified').