> Source: [sk165738](https://support.checkpoint.com/results/sk/sk165738)

# sk165738 - Unable to remove Check Point CloudGuard (vSEC) Service from Security Management with error "Failed to delete service instance" for NSX-V

| Property | Value |
|----------|-------|
| Solution ID | sk165738 |
| Date Created | 2020-11-26 |
| Last Modified | 2020-12-06 |
| Technical Level | Advanced |
| Products | Cloud Firewall |
| Versions | R82.10, R81.20, R82 |
| OS | Gaia |
| Platform | VMWare ESX |

## Symptoms

- * Unable to remove Check Point CloudGuard (vSEC) Service from Security Management.
* When trying to use the VSR (service registration bundle from [sk111060](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111060)), the user may get the following error in `vsec_config` or `cloudgaurd_config` when deleting old vSEC Service   
  Failed to delete service instance   
  Failed to delete Service Instance.   
  Service Removal FAILED. Please correct the error(s) and try again until the operation succeeds
* `vsec_config.elg` from Security Management shows the following error   
  DEBUG \[main\] (RestRequest.java:7) - Error details: The object service-24 (referred by Service Instance Check Point vSEC Service-GlobalInstance) is in use, this operation cannot be performed. Remove all configuration referring to this object and retry operation.

## Cause

VMware vCentre and NSX manager databases still have references to the Check Point vSEC Service registration that blocks removal.

<br />

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
