<?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 Re: power-off script release IP address in VMware Horizon Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854212#M17302</link>
    <description>&lt;P&gt;thank you. i'll give it a shot.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 17:43:32 GMT</pubDate>
    <dc:creator>Hoodsie2018</dc:creator>
    <dc:date>2021-06-23T17:43:32Z</dc:date>
    <item>
      <title>power-off script release IP address</title>
      <link>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854208#M17300</link>
      <description>&lt;P&gt;I can't seem to get the power-off script to run to release the ip address of the system, per recommended steps for floating non-persistant instant-clone VMs. We have a sizable environment and dhcp pool but it's close enough we want IPs to free up automatically and not wait for DHCP aging. The scope is set to 1 hr. But often a VM gets stuck shutting down and one of the ways recommended to reduce that time is to release the IP address first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to run c:\windows\system32\cscript.exe releaseIP.bat&lt;BR /&gt;&lt;BR /&gt;That has in it: cmd.exe /runas:administrator ipconfig /release since it requires elevation to run the release the IP but no one is present so no one can click OK with the UAC prompt (required by IT Security), nor put in a password.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to accomplish this goal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 17:25:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854208#M17300</guid>
      <dc:creator>Hoodsie2018</dc:creator>
      <dc:date>2021-06-23T17:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: power-off script release IP address</title>
      <link>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854210#M17301</link>
      <description>&lt;P&gt;I'd do it with a gpo instead&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn789196(v=ws.11)#:~:text=To%20assign%20computer%20shutdown%20scripts,-Open%20the%20Group&amp;amp;text=Policy%20Management%20Console.-,Right%2Dclick%20the%20Group%20Policy%20object%20you%20want%20to%20edit,the%20results%20pane%2C%20expand%20Shutdown" target="_blank"&gt;https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn789196(v=ws.11)#:~:text=To%20assign%20computer%20shutdown%20scripts,-Open%20the%20Group&amp;amp;text=Policy%20Management%20Console.-,Right%2Dclick%20the%20Group%20Policy%20object%20you%20want%20to%20edit,the%20results%20pane%2C%20expand%20Shutdown&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did that in the past and it worked ok&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 17:34:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854210#M17301</guid>
      <dc:creator>sjesse</dc:creator>
      <dc:date>2021-06-23T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: power-off script release IP address</title>
      <link>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854212#M17302</link>
      <description>&lt;P&gt;thank you. i'll give it a shot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 17:43:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Horizon-Discussions/power-off-script-release-IP-address/m-p/2854212#M17302</guid>
      <dc:creator>Hoodsie2018</dc:creator>
      <dc:date>2021-06-23T17:43:32Z</dc:date>
    </item>
  </channel>
</rss>

