Solved

copy entire contents of a folder using group policy

Posted on 2013-11-25
5
1,473 Views
Last Modified: 2013-12-02
Hello:

I am trying to use GPO > computer configuration > Preferences > Windows setting > Files
to copy all the files inside a folder to another destination.

Using Action
source file:  \\servername\templates\*.*  
destination:  c:\templates\

For some reason it's not working.  Am I missing a setting.
0
Comment
Question by:pllr
  • 3
  • 2
5 Comments
 
LVL 54

Expert Comment

by:McKnife
ID: 39676885
Hi.

Let's start basic trouble shooting:
-is the source accessible by the computer account of your test workstation? (read access)
-is the destination accessible (write access)?
-did you do a gpresult /h resultsfile.html to see if the policy even applied and the settings got processed?
-can you distribute single files this way?
-did you try ...\templates\* as well?

We should find it very soon.
0
 

Author Comment

by:pllr
ID: 39678570
Thanks McKnife...

RE:

-is the source accessible by the computer account of your test workstation? (read access)
YES it has domain user access

-is the destination accessible (write access)?
Yes same as above

-did you do a gpresult /h resultsfile.html to see if the policy even applied and the settings got processed?
I ran a GPRESULT /R not /h...I'lldo that now.

-can you distribute single files this way?
I read that the only way to distribute multiple files was to use the GPO > computer settings > windows setting > files
I tried it with a single file and it works

-did you try ...\templates\* as well?
yes same result
0
 

Author Comment

by:pllr
ID: 39678574
I know I could use a login script to do this but I rather keep everything in GPO so it's centralized.
0
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 39679969
So... what were the results of gpresult?
And just to make sure: "YES it has domain user access" - does that mean the group "authenticated users" has access? Because domain user access is not sufficient as the processing account is no domain user but the computer account.
0
 

Author Comment

by:pllr
ID: 39691249
Results of gpresult /h

Security Group Membership when Group Policy was applied
BUILTIN\Administrators
Everyone
BUILTIN\Users
NT AUTHORITY\NETWORK
NT AUTHORITY\Authenticated Users
NT AUTHORITY\This Organization
PRYKELAMBERT\WORLDOXINDEXER1$
PRYKELAMBERT\Domain Computers
Mandatory Label\System Mandatory Level


I ended up using a bat script to copy the files...
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

830 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