{"id":54669,"date":"2022-10-11T09:00:06","date_gmt":"2022-10-11T07:00:06","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=54669"},"modified":"2026-04-29T12:23:51","modified_gmt":"2026-04-29T10:23:51","slug":"vmware-horizon-remove-folder-vmwareviewcomposerreplicafolder","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/vmware-horizon-remove-folder-vmwareviewcomposerreplicafolder\/","title":{"rendered":"VMware Horizon: remove folder VMwareViewComposerReplicaFolder"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-54670 size-full\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-01.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>When the <a href=\"https:\/\/www.vmware.com\/products\/horizon.html\" target=\"_blank\" rel=\"noopener\">VMware Horizon Composer<\/a> is dismissed, the <em>VMwareViewComposerReplicaFolder<\/em> may be left in the vCenter Server and must be removed manually following a correct procedure.<\/p>\n<p>The folder is by design a <strong>protected object<\/strong> to avoid deletion and remove from the vCenter Server Inventory and it is automatically configured by the <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-horizon-7-12-installing-view-composer-pt-2\/\">Horizon Composer<\/a> when <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-horizon-7-12-linked-clone-setup-pt-5\/\">replicas are created<\/a>. <!--more--><\/p>\n<p>Since VMware Horizon 7.x will be <strong>Out of Support next March 2023<\/strong>, it is time to migrate the current infrastructure to the new <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-horizon-8-2006-whats-new\/\">Horizon 8<\/a> removing obsolete configurations from the infrastructure.<\/p>\n<p>&nbsp;<\/p>\n<h2>Delete folder VMwareViewComposerReplicaFolder<\/h2>\n<p>The procedure to remove the folder from the vCenter Server is the same as you normally do. Access the <strong>Inventory<\/strong> area, right click the folder <em>VMwareViewComposerReplicaFolder<\/em> and select <strong>Remove from Inventory<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54672 size-large\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-02-600x451.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-02\" width=\"600\" height=\"451\" \/><\/p>\n<p>Click <strong>Confirm<\/strong> to delete the selected folder.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54674 size-full\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-03.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-03\" width=\"576\" height=\"217\" \/><\/p>\n<p>Unfortunately the folder is not removed and it cannot be directly deleted because it is a <strong>protected object<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54676 size-full\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-04.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-04\" width=\"414\" height=\"143\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>How to remove the orphaned folder<\/h2>\n<p>To remove the orphaned folder we need to use the <strong>sviconfig tool<\/strong> provided with the VMware Horizon Composer.<\/p>\n<p>To run the tool we need first to retrieve the Composer DSN configured in the system. From the <strong>Horizon Composer Server<\/strong>, open the <strong>ODBC Data Source Administrator<\/strong> and go to <strong>System DSN<\/strong> tab. Note the <strong>System Data Source<\/strong> in use (<em>HorizonComposer<\/em> in the example).<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54678 size-full\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-05.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-05\" width=\"594\" height=\"421\" \/><\/p>\n<p>Now open the <strong>Command Prompt<\/strong> and go to <em>C:\\Program Files (x86)\\VMware\\VMware View Composer\\<\/em> folder. Run the following command:<\/p>\n<blockquote><p>sviconfig -operation=UnprotectEntity -DsnName=Composer_DSN_name -DbUsername=Composer_DSN_User_Name -DbPassword=Composer_DSN_User_Password -VcUrl=https:\/\/vCenter_Server_address\/sdk -VcUsername=DomainUser_of_vCenter_Server_account_name -VcPassword=vCenter_Server_account_password -InventoryPath=\/Datacenter_name\/vm\/VMwareViewComposerReplicaFolder -Recursive=true<\/p><\/blockquote>\n<p><span style=\"color: #0000ff;\">C:\\&gt; cd \\Program Files (x86)\\VMware\\VMware View Composer\\<\/span><\/p>\n<p><span style=\"color: #0000ff;\">C:\\...&gt; sviconfig -operation=UnprotectEntity -DsnName=HorizonComposer -DbUsername=sa -DbPassword=Password55! -VcUrl=https:\/\/vcenter.morse.net\/sdk -VcUsername=administrator@vsphere.local -VcPassword=Password99! -InventoryPath=\/Datacenter-VDI\/vm\/VMwareViewComposerReplicaFolder -Recursive=true<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54680 size-large\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-06-600x399.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-06\" width=\"600\" height=\"399\" \/><\/p>\n<p>Now, go back to <strong>vCenter Server<\/strong> and try to remove the folder once again.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54682 size-large\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-07-600x451.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-07\" width=\"600\" height=\"451\" \/><\/p>\n<p>This time the folder has been <strong>removed successfully<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-54684 size-large\" title=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2022\/09\/horizon-remove-VMwareViewComposerReplicaFolder-folder-08-600x356.jpg\" alt=\"horizon-remove-VMwareViewComposerReplicaFolder-folder-08\" width=\"600\" height=\"356\" \/><\/p>\n<p>With this simple procedure, the <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-horizon-unable-to-delete-vm-folders\/\">orphaned folder<\/a> is removed from the vCenter Server. Note that if you don't delete the folder, <strong>nothing bad happens<\/strong> to the vCenter Server and your infrastructure can work without any issue.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When the VMware Horizon Composer is dismissed, the VMwareViewComposerReplicaFolder may be left in the vCenter Server and must be removed manually following a correct procedure. The folder is by design a protected object to avoid deletion and remove from the vCenter Server Inventory and it is automatically configured by the Horizon Composer when replicas are created.<\/p>\n","protected":false},"author":3,"featured_media":54670,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[1025,2905],"tags":[1717,1711,2523],"class_list":["post-54669","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-horizon-en","category-omnissa-en","tag-composer","tag-horizon","tag-vmwareviewcomposerreplicafolder","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/54669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=54669"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/54669\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/54670"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=54669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=54669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=54669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}