Customization General

VCAC 6.1 Pre-req Automation Script Released!

As many of you are now seeing the announcement that vCloud Automation Center 6.1 is GA, you will most likely already be downloading the bits. Let me save you all some time once again with the latest Prerequisite Automation Script.

What’s New:

  • .NET no longer needs to be installed before using this script. The script will determine if .NET needs to be updated, if it does, the script presents you with several options to proceed.
  • With the new version of vCloud Automation Center comes a new dependency during install, Java JRE 1.7 or higher (64-bit). The script has added in a check for Java and will determine if it needs to be updated. If so, the script presents you with several options to proceed.
  • Installer also creates the JAVA_HOME variable directory and points it to the installed location.
  • New variable in the user config section of the script allows for local installer locations to be set and the menu options pre-selected
  • Currently works with Server 2008r2, 2012, and 2012r2

Download: vCAC 6.1 Prereq Automation Script

For those of you who prefer to see what it looks like before using it, I’ve provided some screenshots below.

*NOTE: as always, you should look through any script and understand what it is doing before running it. This is an unsupported script.

Screenshots (Server 2012):


Screenshot2014090813.50.15.png Screenshot2014090813.51.12.png  Screenshot2014090813.52.45_thumb.png

Server 2008r2:

Screenshot2014090813.58.14_thumb.pngScreenshot2014090814.02.36_thumb.png Screenshot2014090814.04.41.png Screenshot2014090814.05.33.png Screenshot2014090814.20.10.png


160 comments have been added so far

  1. Hello Brian ,

    Very helpful information.Do we have any documentation or procedure to migrate VMs from vCD to vCAC for management purpose ?

    Appreciate your ideas.


  2. Perhaps a silly issue but can’t seem download and “save” this script as a .ps1 file. When I click on the download link it brings me to the source code on GitHub. Unfortunately when I attempt to copy the actual code, it also copies all of the Line Numbering that is present. Pasting the code within PowerShell ISE duplicates the line numbering within the ISE Editor…and is truly messy… Is there another way to get the contents of this script without Line Numbers??


    1. Ron,
      there is a button on the right side of the screen that says “raw” click that button and then copy the source-code into a file that you save as .ps1 and you should be good to go!

      1. Yeah I noticed and tried that before as well, Brian, but the code that gets copied is really messed up…looks like binary…says it’s in Unicode format during Save operation…..but still is not legible even afterward.. Not sure if this is an isolated issue (i.e. just my current workstation or internet policies preventing proper download).. I’ll try form another environment. Thx for your prompt reply.


        1. Yep..embarrassed to report that it was my damn environment creating all my issues… Proxy filtering and security policies in place.. Was able to effectively download proper RAW data from another machine…

          Thx for pointing me in the right direction, Brian.. :-o)

          And thanks for creating this script.. 🙂


  3. Brian,
    Thanks so much for making this script and hopefully the error I am seeing is something simple. I’m trying to run it on windows 2012 R2 Update 1 ( possibly…the one that finally lets you reboot from the logoff screen). Anyway I downloaded all the latest patches. When I run the script I get a bunch of error messages when your script is trying to
    “set authentication values for IIS”
    I confirmed that IIS7 has anonymous authentication disabled and windows enabled but still see these error messages. When I eventually run the VCAC checker it shows the red x and say ” Not OK – IIS Server” with details
    The IIS Server is installed. Verify that it is running and that its authentication module is installed and enabled.

    here is the error messages I am seeing within your script so if you have any suggestions or if I can ignore the alerts and proceed that would be great. Thanks in advance and for helping out the community.

    Set-WebConfigurationProperty : filename: \\?\c:\windows\system32\inetsrv\config\applicationHost.config
    Line number: 925
    Error : Cannot add duplicate collection entry of type ‘add’ with unique key attribute ‘value’ set to ‘Negotiate’
    At C:\vcacscript.ps1 :310 Char :1

  4. I am getting there errors when running as local admin on 2012 R2. Any thoughts?

    OS = Microsoft Windows Server 2012 R2 Standard
    Importing Server Manager
    Installing IIS roles

    (1) – I have the Server 2012 ISO mounted and want to install the framework files from a local folder
    (2) – I have internet access and want to download it from Microsoft and install it automatically
    (3) – Exit this script
    Choose a number to proceed: : 1
    Unable to locate folder. Please specify the source folder for required files (ex D:\sources\sxs\): E:\sources\sxs
    Attempting to Install .NET Framework. Please be patient.
    Add-WindowsFeature : The request to add or remove features on the specified server failed.
    Installation of one or more roles, role services, or features failed.
    The source files could not be downloaded.
    Use the “source” option to specify the location of the files that are required to restore the feature. For more
    information on specifying a source location, see Error: 0x800f0906
    At I:\Infrastructure_Team\VMware\Software\VCAC\vCAC61-PreReq-Automation.ps1:233 char:6
    + Add-WindowsFeature -Name Web-Webserver,Web-Http-Redirect,Web-Asp-Net,Web-Wi …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (@{Vhd=; Credent…Name=localhost}:PSObject) [Install-WindowsFeature],
    + FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsF

    1. so one of a few things could be happening here. A) your machine is behind a proxy and therefore cannot make the connection and download the correct files. B) in your variables before running the script, you either have chosen to go off of the Windows ISO (check the path if that is the case) and have the wrong path, or the wrong ISO… just some thoughts

      1. Thanks Brian, shouldn’t be behind a proxy, but I know our security team is working on implementing one. I am using the Windows 2012 R2 ISO, but maybe iso is wrong

        1. Ok, so i just installed the components, but then ran portions of hte script manually to do the configuration.

          PS thank god for this script as I am not much of an IIS guy. I wouldn’t have known where to enable/disable half this stuff.

          1. Brian,
            We think it might be an issue with 2012 R2, we had to run windows update to get some patches and reboot and it appears to possibly fix the issue.

          2. Thanks for tracking down the issue Mark. It would be interesting to know what the root cause was, but at least we can now document this for others. Thanks for the hard work!

  5. This is a great script, that has saved me a lot of time in the past. Thanks a lot for creating this, Brian.

    Today I used “vCAC 6.1 Prereq Automation Script” for the first time in a customer PoC with Java 1.8. I noticed that JAVA_HOME has a hard coded path to C:\Program Files\Java\jre7

    Java 1.8 uses a different path. C:\Program Files\Java\jre1.8.0_25, if I remember correctly.

    Not a big deal, you can manually adjust JAVA_HOME afterwards. However, when you are planning an upgrade to this script, you might want to consider making this more “fool-proof”.

    Anyhow, really great work.

  6. Great script, and great improvements over the previous one.

    I was hoping a next version of the script will set the services to “retry” in case of failure

  7. Did any one used this script against 6.2. Was the system working fine if we use this script.
    I had an instance where i setup by running this script. after installation
    https:///WAPI/api/status is always says 404 (not found).

    have anyone had success with this script on 6.2

  8. Brian
    I just used this script for a customer production environment. I loved it and for the most part it worked. I did have an issue that I wanted to report
    I was installing on all windows 2012 R2 64 OS hosts.
    Ran the script and it completed and installed all of the components with no errors.
    However, when I installed vRA and began configuring it to talk to vsphere endpoints, the dem worker/agents were complaining about connectivity .
    I can send you screen shots but the error message I was receiving was this
     DatabaseStatsService, ignoring exception, Error executing query usp_SelectAgent Inner Exception, Error executing query usp_SelectAgentCapabilities

    After a lot of troubleshooting it appeared that MSDTC was corrupted or not working
    We performed a MSDTC uninstall and install to assure unique GUID
    A MS DTC uninstall and install should be performed if the VMs used by any component in vRA has been cloned from a template or another VM. This is because the MS DTC Globally unique identifier (GUID) configuration does not change while running sys prep meaning you still have the original VMs MS DTC configuration.
    After we completed this work, vRA worked.

    I’m curious to know if this is a known bug? Has anyone else experienced this?


    1. Scott this is normal/”to be expected” This has been broadcast in social media, blogs, and I believe in the documentation as well. The only problem with this is that I either have to have my script uninstall and reinstall MSDTC EVERY SINGLE TIME or have the user do that if it’s cloned/templated… I have chosen not to do it in the script. Glad you have found it useful though 🙂

  9. This is the right site for everyone who would like to find out about this topic. You realize so much its almost tough to argue with you (not that I actually would want to…HaHa). You definitely put a fresh spin on a topic which has been discussed for ages. Wonderful stuff, just great

  10. After I initially commented I seem to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I receive 4 emails with the exact same comment. There has to be an easy method you are able to remove me from that service? Kudos!

  11. You are so interesting! I don’t believe I’ve truly read through anything like that before. So wonderful to discover another person with a few unique thoughts on this issue. Seriously.. many thanks for starting this up. This website is something that is required on the internet, someone with a bit of originality!

  12. Bigg Boss

    An intriguing discussion is worth comment. I think that you ought to publish more on this subject matter, it might not be a taboo matter but generally people don’t discuss these issues. To the next! Kind regards!!

  13. Thank you for your share! Your shared information is very helpful to me and many people are looking for them just like me! The problem seems simple, but through your pen, it impresses me! Here we share easy tips to fix HP laptop black screen issue.

  14. I blog frequently and I really appreciate your content. Your article has really peaked my interest. I am going to bookmark your website and keep checking for new details about once per week. I subscribed to your RSS feed too.

  15. Hi!admin Thank you for sharing exceptional informations. Your site is quite cool. I am impressed with the details you have on this website. It shows how well you comprehend this topic. Bookmarked this web page, will return for more posts. I discovered only the advice that I searched all around the area and just could not encounter. What a fantastic web-site.

  16. This is the right site for everyone who would like to find out about this topic. You realize so much its almost tough to argue with you (not that I actually would want to…HaHa). You definitely put a fresh spin on a topic which has been discussed for ages. Wonderful stuff, just great

  17. of course like your web-site however you need
    to take a look at the spelling on several of your posts. Many of them are
    rife with spelling issues and I find it very troublesome to tell the reality on the
    other hand I will definitely come again again.

  18. Wow, so why should anyone expect the Gartner APM MQ, In the last year or currently moving forward?!?

    This has to be a total conflict of interest, so that you have to tell me that the two people he has named Will Cappelli and Cameron would not be heavily influenced by the Jonah guy in his brand new perch at AppDynamics? I kind of feel duped and this scenario seems dirty. This guy Jonah leaving to have a cushy VP job at a business he allegedly provided unbiased investigation for the previous 4 years, why should anybody believe a word coming from these documents.

  19. You are so intriguing! I don’t really accept that I’ve genuinely perused anything like that previously. So awesome to find someone else with a couple of interesting considerations on this issue. Truly.. much obliged for firing this up. This site is something that is needed on the web, somebody with a touch of innovation!

  20. Thank you for sharing exceptional informations. Your site is quite cool. I am impressed with the details you have on this website. It shows how well you comprehend this topic. Bookmarked this web page, will return for more posts. I discovered only the advice that I searched all around the area and just could not encounter. What a fantastic web-site.

  21. Voot Show In HD, Bigg Boss 15 Is Indian Tv Show Watch Complete Show Online in High Quality On Colors Tv Show Bigg Boss 15 watch online. Watch all videos episode, news, and updates about Bigg Boss 15.

  22. You are just one click away to watch your favorite Anime on this and you don’t even have to wait for long time buffering of the videos. People do mostly name it as Japanese cartoons; we call it“ANIME.

  23. YOU ARE JUST ONE CLICK AWAY FROM Watching your favorite Movie, Series, Drama, Serial Every Thing You Want Just On One Click There is an Unlimited range of Korean Dramas. Watch So I Married An Anti-Fan 2021, DARK HOLE, UNDERCOVER AND SO MUCH MORE All Episode on DRAMA COOL with Eng sub online with multiple high-quality videos players. So I Married An Anti-Fan 2021 latest Drama Korean drama. So I Married An Anti-Fan 2021 English Subtitles are now available with English subtitles. which is currently moving up charts and might as well be one of the biggest Hits in 2021

  24. Pinoy Drama Point BCN Network Shows And Drama Point Official website Teleserye Channel
    Watch Online your favourite ABC-CBN Pinoy Teleserye Pinoy Tv Pinoy Channel Pinoy Tambayan.

  25. This research is entitled “Women’s Performance in TV Programs (TV)”, which aims to examine the reaction of men and women to female representatives in TV series and the influence of these TV series on them. 120 respondents deliberately composed 60 men and 60 women in the 35-50 age group. The portrayal of women on TV is one of the controversial issues surrounding the media today. The most liberating modern image of women is not the image of modern Indian women. Gender stereotypes seem to be more deeply integrated into the structure of TV series. For various reasons, including illusory roles, attention to housework and problems, they fail to reflect the reality of women’s roles in society. They are considered stereotyped, often portrayed as fashionable, but never portrayed as smart, confident and liberating women.

  26. Really useful blog I am happy to read some useful information here. This is a great partner. You don’t know what you shared. I’m very much obliged to you

  27. Randeep Rai has a thing to state about Ashi’s approaching job. Ace production dwelling Shashi Sumeet Productions is all established to deliver an fascinating exhibit titled

  28. Watch Mtv India Show Mtv Roadies Danger House Full Episodes HD. MTv Roadies Danger House is an Youth based Reality Show that airs on MTV India. The Series Which Will Be Premier On 15th September 2021 at 7:00 PM (IST).
    Mtv Roadies (Danger House) Host: Prince Narula, Neha Dhupia, Prince Narula, Varun Sood, Nikhil Chinapa. MTv Roadies

  29. Watch The Kapil Sharma Show Sony Tv Show Online Latest All Episodes. The Kapil Sharma Show Season 3 is An Indian Television Comedy Series. The Comedy Series Which Will Be Premier On 21st August 2021 at 9:30 PM (IST).
    The Kapil Sharma Show Season 3 Judges: Kapil Sharma, Kiku Sharda, Bharti Singh, Sudesh Lehri, Chandan Prabhakar, Archana Puran Singh, Krushna Abhishek. The Kapil Sharma Show

  30. You can watch the movie online on MX Player, as long as you are a subscriber to the video streaming
    OTT platform Watch Multi-faceted Actress Priyanka Chopra open up like never before in this candid

  31. You can watch the movie online on MX Player, as long as you are a subscriber to the video streaming
    OTT platform Watch Multi-faceted Actress Priyanka Chopra open up like never before in this candid


  32. I have provided ten such drawings which are for beginners. You all will definitely like these types of posts. I hope you all will like this article. vist the fast learnig

Leave a Reply

Your email address will not be published. Required fields are marked *