Skip to content

Not working when launched from windows 7 task scheduler #17

Description

@trokolo

Hello from Spain.
I am using for first time this great tool. The os is Windows 7 Pro.
I have a bat file that uses shadowspawn.exe to create a snapshot of my d: logical unit and mount it on letter k:. In the same command I have another bat that launches robocopy to copy some folders. Something like this:

step1.bat:
shadowspawn D:\ K: step2.bat

step2.bat
Robocopy /MIR "K:\Data" "\Server\Backup\data"
Robocopy /MIR "K:\Data2" "\Server\Backup\data2"
...

If I launch step1.bat directly doing doubleclick it works perfectly. But if I put them into a scheduled task it not works. The scheduled task is running with highest privileges and into a Admin account (the same account that is running).
Any ideas of what can be happening?

Thank you so much.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions