locked
Recover Inbox Rules RRS feed

  • Question

  • An executive assistant decided to use the Outlook.exe /cleanrules command as they were having trouble with their Outlook rules. 

    Unbeknown to them this command deletes all Inbox Rules in their mailbox, but also all shared mailboxes they have full access to. 

    This thus resulted in: 
    - Executive assistants Outlook rules being deleted
    - Executive team's Outlook rules being deleted
    - Outlook rules being deleted from numerous shared mailboxes

    This is an Office 365 for Business environment, all mailboxes are in the cloud accessed by Outlook for Office 365.

    Office 365 support have advised it is not possible to recover the deleted Inbox rules so the only option is to restore them from:
    - a previous export of the Inbox rules to a RWZ file
    - by restoring the mailbox from a backup, export the Inbox Rules to an RWZ file then import this file into the live mailbox
    Is this correct?

    Is there a way to block the use of the Outlook.exe /cleanrules command to prevent this occurring in future? Perhaps using GPO or anti-virus.

    Are there any plans at Microsoft to:
    - Make it so Inbox Rules can be recovered, as is the case with email and mailboxes
    - Alter the Outlook.exe /cleanrules command so it ONLY deletes Inbox rules from the primary mailbox?
    Wednesday, January 8, 2020 9:57 AM

Answers

  • An executive assistant decided to use the Outlook.exe /cleanrules command as they were having trouble with their Outlook rules. 

    Unbeknown to them this command deletes all Inbox Rules in their mailbox, but also all shared mailboxes they have full access to. 

    This thus resulted in: 
    - Executive assistants Outlook rules being deleted
    - Executive team's Outlook rules being deleted
    - Outlook rules being deleted from numerous shared mailboxes

    This is an Office 365 for Business environment, all mailboxes are in the cloud accessed by Outlook for Office 365.

    Office 365 support have advised it is not possible to recover the deleted Inbox rules so the only option is to restore them from:
    - a previous export of the Inbox rules to a RWZ file
    - by restoring the mailbox from a backup, export the Inbox Rules to an RWZ file then import this file into the live mailbox
    Is this correct?

    Is there a way to block the use of the Outlook.exe /cleanrules command to prevent this occurring in future? Perhaps using GPO or anti-virus.

    Are there any plans at Microsoft to:
    - Make it so Inbox Rules can be recovered, as is the case with email and mailboxes
    - Alter the Outlook.exe /cleanrules command so it ONLY deletes Inbox rules from the primary mailbox?

    Yes, that is correct. Unless you have a backup of those rules, they are gone.

    I do not know of anyway of preventing a user from doing this, other than educating them that they shuold make a backup before proceeding.

    As for the future, you may want to go to uservoice and create a request for these two:

    https://outlook.uservoice.com/

    Make it so Inbox Rules can be recovered, as is the case with email and mailboxes
    - Alter the Outlook.exe /cleanrules command so it ONLY deletes Inbox rules from the primary mailbox?

    Wednesday, January 8, 2020 11:42 AM

All replies

  • An executive assistant decided to use the Outlook.exe /cleanrules command as they were having trouble with their Outlook rules. 

    Unbeknown to them this command deletes all Inbox Rules in their mailbox, but also all shared mailboxes they have full access to. 

    This thus resulted in: 
    - Executive assistants Outlook rules being deleted
    - Executive team's Outlook rules being deleted
    - Outlook rules being deleted from numerous shared mailboxes

    This is an Office 365 for Business environment, all mailboxes are in the cloud accessed by Outlook for Office 365.

    Office 365 support have advised it is not possible to recover the deleted Inbox rules so the only option is to restore them from:
    - a previous export of the Inbox rules to a RWZ file
    - by restoring the mailbox from a backup, export the Inbox Rules to an RWZ file then import this file into the live mailbox
    Is this correct?

    Is there a way to block the use of the Outlook.exe /cleanrules command to prevent this occurring in future? Perhaps using GPO or anti-virus.

    Are there any plans at Microsoft to:
    - Make it so Inbox Rules can be recovered, as is the case with email and mailboxes
    - Alter the Outlook.exe /cleanrules command so it ONLY deletes Inbox rules from the primary mailbox?

    Yes, that is correct. Unless you have a backup of those rules, they are gone.

    I do not know of anyway of preventing a user from doing this, other than educating them that they shuold make a backup before proceeding.

    As for the future, you may want to go to uservoice and create a request for these two:

    https://outlook.uservoice.com/

    Make it so Inbox Rules can be recovered, as is the case with email and mailboxes
    - Alter the Outlook.exe /cleanrules command so it ONLY deletes Inbox rules from the primary mailbox?

    Wednesday, January 8, 2020 11:42 AM
  • Hi,

    Do suggestions above help? If you have any questions or needed further help on this issue, please feel free to post back. If the issue has been resolved, please mark the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well.

    Regards,

    Joyce Shen


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Monday, January 13, 2020 1:19 AM
  • Hi,

    Do you have any further issue on this topic?

    Meanwhile, if there is no issue, please remember to mark helpful reply as answer to close the thread. Your action would be helpful to other users who encounter the same issue and read this thread.
    Thanks for your understanding.

    Regards,

    Joyce Shen


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Thursday, January 16, 2020 1:16 AM