if exists folder
(
value "InstallLocation" of key whose
(
value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase
)
of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs"
)
AND exists file whose
(
name of it contains ".log" AND
(
creation time of it = maximum of creation times of files of parent folder of it
)
AND
(
exists lines whose
(
it contains " avtar Info <10662>: Unable to create volume snapshot; backup proceeding with original (non-snapshot) volume content. Some file content may not be backed up."
)
of it
)
)
of folder
(
value "InstallLocation" of key whose
(
value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase
)
of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs"
)
then "VSS Errors" else "No VSS Errors"
if exists folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") AND exists file whose (name of it contains ".log" AND (creation time of it = maximum of creation times of files of parent folder of it) AND (exists lines whose (it contains " avtar Info <10662>: Unable to create volume snapshot; backup proceeding with original (non-snapshot) volume content. Some file content may not be backed up.") of it)) of folder (value "InstallLocation" of key whose (value "DisplayName" of it as string as lowercase contains "EMC Avamar" as lowercase) of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry as string & "var\clientlogs") then "VSS Errors" else "No VSS Errors"