VMware Horizon Community
edawg
Enthusiast
Enthusiast

Power-Off script Name not Working

Hello-

Running View 5.3 linked cloned pool set to delete on log off.  Have an issue where we are running out of DHCP leases as a result.  Realize we could attack this issue in multiple ways, Groups policy, etc but currently we are looking at why the Guest Customization Power-off script name: is not working within our pool.  On our gold image we have a scripts folder in the root of the c: drive that runs a batch file with ipconfig /release.  If we run the script manually on the gold image it works fine, but when the IP is not being released by the script.  Any steps we are missing?

Thanks,

Erik

Reply
0 Kudos
2 Replies
kgsivan
VMware Employee
VMware Employee

  • Ensure script is working by using some other simple commands  (Calling vbscripts through batch file)
  • Also make sure that you elevate privilege while releasing IP (You can try this way: "runas /user:administrator C:\data\mybatchfile.bat" )
Reply
0 Kudos
edawg
Enthusiast
Enthusiast

Thanks for the quick response.  Already tried the first option which did not help.  When I try the runas /user:adminstrator I get prompted for the password so this also not working...

Reply
0 Kudos