Hi Team,
I have issues updating/reinstall tools where MSI package is being searched in temp local but couldn't be found. I managed to fix it by manually removing below registry entries and reboot it to load vmtools from update manager. I have also got below script to do it and it doesn't seems to work. Can anyone please point out whats missing in the batch file?
How do you run that script inside the VM's guest OS? Via Invoke-VMScript?
Do you get any error messages?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Sorry for the late update. I just tested it directly running inside guest as batch file.
As I run, it just pulls out code on the command prompt and then just gets back to prompt without any errors. But the registry entry remain without any modification.
Is there any other efficient methods to get this done?
Can you try changing that last line to
regedit %temp%\removeToolsRegistry.reg
That way you should see the eventual feedback from the regedit command.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I will test this and update