Tweaking.com Support Forums
Main Forum => Tweaking.com Support & Help => Topic started by: Yoda on February 07, 2015, 11:01:14 am
-
I can start the VSS manually if I wish, but the program cannot start it to perform backups. It's always failing to start "C:\WINDOWS\temp\vss_start.bat". Or it says it can't be found.
Any ideas?
Thanks
Windows Pro SP3
-
Perhaps your antivirus is deleting the bat file? I have seen them do it before, even when disabled.
What antivirus do you have installed?
Shane
-
My antivirus is ESET's NOD32. I did try disabling it.
-
Yeah that was the same one that was deleting the bat files from my Windows repair, even when disabled. Their disabled doesnt actually disable lol. Does the logs in the AV show anything?
Shane
-
I'm not home right now. Will let you know as soon as I get home.
Thank you very much!
-
Unfortunately, there aren't any signs in the log files.
However, perhaps I could add an exclusion? Not sure what though. Any ideas?
-
Just tried adding C:\WINDOWS\Temp to ESET's Exclusions' list. Still a no go. :(
-
Try watching the windows temp folder and see if you see the bat file show up at all and then disappear, that would show that the AV is killing it. :wink:
Shane
-
Yes, the bat files (vss.bat and vss_start.bat) do appear in the Temp folder for 30 seconds before the error message appears. Then, when shutting down the backup program, the two .bat files simply disappear a few seconds later.
If ESET is responsible, what can I do about it?
-
Can you post a screen shot of the actual error message you get? And can you also post the logs from the backup.
You can also have the program use the fallback method instead and not use VSS. That is the method I use when i have it set to backup at startup, it is much faster :-)
Shane
-
(https://www.tweaking.com/forums/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FHR7atdc.png&hash=492b8f89b4d697824b4fc660fbb9f18511474dd2)
Log_Vss.txt :
[2015-02-11 - 15:15:28]
--------------------------------------------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\tweaking.com_registry_backup_portable>
--------------------------------------------------------------------------------
[2015-02-11 - 15:15:28]
--------------------------------------------------------------------------------
CD /D C:\
C:\>
--------------------------------------------------------------------------------
[2015-02-11 - 15:15:28]
--------------------------------------------------------------------------------
"C:\WINDOWS\temp\vss_start.bat"
The system cannot execute the specified program.
C:\>
--------------------------------------------------------------------------------
The fallback method does work. However, the Volume Shadow Copy method is the one you are recommending... :smiley:
-
So far I havent found any reason not to use the fallback and I like how much faster it is. MS says to use the VSS to do it, but I think that applies more for servers since I have never seen a problem with it.
Also I checked and the error from the cmd.exe "The system cannot execute the specified program." means that the file is locked and it cant read it. So your AV may be locking the file or something else is. I would just use the fallback method :-)
Shane
-
OK. I'll use the fallback method.
Thank you for your concern and especially for making these great apps!
-
Happy to help :-)
Shane
-
Oops! Really sorry. The result is the same, but the Log_Vss.txt is different. I forgot to disable Simple Software-Restriction Policy before running the last backup.
Here is the one I'm having normally:
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\tweaking.com_registry_backup_portable>
--------------------------------------------------------------------------------
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
CD /D C:\
C:\>
--------------------------------------------------------------------------------
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
"C:\WINDOWS\temp\vss_start.bat"
C:\>set path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\tweaking.com_registry_backup_portable\files
C:\>"C:\tweaking.com_registry_backup_portable\files\vss_xp.exe" -script="C:\WINDOWS\temp\vss-setvar.bat" -exec="C:\WINDOWS\temp\vss.bat" C:
--------------------------------------------------------------------------------
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
The specified path was not found.
C:\>
--------------------------------------------------------------------------------
[2015-02-11 - 15:48:35]
--------------------------------------------------------------------------------
Closed. No longer reading pipes.
--------------------------------------------------------------------------------
-
Looks like it wasnt finding C:\WINDOWS\temp\vss-setvar.bat
The reason I made the fallback method was for when there is trouble running vss. The fallback method simply calls the Windows APi to save the registry to new files, and so is a lot faster since we dont have to wait for the VSS to make a shadow copy.
Shane
-
But same thing. The two bat files are indeed appearing in the Temp folder, and disappearing after closing the program.
No big deal I guess. I'll use the fallback method from now on.