<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sviconfig fails to run in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/sviconfig-fails-to-run/m-p/2263286#M86937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone of you can help me to run sviconfig.&lt;/P&gt;&lt;P&gt;Now when I run:&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\VMware\VMware View Composer&amp;gt;sviconfig -operation=ReplaceCertificate -delete=false&lt;/P&gt;&lt;P&gt;I have got error like:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14894285227888928" data-renderedposition="134_8_1155_112" jivemacro_uid="_14894285227888928" modifiedtitle="true"&gt;&lt;P&gt;Unhandled Exception: System.Security.SecurityException: Requested registry access is not allowed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.Operation.OperationHelper.GetSVIInstallPath()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.Operation.OperationHelper.FindPortFromSviConfig()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.Operation.ReplaceCertificateOperation.Execute(IOutput output)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.SimConfig.Main(String[] args)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.PNG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/71217i9097C15744E92124/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.PNG" alt="error.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error1.PNG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/71218iE3787FDBE741ACC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1.PNG" alt="error1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve the problem?&lt;/P&gt;&lt;P&gt;It is on vCenter Server 6.5 with View Copmposer 7.0.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Mar 2017 18:11:29 GMT</pubDate>
    <dc:creator>Kristofejro</dc:creator>
    <dc:date>2017-03-13T18:11:29Z</dc:date>
    <item>
      <title>sviconfig fails to run</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/sviconfig-fails-to-run/m-p/2263286#M86937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone of you can help me to run sviconfig.&lt;/P&gt;&lt;P&gt;Now when I run:&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\VMware\VMware View Composer&amp;gt;sviconfig -operation=ReplaceCertificate -delete=false&lt;/P&gt;&lt;P&gt;I have got error like:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14894285227888928" data-renderedposition="134_8_1155_112" jivemacro_uid="_14894285227888928" modifiedtitle="true"&gt;&lt;P&gt;Unhandled Exception: System.Security.SecurityException: Requested registry access is not allowed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.Operation.OperationHelper.GetSVIInstallPath()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.Operation.OperationHelper.FindPortFromSviConfig()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.Operation.ReplaceCertificateOperation.Execute(IOutput output)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at VMware.Sim.SimConfig.SimConfig.Main(String[] args)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.PNG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/71217i9097C15744E92124/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.PNG" alt="error.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error1.PNG"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/71218iE3787FDBE741ACC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1.PNG" alt="error1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve the problem?&lt;/P&gt;&lt;P&gt;It is on vCenter Server 6.5 with View Copmposer 7.0.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 18:11:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/sviconfig-fails-to-run/m-p/2263286#M86937</guid>
      <dc:creator>Kristofejro</dc:creator>
      <dc:date>2017-03-13T18:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: sviconfig fails to run</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/sviconfig-fails-to-run/m-p/2878637#M95363</link>
      <description>&lt;P&gt;Just to hopefully save someone else some pain and agony if they run into this like we did as well. Here is what we did to fix it.&lt;/P&gt;&lt;P&gt;4 years later, different person, same issue. This was the fix.&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.vmware.com/s/article/2150066" target="_blank"&gt;https://kb.vmware.com/s/article/2150066&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Go to the designated spot in the registry, HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc&lt;/P&gt;&lt;P&gt;And change the permissions for the main folder (instructions at the link above), you’re basically adding admin, creator owner, etc to the permissions on the main vmware inc folder.&lt;/P&gt;&lt;P&gt;We had to change the owner for the "Vmware, Inc" folder in order to add/change permissions for the folders below. After doing that, we were able to run sviconfig without issue to replace the currently bound cert to the View Composer service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 17:41:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/sviconfig-fails-to-run/m-p/2878637#M95363</guid>
      <dc:creator>gbartlett</dc:creator>
      <dc:date>2021-11-17T17:41:40Z</dc:date>
    </item>
  </channel>
</rss>

