Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Danny van Oijen
2019-05-08T14:30:45Z
Hi,

When i use the following script inside powershell on the vcron server itself it works:
$SourceFolder = "\\<IPADDRESS>\test$\"
$TargetFolder = "\\IPADDRESS\company$\TEST\test\"

Robocopy $SourceFolder $TargetFolder /MIR /FFT /Z /XA:H /W:5


However if i create a job in Visualcron it does not work.
The result is:

ERROR 5 (0x00000005) Getting File System Type of Source \\<IPADDRESS>\test$\
Access is denied.

and

ERROR 5 (0x00000005) Accessing Source Directory \\<IPADDRESS>\test$\
Access is denied.
Sponsor
Forum information
Support
2019-05-08T14:34:57Z
Normally this is because of missing Credentials.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Danny van Oijen
2019-05-08T14:36:13Z
Ok, when i insert net use \\<IPADDRESS> /USER:Administrator <PASSWORD> *
It does not work either....
Support
2019-05-08T14:37:26Z
I mean in the Task, that you need to run as a user with network access.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Danny van Oijen
2019-05-08T14:37:53Z
An also when using the file sync, and using the correct permissions i still get access denied errors.
Support
2019-05-08T14:54:19Z
So, did you select a Credential in the Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Danny van Oijen
2019-05-09T06:24:10Z
Ok, i fixed it by creating the same user credentials on both servers....
Scroll to Top