Hello Steve_,
its syntax is pretty simple. As How to restore files ... says, you start with scc.exe list (perhaps you could post its output here), then follow with scc.exe restore -recordid=nnn (where nnn is the item's recordid obtained with scc list). What is the error you get?
Christian
Hello Steve_,
Failed to create a SAVI factory
Return value: 0x00000004
this suggests it can't find/load the SAVI.dll. Can't say where it searches for this DLL if you have (only) the SVRT installed (you didn't uninstall it, did you?) but anyway scc.exe tries also the directory it is running from. SAVI.dll is in the \Program Files\Sophos\Sophos Virus Removal Tool\engine\ folder. Put scc.exe into this folder and run it from there.
HTH
Christian
Using scc.exe from the engine subfolder seems to have done the trick!
Can you use double quotes in the -bindir= option to target remote 'bins'? If not I can always tie something together with powershell in case?
Also, if modifying the config.xml file to change EnableSafeClean="yes" to EnableSafeClean="no", will that disable the encryption function but still move the detected malware to the default "quarantine" folder?
Hello Steve_,
(disclaimer: I'm not Sophos and have no extended knowledge of SafeClean and scc)
use double quotes in the -bindir= option to target remote 'bins'
Dunno why you'd need double quotes for remote. The usual parsing and passing rules of the cmd shell apply, scc.exe verifies the (already parsed) parameter is a syntactically correct path, that an eventual remote share exists and then uses a standard API to locate the bin. There's one catch though as scc.exe attempts to store to the original location - I haven't tested it but I doubt it will create the path if it doesn't exist.
change EnableSafeClean="yes" to EnableSafeClean="no"
SafeClean takes an encrypted backup when a file is cleaned - move is another option to deal with an infected file (and AFAIK not available with SVRT - note that the Quarantine is "just" a list of threats which have not been dealt with). Thus setting it to "no" simply disables the backup.
Christian