Solved

How do I schedule a robocopy to remote computer on a DMZ?

Posted on 2010-08-31
6
1,004 Views
Last Modified: 2012-05-10
I have a batch file that I can run manually as my own account and it will run a robocopy that copies files from a remote box in a perimeter network to my server (From 172.x.x.x to 192.168.x.x) but it only works when I am logged in. Even if it's scheduled it will run if I'm logged in.

If I'm not logged in it does nothing... permissions likely

I'd like to run it as the local account but it constantly fails the verification process.
When I try to run it as another account I can't get that account to work.

"An error has occured while attempting to set task account information. The specific error is: 0x80041310: Unable to establish existence of the account specified. Ensure the account name specified is valid."

Problem is that I need to run it from within my network to copy the files from the perimeter server to our internal file server but I can't get an account to run the scheduled task without being logged in.

Suggestions?


0
Comment
Question by:jvanvoorhees
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33571785
You must create a service to run it without logging in to the computer, that's the only way.
0
 
LVL 3

Expert Comment

by:G3m1n1
ID: 33571815
A scheduled task on your server should work, I have used them myself, without being logged into the server.  Not sure which OS your server is but there should be an option to run the scheduled task if the user account is logged on on or not, you should see that option when you create a new scheduled task.
0
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33573047
I checked and it seems possible. Check this link and you'll see all you need...

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_23995839.html
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:jvanvoorhees
ID: 33577243
VBDotNetCoder: That is unchecked - very important. And Thanks for the link. I checked it. It does say that it is running however new files are not robocopied over.
G3m1n1: should work but maybe perimeter to internal is the issue.

Again, the server I am attempting to copy from is on a paremeter network and is not attached to our domain.

The batch job simply runs a series of robocopy jobs to move data from a perimeter server to an internal server. When I manually log into my internal server and run the job (manually or as scheduled) it works. If I am not logged into the internal server it fails to run the robocopy correctly (new files are not copied).

0
 

Accepted Solution

by:
jvanvoorhees earned 0 total points
ID: 33577256
Oh.... grrrrr....i feel dumb.

It's because my robocopy had a mapped drive in it. What a rookie mistake. Resolved. Thanks for the attention.
0
 
LVL 3

Expert Comment

by:VBDotNetCoder
ID: 33578573
glad it worked :)
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cloud-based web filter/proxy - can it be done? What is the best software to use? 7 66
DHCP lease duration / Migration 8 53
Dns issues 4 37
Switch ports not working 8 34
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question