Solved

copy entire contents of a folder using group policy

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no backā€¦
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operatingā€¦
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.

803 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