The source of that bat is as follows:
Code: Select all
echo startScript >> c:\a.txt
if "%1%" == "freeze" goto doFreeze
if "%1%" == "freezeFail" goto doFreezeFail
if "%1%" == "thaw" goto doThaw
goto EOF
:doFreeze
echo freeze >> c:\a.txt
net stop "SQL Server (SQLEXPRESS)"
goto EOF
:doFreezeFail
echo freezeFail >> c:\a.txt
net start "SQL Server (SQLEXPRESS)"
goto EOF
:doThaw
echo thaw >> c:\a.txt
net start "SQL Server (SQLEXPRESS)"
goto EOF
:EOF
After that I have initiated a snapshot with quiescence. A.txt was not created not SQL server was stopped. Of course when I try to backup this machine (with VmWare Tools enabled) bat file is not fired.
W2K is placed on ESXi4 host and has VmTools build 176525. When I do the same on W2K3Host - it works without a problem.
Anyone any idea why it is not working?