SCVMM: How to Remove Failed Jobs from the SCVMM Console

SCVMM: How to Remove Failed Jobs from the SCVMM Console

By default, VMM is configured to maintain job history for 90 days.

Here is how to remove items from the job history manually (for example, failed jobs history) directly in the SQL Express for SCVMM DB.

1. Download SQL Management Studio Express from the following link and install in SCVMM
http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en
2. Open the management studio console and connect to <SCVMM server>\microsoft$vmm$
3. Select Databases > VirtualManagerDB

SQL Management Console

4. Click New Query and input the following command:
UPDATE tbl_TR_TaskTrail SET IsVisible = 0 WHERE TaskState = ‘Failed’

5. Click Execute, it will hide all the failed status job.

Delete Failed Jobs

6. When you re-open the SCVMM console, the failed jobs should not be listed.

Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Comments
  • Tony Soper_MSFT edited Original. Comment: Adding how to and product name to title

  • tonysoper_MSFT edited Revision 4. Comment: reverting demo changes

Page 1 of 1 (2 items)
Wikis - Comment List
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Tony Soper_MSFT edited Original. Comment: Adding how to and product name to title

  • This article was created by user Mohamed May 3, 2010. There is a TNWIKI bug currently under investigation that for some reason changes listed ownership. I will update when this bug is fixed.

  • tonysoper_MSFT edited Revision 4. Comment: reverting demo changes

  • :D

  • Yes, I face this one time, thanks for sharing!

  • Happy to see this is useful

Page 1 of 1 (6 items)