<?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>po-temkin Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>po-temkin Tracker</description>
    <pubDate>Fri, 24 Nov 2023 07:30:59 GMT</pubDate>
    <dc:date>2023-11-24T07:30:59Z</dc:date>
    <item>
      <title>VMware View API - Change recovery password</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/VMware-View-API-Change-recovery-password/m-p/2979455#M99726</link>
      <description>&lt;P&gt;Hello to everyone&lt;BR /&gt;&lt;SPAN&gt;I want to edit Recovery Password for my Horizon Connection Server. Below, you can see a couple of functions that should do this. But instead of a successful result, I see an error:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PS C:\Windows\system32&amp;gt; $Password = '12345678'
PS C:\Windows\system32&amp;gt; $Password = ConvertTo-SecureString -String $Password -AsPlainText -Force
PS C:\Windows\system32&amp;gt; Set-HvRecoveryPasswordExt -Password $Password
Exception calling "GlobalSettings_Update" with "1" argument(s): "ExceptionType : VMware.Hv.InvalidArgument
ErrorMessage : Invalid recovery password hash.
ParameterName : dataRecoveryPasswordData"
At C:\Program Files\WindowsPowerShell\Modules\VMware.Hv.Helper.Ext\VMware.Hv.Helper.Ext.psm1:1627 char:5
+     $services.GlobalSettings.GlobalSettings_Update($updates)
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : VimException


RecoveryPasswordSHA256 RecoveryPasswordHint
---------------------- --------------------
{123, 35, 45, 65...}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What's wrong with my approach? P.S: Documentation page&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.vmware.com/apis/1696/view" rel="nofollow noreferrer" target="_blank"&gt;https://developer.vmware.com/apis/1696/view&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;function Set-HvRecoveryPasswordExt {
  param(
    [Parameter(Mandatory = $true)]
    [securestring]
    $Password,
    [Parameter(Mandatory = $false)]
    [string]
    $Hint
  )
  begin {
    $services = Get-ViewAPIService -hvServer $hvServer
    if ($null -eq $services) {
      Write-Error "Could not retrieve ViewApi services from connection object"
      break
    }
  }
  process {
    $tempPassword = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($Password)
    $plainePassword = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($tempPassword)
    $Stream = [IO.MemoryStream]::new([byte[]][char[]]$plainePassword)
    $SHA256 = (Get-FileHash -InputStream $Stream -Algorithm SHA256).Hash
    $SHA256Bytes = [System.Text.Encoding]::UTF8.GetBytes($SHA256)
    $GlobalSettingsDataRecoveryPasswordData = New-Object VMware.Hv.GlobalSettingsDataRecoveryPasswordData -Property @{
      recoveryPasswordSHA256 = $SHA256Bytes
      recoveryPasswordHint = $Hint
    }
    $updates = Get-MapEntryExt -Key dataRecoveryPasswordData -Value $GlobalSettingsDataRecoveryPasswordData
    $services.GlobalSettings.GlobalSettings_Update($updates)
  }
  end {
    return $updates
    [System.gc]::collect()
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 09:15:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/VMware-View-API-Change-recovery-password/m-p/2979455#M99726</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-07-27T09:15:25Z</dc:date>
    </item>
    <item>
      <title>Vmware.HvHelper auto import</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Vmware-HvHelper-auto-import/m-p/2959283#M98881</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;In our production i using Ansible to run PowerCLI scripts using win_shell. It is equal to run script localy.&lt;BR /&gt;But each execution running in new PowerShell session and every time i see some time lag which occurring because module importing.&lt;/P&gt;&lt;P&gt;Can I import HvHelper module once and for all?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 13:53:03 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Vmware-HvHelper-auto-import/m-p/2959283#M98881</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-03-15T13:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Vmware Horizon Connection Server installation on Windows Server 2019</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2959062#M98873</link>
      <description>&lt;P&gt;It was a very specific and interesting task but we finally resolve this problem yesterday.&lt;/P&gt;&lt;P&gt;After many different test on different VMs we understood that problem occur because group policies.&amp;nbsp;Not without lucky we found definite policy which corrupted installation process.&lt;/P&gt;&lt;P&gt;To automate some tasks I installed PowerCLI on Horizon VM. Because our production VMs don't have internet connection the fisrt run of PowerCLI script took a long time.&amp;nbsp;Usually PowerCLI scripts run through Ansible and each new task execute in new powershell session what created sensible time lag.&lt;BR /&gt;To resolve this problem we created policy which off two parameters in IE:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check for publisher's certificate revocation&lt;/LI&gt;&lt;LI&gt;Check for server sertificate revocation&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Because group policy haven't option for first parameter we found suitable value in registry hive &lt;SPAN&gt;HKCU\&lt;/SPAN&gt;&lt;SPAN&gt;SOFTWARE\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing&lt;/SPAN&gt;. We don't know how it happened but we found value&amp;nbsp;REG_DWORD&amp;nbsp;0x146B44. And this value was wrong.&lt;/P&gt;&lt;P&gt;According to this &lt;A href="https://social.technet.microsoft.com/Forums/en-US/5e37970f-0e6f-4253-a41b-721f457b8059/wintrust-software-publishing-state-values?forum=win10itprosecurity" target="_self"&gt;link&lt;/A&gt; we needed 0x00023e00. After changing this value installation completed successfully. &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@BBA31F75F9233DDA5CDB8A8B8A82C528/emoticons/1f603.png" alt=":grinning_face_with_big_eyes:" title=":grinning_face_with_big_eyes:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 10:29:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2959062#M98873</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-03-14T10:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Vmware Horizon Connection Server installation on Windows Server 2019</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2957849#M98815</link>
      <description>&lt;P&gt;You aren't correct because i'm trying to install first instance. Another instances wich I have aren't relate with this installation&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2023 15:37:44 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2957849#M98815</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-03-05T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Vmware Horizon Connection Server installation on Windows Server 2019</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2956762#M98763</link>
      <description>&lt;P&gt;Only Kaspersky as you can see on screenshot.&lt;BR /&gt;But this isn't a first horizon installation.&amp;nbsp;We have another installations and earlie everything was ok.&lt;BR /&gt;My last installation attempt was couple of month ago and everthing that changed are some windows updates.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 07:53:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2956762#M98763</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-02-27T07:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Vmware Horizon Connection Server installation on Windows Server 2019</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2955963#M98714</link>
      <description>&lt;P&gt;1) Yes&lt;/P&gt;&lt;P&gt;2) This is a first CS in cluster&lt;/P&gt;&lt;P&gt;3) Yes&lt;/P&gt;&lt;P&gt;4) Yes&lt;/P&gt;&lt;P&gt;5) Yes&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 07:04:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2955963#M98714</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-02-22T07:04:28Z</dc:date>
    </item>
    <item>
      <title>Error in Vmware Horizon Connection Server installation on Windows Server 2019</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2955888#M98708</link>
      <description>&lt;P&gt;Hello for everyone&lt;BR /&gt;I trying to install Horizon Connection Server 2212 on fresh Win Server 2019 but catch this error&lt;BR /&gt;Is anyone seen something like this?&lt;BR /&gt;&lt;BR /&gt;Some messages from adamsetup.log:&lt;BR /&gt;adamsetup 83C.15C8 0415 11:57:19.529 Enter ImportLDIFFile&lt;BR /&gt;adamsetup 83C.15C8 0416 11:57:19.529 Enter State::GetMyLDAPPort 389&lt;BR /&gt;adamsetup 83C.15C8 0417 11:57:19.529 Enter State::UseRemoteCreds false&lt;BR /&gt;adamsetup 83C.15C8 0418 11:57:19.529 Running ldifde.exe -i -h -w 300 -j . -s localhost:389 -f MS-ADAM-Upgrade-2.ldf -$ "adamschema.cat"&lt;BR /&gt;adamsetup 83C.15C8 0419 11:57:19.529 Enter State::GetMyDir C:\Windows\ADAM&lt;BR /&gt;adamsetup 83C.15C8 041A 11:57:34.605 ldifde.exe returned with error code 0x80092026&lt;BR /&gt;adamsetup 83C.15C8 041B 11:57:34.605 Enter State::SetFinishMessage AD LDS Setup did not complete because one or more LDIF files could not be imported successfully.&lt;BR /&gt;adamsetup 83C.15C8 041C 11:57:34.605 Enter State::SetFinishError&lt;BR /&gt;adamsetup 83C.15C8 041D 11:57:34.605 Enter Feedback::ShowMessage Undoing installation...&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 19:52:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Error-in-Vmware-Horizon-Connection-Server-installation-on/m-p/2955888#M98708</guid>
      <dc:creator>po-temkin</dc:creator>
      <dc:date>2023-02-21T19:52:16Z</dc:date>
    </item>
  </channel>
</rss>

