Backup vbs script (run by task scheduler)

vincentefa

Member
Joined
Oct 27, 2009
Messages
1
Hi !

I have a backup vbscript that I use to copy a folder that I have on my system (windows server 2008) on a different server (windows server 2003). When I run it manually it works fine.

I want to run it with the task scheduler every days. I created a new task that runs my vbs file. When I run it manually it only works when I choose "run only if the user is connected" in the properties of my new task. I want to run it even if no session is started on this server.

I tried to lauch my vbs with a bat file and I got that :

e:\backup_folfer.vbs(411, 6) Erreur d'excution Microsoft VBScript: Priphrique non disponible

which means that the device is not available

(which not occurs when I run it manually ->double click on the vbs file from the server)

I want to make the copy on a server that has rights restrictions and I have to be logged as an administrator to copy files on it.

I don't really know what I can do...Someone has a solution ?

Thank you very much ;)

Vincent.
 
Back
Top