Issues with synchronize script

Advertisement

freaky
Joined:
Posts:
5

Issues with synchronize script

Hi,
we want to synchronize Windows CA CRL directory to remote website.
If I use:
synchronize remote -delete -filemask="*.crl; *.crt; *.pem" "C:\Windows\System32\certsrv\CertEnroll" "/remote/path/CertEnroll"
It will throw an error:
Error listing directory 'C:\Windows\System32\certsrv\CertEnroll\*.*'.
Error retrieving file list for "C:\Windows\System32\certsrv\CertEnroll\*.*".
System Error. Code: 3.
The system cannot find the path specified
(A)bort, (R)etry, (S)kip: Abort
Error listing directory 'C:\Windows\System32\certsrv\CertEnroll\*.*'.
Error retrieving file list for "C:\Windows\System32\certsrv\CertEnroll\*.*".
System Error. Code: 3.
The system cannot find the path specified
This happens even when running from an administrator cmd.exe in which we can cd to the directory and list its contents (and read them) just fine.

If I change the local folder to C:\Test all is well, but the file aren't there.

Is there something in the code blocking access to C:\Windows or something?

Reply with quote

Advertisement

freaky
Joined:
Posts:
5

Seems to work fine for c:\windows and c:\windows\system32, starts going wrong when accessing c:\windows\system32\certsrv.

There are no deny rights on the folder whatsoever that I can see. However, there are 2 special groups on it, ALL APPLICATION PACKAGES & ALL RESTRICTED APPLICATION PACKAGES, these both have rights as well.

Guessing that an app would have to be a member of those groups or will be rejected otherwise.

Reply with quote

Advertisement

You can post new topics in this forum