Salta al contenuto principale

Failed to Run Script for Exchange Aware Backup

Thread needs solution

I have been running vmProtect 8 , and 9, and now Backup for Vmware on the same SBS 2011 system for a few years. Suddenly it started failing every time I ran a scheduled or manual backup. The error seems to be related to running a script. I searched the forum and found these suggestions:

1) Restarting VMware Tools inside the VM
2) Reinstallation of VMware Tools inside the VM (will require 2 reboots - one for uninstall and one for install)
3) Reboot of ESXi host where the VM resides (ultimate measure and typically it might help only temporary)

All three have been tried and did not help. I then deleted the backup task and have tried to recreate it. When I check the box that the VM is an Exchange, SQL, etc system and enter my Admin credentials I get and unexpected error message. The detail behind the error message is this:

Message: Failed to run script 'cd "C:\Users\Mike\AppData\Local\Temp\830BEB3F-2648-4CED-8562-35BBA6CDD7D6\" && cscript /NoLogo GuestAgent.vbs >61A7BBDF-43FD-47C3-B74D-0574B115CCF7'.

And the details are this:

Code: 27066484 (0x019D0074)
Line: 836463A653DED97A
Message: An error has occurred while executing command 'check_applications_scheme'.

============
Code: 27066502 (0x019D0086)
Line: 2DCACDBBEFEBE314
Message: An error has occurred while detecting applications.

============
Code: 11337743 (0x00AD000F)
Line: C93597B64F4E1C1C
Message: Error: Unhandled routine exception.

============
Code: 35258376 (0x021A0008)
Line: 6B0AD8FCB152DDC3
Message: Unexpected error occured while loading application scheme

============
Code: 35260371 (0x021A07D3)
Line: 4633BA647DB0B314
Message: Error occured while checking application's properties

============
Code: 35260370 (0x021A07D2)
Line: 2A7F716ABAAAB050
Message: Error occured while loading applications through Vm proxy

============
Code: 5439727 (0x005300EF)
Line: B7E5B06CCBF4EAC0
Message: Failed to execute agent 'cscript /NoLogo GuestAgent.vbs' with parameters '{ }'.

============
Code: 5439728 (0x005300F0)
Line: C6CBA1A4F8372E59
Message: Failed to run script 'cd "C:\Users\Mike\AppData\Local\Temp\830BEB3F-2648-4CED-8562-35BBA6CDD7D6\" && cscript /NoLogo GuestAgent.vbs >61A7BBDF-43FD-47C3-B74D-0574B115CCF7'.

============
Code: 5439627 (0x0053008B)
Line: C6CBA1A4F8372E53
RetCode: 1
Message:

Any help would be greatly appreciated!

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Messaggi: 22
Commenti: 3800

Hi!

It appears that there were some changes recently made inside the SBS VM, i.e. some applications were installed or probably there were changes in antivirus configuration. The problem is that the GuestAgent.vbs script cannot run inside the VM. So far we've seen the following confirmed reasons:

1) The system TEMP path variable was customized and refered to non-system disk (e.g. D:\Temp\)
2) The Kaspesky Antivirus substituted the default PATH variable with its own paths where cscript engine tried to load from. It was giving "CScript Error: Can't find script engine "VBScript" for script "C:\AcronisTemp\GuestAgent.vbs"." when trying to run the script manually. The solution was to revert back to original PATH variable settings as described in http://www.sevenforums.com/windows-updates-activation/196011-cscript-er…

In your case the 1) reason is not applicable (the log shows that the script is placed in correct Temp location), so likely it is similar to point 2).

I will send you an extracted GuestAgent.vbs script with further troubleshooting instructions in a private message.

Thank you.
--
Best regards,
Vasily
Acronis Virtualization Program Manager