0

I created a GPO and wanted to use the Group Policy Management to copy files to another computers.

(Computer Configuration > Preferences > Windows setting >Files)

Action: Create
Source File: \\servername\abc\test.txt
Destination File: C:\abc\test.txt

However, no file is copied. Then, using the event viewer to view the log but the log had not any errors. So, I thought the problem is related to permission issue. I tried to create everyone in the abc folder. The share folder also allowed everyone to access. Using file copy with GPO still not works.

Greg Askew
  • 35,880
  • 5
  • 54
  • 82
Timothy T.T
  • 1
  • 1
  • 1
  • You can check if the GPO is applied on the target computer with the following command (as admin) `gpresult /h c:\temp\report.html /s system`. Can you see your GPO in the list ? – Swisstone Apr 21 '20 at 09:49
  • @Swisstone Yes, I can see the GPO in the list. – Timothy T.T Apr 21 '20 at 10:43
  • Add the following registry key/values on the target computer, then `gpupdate`, and see what errors are in the log file: `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{7150F9BF-48AD-4da4-A49C-29EF4A8369BA}` => `LogLevel` (Type: DWORD, Value: 3) and `TraceLevel` (Type: DWORD, Value: 2) and `TraceFilePathMachine` (Type: REG_SZ, Value: c:\temp\GPPFileTrace.log for example) – Swisstone Apr 21 '20 at 11:24
  • @Swisstone Thank u so much. I found the errors from the log file. The error is the network path not found. So, I found that the source file path typo. It should type the absolute path. – Timothy T.T Apr 23 '20 at 09:00

1 Answers1

0

It seems that "Computer Configuration" can't copy files. Even if a PC account has full access to both directories.

Only "User Configuration" works fine

Dave M
  • 4,514
  • 22
  • 31
  • 30
vvv
  • 1