Log messages not gathered on Windows with vc-support.bat
book
Article ID: 340183
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
When vCenter Server on Windows runs with non-default administrator user account, vc-support.bat does not collect log messages. Instead, you receive a warning message stating that the script should be run as administrator.
By default, and when Windows UAC system is active, Windows non-default administrators do not have permissions to access certain directories (for example, C:/ProgramData). The vc-support script stores information about the logs in manifest files that reside in a protected directory. Because the vc-support script cannot access manifest information, the script displays a warning message and creates an empty archive.
Environment
VMware vSphere ESXi 6.0 VMware vCenter Server 6.0.x
Resolution
To resolve this issue, generate the vCenter Server log bundle, run vc-support.bat directly. You can do this by performing one of the following:
In Windows Explorer, right-click vc-support.bat and select Run as administrator.
In the Start menu, right-click the Generate vCenter Server log bundle shortcut and select Run as administrator.
Alternatively, you can also create a Windows shortcut, adjust the shortcut properties, and set the Run as administrator option. To do this:
Create a shortcut of the vc-support.bat file.
Right-click the created shortcut and select Properties.
In the Properties dialog, select the Shortcut tab and click Advanced.
Enable the Run as administrator checkbox, and click OK.