Solved

copy entire contents of a folder using group policy

Posted on 2013-11-25
5
1,182 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 53

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 53

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strangeā€¦
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. 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 editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now