VMware Cloud Community
markdjones82
Expert
Expert

the vcenter server is unable to decrypt passwords stored in the customization

All,

  I am still getting this error when trying to run this:

   New-OSCustomizationSpec -OSCustomizationSpec $custspec -Name $vmname -type NonPersistent | Out-Null

   Set-OSCustomizationSpec -OSCustomizationSpec $vmname -AdminPassword $adminpass -DomainUsername $username -DomainPassword $pass -Confirm:$false | Out-Null

   Get-OSCustomizationSpec $vmname | Get-OSCustomizationNicMapping | Set-OSCustomizationNicMapping -IpMode UseStaticIp -IpAddress $ipaddr -SubnetMask $subnet -DefaultGateway $gateway -Dns $pdns,$sdns | Out-Null

   $OsCustomization = Get-OSCustomizationSpec $vmname

      

Did anyone in the forums ever determine what the issue is with version 5.5???

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos
2 Replies
LucD
Leadership
Leadership

I assume you tried this one already The vCenter Server is unable to decrypt passwords stored in the customization specification.The vCenter Server is unable to decrypt passwords stored in the customization specification.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

markdjones82
Expert
Expert

Luc,  after I posted this I remember I replaced my existing code with using a new os spec.  So, I'm good!

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos