How to get Windows guest customization status from VMTools guestinfo property
search cancel

How to get Windows guest customization status from VMTools guestinfo property

book

Article ID: 305397

calendar_today

Updated On:

Products

VMware VMware vSphere ESXi

Issue/Introduction

This article provides information about retrieving the Windows guest customization status from VMTools guestinfo property using guestinfo.gc.notification.

Environment

VMware vSphere 6.7.x

Resolution

The VMTools guestinfo property guestinfo.gc.notification can be queried to identify Windows guest customization status from guest VM. 
  • When customization starts, guestinfo.gc.notification is set to Started.
  • After customization is done, and the system has rebooted, guestinfo.gc.notification is set to Completed.
  • When customization gets error, guestinfo.gc.notification is set to %error_string%.
This property can be queried by regular Tools commands:

<detected_path>/vmtoolsd[.exe] --cmd "info-get guestinfo.gc.notification"

Note: The result will be Started or Completed or %error_string%.