ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware vCenter Server (VCSA 6.0) Sysprep Files – Enable The “Pi Shell”

By Vladan SEGET | Last Updated: September 12, 2019

Shares

Few days back vSphere 6.0 was released. There is many questions on how to do this or that. Today's answer is on a question how to upload a sysprep files into VMware vCenter Server (VCSA 6.0). In the previous release, VCSA 5.5, there was this option through the WAMI interface (through the port 5480). This no longer works this way in VCSA 6.0. In order to be able to upload your sysprep file for older OS which needs it, you must first enable a “pi shell”.

VMware VCSA has new shell, and the access has to be enabled first. Note that this Pi Shell is apparently something temporary and will most likely be locked in future release of VCSA. It seems that VMware is more less does not willing us to “touch” the VCSA and they're locking some features that were previously accessible. Some kind of a black box “do not mess touch”. It's perhaps anoying for some but I understand on why. To prevent damage. We will see however that some documentation exists, for example in this PDF comparing the features in VCSA 5.5 and VCSA 6.0. 

Now why would you want to do that? Experienced VMware admins knows, but new folks perhaps don't. It's because otherwise you'll get a message that “Windows customization resources were not found on the server” when you want to personalize your template. I should say first that this is only necessary for older OS as Microsoft “ships” the sysprep files inside of the new OS since Windows Vista… So it basically apply only for older templates you might have – OS starting with Windows 2000, XP, XPx64, Windows 2003 and 2003×64 … But still it's interesting to know how to enable the shell access.

VMware vCenter Server (VCSA 6.0) Sysprep Files – enable the “Pi Shell” – Here is how it works:

0. Make sure that SSH in enabled on the VCSA. Home > Administration > System configuration (under Deployment) > Select the node > Actions > Edit Settings

VCSA 6.0 enable SSH

1. log in to the VCSA by using for example Putty SSH client and use your root account and password you used during the installation.

2. Enter this to enable the “pi shell”

shell.set –enabled true
shell
chsh -s “/bin/bash” root

Screenshot …

How to enable shell in VCSA 6.0

3. Then you can use for example WinSCP and upload the sysprep files to the individual folders which do not needs to be created as they're there.

The filepath is /etc/vmware-vpx/sysprep

VCSA 6.0 Sysprep Files how to upload

If you don't upload those files you'll get an error when wanting to deploy new VM from your template. Here is an example for Windows XP VM…

Windows customization resources were not found on the server

Update: Make sure that you disable the shell when you finish.

shell.set –enabled false

Note that there is a well known VMware KB which discusses the location of sysprep files:

The contents of the Sysprep deploy.cab file must be extracted to the Sysprep Directory on the vCenter Server host. If the file downloaded from the Microsoft Web Site is a .cab file, the Installing the Microsoft Sysprep Tools in the vSphere Virtual Machine Administration guide details how to install the Sysprep Tools.

If the file downloaded from the Microsoft Web Site is a .exe file, these additional steps must be executed to extract the files from the .exe:

  • Open a Windows command prompt. For more information, see Opening a command or shell prompt (1003892).
  • Change to the directory where the .exe file is saved.
  • Enter the name of the .exe file with the /x switch to extract the files. For example:

WindowsServer2003-KB926028-v2-x86-ENU.exe /x

When prompted, choose a directory for the extracted files. Browse the directory and double-click the deploy.cab file.

Thanks to Jerome to point this out in the comments in my previous post where I was upgrading from VCSA 5.5…

Source: VMware vSphere 6.0 documentation center

Shares
5/5 - (2 votes)

| Filed Under: Home Lab, How To Tagged With: vcsa 6.0 sysprep, VMware vCenter Server (VCSA 6.0) Sysprep Files

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Jerome says

    March 19, 2015 at 2:24 pm

    Thank you for the article.

  2. Wesley says

    May 24, 2016 at 6:13 pm

    What’s up buddy?

    Congratulations for the post …. I have a question , I gave everything right in my , but these options ” nodes ” do not seem as soon as I enter this option it already gives me a message that does not have permission, but I have set the permissions as the statement, but it did not work , could you help me? Thank you!

    Apologies if I wrote something wrong , I am Brazilian I do not know much English.

  3. Rajeev says

    January 9, 2017 at 10:34 am

    Thanks for KB

  4. Emile says

    January 16, 2017 at 6:40 pm

    Just a heads-up. A straight copy of paste of the chsh command into putty may change the formatting of the quotes resulting in the following error: chsh: `“/bin/bash”’ does not exist
    As far as I can tell the quotes are not actually required so:
    chsh -s /bin/bash root
    is probably safer.

  5. Pissed Off says

    November 1, 2017 at 9:25 am

    The commands as listed completely destroyed my VCenter appliance. Lucky it was Dev… This post needs to updated or removed.

    • Vladan SEGET says

      November 1, 2017 at 1:52 pm

      Thanks for letting me know. I wonder if you have tested this with VCSA 6.0 as states the post. It was tested with the 6.0 ONLY. VMware has done a long journey since then…

  6. MrM says

    March 10, 2018 at 1:05 am

    Great work Vlandan. Thank you for taking the time to blog.Works great…and for the rest always backup before making changes.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in