I have a script that should do a copy of a directory of another computer of my network.
This script run at the server and the source directory (of the client machine )is mapped on server, "V:" for example..
How to do a shadow copy of the source directory (V:)?
Should I do a shadow copy? It is necessary, isn't it?
Is it possible?
Below, part of the script:
Set objShadowStorage = objWMIService.Get("Win32_ShadowCopy")
strVolume = "V:\"
errResult = objShadowStorage.Create(strVolume, CONTEXT, strShadowID)
if errResult <> 0 then
WScript.Echo("ERROR:" & errResult)
When I execute the script it returns "ERROR: 13"
ps: Both computers, Server and Client, runs Windows 2003...