---
description: If you need to restore the color categories to initial settings or batch delete all the existing color categories, you can refer to this article. Here we will teach you how to get them with ease.
title: How to Batch Reset or Delete All Color Categories in Your Outlook
image: https://www.datanumen.com/blogs/wp-content/uploads/2018/03/run-command-line.jpg
---

-
-
-

[Home](https://www.datanumen.com/blogs/) > [Solutions](https://www.datanumen.com/blogs/category/solutions/) > [Office Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/) > [Outlook Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/outlook-solutions/) > How to Batch Reset or Delete All Color Categories in Your Outlook

# How to Batch Reset or Delete All Color Categories in Your Outlook

[Outlook Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/outlook-solutions/) September 29, 2025

Share Now:

-
-
-
-
-
-
-
-

*If you need to restore the color categories to initial settings or batch delete all the existing color categories, you can refer to this article. Here we will teach you how to get them with ease.*

To classify Outlook items, you can utilize “Color Categories” feature. By default, it offers 6 inbuilt categories – “Red Category”, “Blue Category”, “Yellow Category”, “Green Category”, etc. But, you can change the category names, add or delete any color categories at will. Thus, perhaps the Color Categories in your Outlook have been customized to your liking. At present, if you’d like to restore them or delete all of them to rebuild them, you can read on. Here we will show the most effective methods to you.

## Reset Color Categories

1. At first, exit your Outlook application.
2. Then, click the “Start” to open the “Start Menu”.
3. Next, click into the search box.
4. And input the following command line: outlook.exe /cleancategories![Run Command Line - outlook.exe /cleancategories](https://www.datanumen.com/blogs/wp-content/uploads/2018/03/run-command-line.jpg "Run Command Line - outlook.exe /cleancategories")
5. After that, press “Enter” key button.
6. At once, Outlook will start up.
7. Now, you can check the “Color Categories”, which have been restored to the original settings, as shown in the following figure.![Restored Color Categories]( "Restored Color Categories")

## Batch Delete All Color Categories

1. For a start, in Outlook, press “Alt + F11” to trigger VBA editor.
2. Then, copy and paste the following code into a module.

```
Sub DeleteAllColorCategories()
    Dim objCategories As Outlook.Categories
    Dim objCategory As Outlook.Category
    Dim i As Long
    Dim objTempMail As Outlook.MailItem
 
    Set objCategories = Outlook.Application.Session.Categories
  
    'Delete all the color categories
    For i = objCategories.Count To 1 Step -1
        Set objCategory = objCategories.Item(i)
        objCategories.Remove (objCategory.Name)
    Next

   'Display the color categories dialog box
    Set objTempMail = Outlook.Application.CreateItem(olMailItem)
    objTempMail.ShowCategoriesDialog
    objTempMail.Close olDiscard
End Sub
```

![VBA Code - Batch Delete All Color Categories]( "VBA Code - Batch Delete All Color Categories")

3. Subsequently, press “F5” key button to run this macro.
4. After macro finishes, the “Color Categories” dialog box will display.
5. As you can see, all the categories have been cleared.![All Color Categories Have Been Deleted]( "All Color Categories Have Been Deleted")

## Solve Irritating Outlook Problems

As we all know, MS Outlook is susceptible to errors and corruption. Fortunately, Outlook comes endowed with an in-built repair tool – Scanpst.exe. Therefore, in face of small issues, you can simply utilize it. However, when dealing with serious problems, such as [PST corruption](https://www.datanumen.com/outlook-repair/), it will not help you. Under that circumstance, you have no choice but to make use of an external more experienced and reliable tool, such as DataNumen Outlook Repair. It has shouldered over its rivals due to its high recovery rate as well as ease of operation.

## Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including [recover sql](https://www.datanumen.com/sql-recovery/) and outlook repair software products. For more information visit [www.datanumen.com](https://www.datanumen.com/)

Share Now:

-
-
-
-
-
-
-
-

[← Previous post](https://www.datanumen.com/blogs/in-depth-understand-of-vertical-partitioning-in-sql-server/)

[Next post →](https://www.datanumen.com/blogs/how-to-auto-hide-completed-tasks-in-your-outlook/)

Comments are closed.

![Data Recovery Blog]()

Follow or like us on Facebook, LinkedIn and Twitter to get all promotions, latest news and updates on our products and company.

-
-
-

### Featured Products

- [DataNumen Outlook Repair](https://www.datanumen.com/outlook-repair/)
- [DataNumen SQL Recovery](https://www.datanumen.com/sql-recovery/)
- [DataNumen Exchange Recovery](https://www.datanumen.com/exchange-recovery/)
- [DataNumen Access Repair](https://www.datanumen.com/access-repair/)
- [DataNumen Excel Repair](https://www.datanumen.com/excel-repair/)
- [DataNumen PDF Repair](https://www.datanumen.com/pdf-repair/)
- [DataNumen Word Repair](https://www.datanumen.com/word-repair/)
- [DataNumen Zip Repair](https://www.datanumen.com/zip-repair/)

### Popular posts

```json
{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/#article","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/"},"author":{"name":"AuthorCCW","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957"},"headline":"How to Batch Reset or Delete All Color Categories in Your Outlook","datePublished":"2018-03-16T03:42:55+00:00","dateModified":"2025-09-29T05:56:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/"},"wordCount":386,"commentCount":0,"publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2018\/03\/run-command-line.jpg","articleSection":["Outlook Solutions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/","url":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/","name":"How to Batch Reset or Delete All Color Categories in Your Outlook","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/#primaryimage"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2018\/03\/run-command-line.jpg","datePublished":"2018-03-16T03:42:55+00:00","dateModified":"2025-09-29T05:56:13+00:00","description":"If you need to restore the color categories to initial settings or batch delete all the existing color categories, you can refer to this article. Here we will teach you how to get them with ease.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/how-to-batch-reset-or-delete-all-color-categories-in-your-outlook\/#primaryimage","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2018\/03\/run-command-line.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2018\/03\/run-command-line.jpg","width":677,"height":269,"caption":"Run Command Line - outlook.exe \/cleancategories"},{"@type":"WebSite","@id":"https:\/\/www.datanumen.com\/blogs\/#website","url":"https:\/\/www.datanumen.com\/blogs\/","name":"Data Recovery Blog","description":"Discuss every aspect of data recovery","publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.datanumen.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.datanumen.com\/blogs\/#organization","name":"Data Recovery Blog","url":"https:\/\/www.datanumen.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","width":296,"height":397,"caption":"Data Recovery Blog"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataNumen","https:\/\/x.com\/DataNumen","http:\/\/www.linkedin.com\/company\/datanumen","https:\/\/myspace.com\/datanumen\/","http:\/\/www.pinterest.com\/datanumen\/","https:\/\/www.youtube.com\/channel\/UCVIIuuKfUBHSJauUaVP13tw"]},{"@type":"Person","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957","name":"AuthorCCW","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","caption":"AuthorCCW"},"sameAs":["https:\/\/www.datanumen.com\/"]}]}
```
