Gar
2009-09-29 16:21:03 UTC
Hi,
I've just wrote a very short and simple batch files which copies some files
onto a set of computers on start up, this batch file is assigned as a GPO to
a Computer OU, via Startup script.
The batch file basically has the following command and I can confirm that it
executes fine under the context of a user.
IF EXIST C:\Folder1 COPY \\DOMAIN_PC1\Folder\File1 C:\Folder1
The GPO is copied to the Domains\SysVol\Domains\Policies\ folder on the DC
The source files to be copied are located under DOMAIN_PC1
Both of the above has been permissioned with full access to both
Authenticated Users and also to Domain Computers, as I believe Start Up
scripts are executed under the context of a computer account.
However, the copy job fails on boot up, and nothing in the event log
indicates what is going wrong. I've left it long enough for full replication
to take place across the DCs.
Any ideas guys?
I've just wrote a very short and simple batch files which copies some files
onto a set of computers on start up, this batch file is assigned as a GPO to
a Computer OU, via Startup script.
The batch file basically has the following command and I can confirm that it
executes fine under the context of a user.
IF EXIST C:\Folder1 COPY \\DOMAIN_PC1\Folder\File1 C:\Folder1
The GPO is copied to the Domains\SysVol\Domains\Policies\ folder on the DC
The source files to be copied are located under DOMAIN_PC1
Both of the above has been permissioned with full access to both
Authenticated Users and also to Domain Computers, as I believe Start Up
scripts are executed under the context of a computer account.
However, the copy job fails on boot up, and nothing in the event log
indicates what is going wrong. I've left it long enough for full replication
to take place across the DCs.
Any ideas guys?