VMware Tools silent install not suppressing reboot prompt

Hi,

the screenshot of the prompt that you linked is from Windows, not the VMWare itself.
Meaning it's the driver that was currently installed in the background that triggered that reboot prompt, not the VMWare installer routines.
That is why next time it does not happen as it's already installed.
Would be nice if you post this info on the VMWare forum for the future reader's clarity.

As to how to block that prompt, hm, let's see:
- Extract the drivers from the package and directly integrate them, that way Windows will already have it installed on logon.
- Another solution would be to wrap it in the AutoIT script and click the don't reboot automatically.

I like the first solution, might even automate it if this becomes a widespread requirement.
Btw all of this does not apply to real machines, just in case there is the confusion. Once happening for the admin on the first logon is not a big deal.

Thanks.
 
Hi,

the screenshot of the prompt that you linked is from Windows, not the VMWare itself.
Meaning it's the driver that was currently installed in the background that triggered that reboot prompt, not the VMWare installer routines.
That is why next time it does not happen as it's already installed.
Would be nice if you post this info on the VMWare forum for the future reader's clarity.

As to how to block that prompt, hm, let's see:
- Extract the drivers from the package and directly integrate them, that way Windows will already have it installed on logon.
- Another solution would be to wrap it in the AutoIT script and click the don't reboot automatically.

I like the first solution, might even automate it if this becomes a widespread requirement.
Btw all of this does not apply to real machines, just in case there is the confusion. Once happening for the admin on the first logon is not a big deal.

Thanks.

I attempted to integrate the drivers with no luck, the prompt still appears.

This was my process:

1. Extract the contents to C:\Temp by running VMWareTools.exe /A /P "C:\Temp" and then specifying "C:\Temp" as the extraction point for the installer.
2. Found the Driver folder
3. Dragged the Driver folder into NTLite's driver section
4. Processed.

This lead to the VM installing but VMWare Tools are not installed. They are needed for a number of services such as guest isolation features.

I also tried a build where I also installed VMWare Tools while also having the drivers, and the prompt still appeared.

If I'm doing this wrong, how would I go about your 1st recommendation? nuhi
 
Yeah I confirmed, in Win7 there is that popup even if drivers pre-integrated, in Win10 there is no such popup.
It means the Tools is adding the software/virtual Win7 devices only once installed.

Adding a reboot at the end after installing the tools is a nice workaround.
I just confirmed by integrating a CMD/BAT file with this content:
Code:
shutdown -r -t 3
(3 seconds on purpose)
The trick is to put the reboot command in an external batch file, won't work directly from setupcomplete.cmd.
It prompts and silently reboots in a few seconds, then it's of course without a prompt once logged on again.

Don't forget to put reboot as the last command, and if you have some row movement issues, will fix those, just select some below and push up.

Hopefully that helps.
 
Yeah I confirmed, in Win7 there is that popup even if drivers pre-integrated, in Win10 there is no such popup.
It means the Tools is adding the software/virtual Win7 devices only once installed.

Adding a reboot at the end after installing the tools is a nice workaround.
I just confirmed by integrating a CMD/BAT file with this content:
Code:
shutdown -r -t 3
(3 seconds on purpose)
The trick is to put the reboot command in an external batch file, won't work directly from setupcomplete.cmd.
It prompts and silently reboots in a few seconds, then it's of course without a prompt once logged on again.

Don't forget to put reboot as the last command, and if you have some row movement issues, will fix those, just select some below and push up.

Hopefully that helps.

That’s what I ultimately ended up doing. Thank you for doing your due diligence to verify everything.
 
Back
Top