Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

copy entire contents of a folder using group policy

Posted on 2013-11-25
5
Medium Priority
?
2,221 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 57

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 57

Accepted Solution

by:
McKnife earned 1500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
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.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

916 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