[gptalk] Re: Copy files with Group Policy Preferences
- From: "Cruz, Jerome L" <jerome.l.cruz@xxxxxxxxxx>
- To: "gptalk@xxxxxxxxxxxxx" <gptalk@xxxxxxxxxxxxx>
- Date: Thu, 29 May 2008 19:13:19 -0500
I had problems with that as well earlier this week (first time use...just never
needed to use *.* before this). Apparently, the syntax has to be "very"
specific on both the source and target. Instead of installing the GPMC scripts
as a WMI tool, having that be part of our server 2008 Build image, and
constantly having to 'test' it as an independent component of the build, I just
wanted to copy the GPMC Scripts there directly. Perfect example of this kind of
use as a Preference. After about 16 tries using various syntax examples, here's
what I got to work:
Source:
\\zzz.tl.xxx.com\SYSVOL\zzz.tl.xxx.com\Policies\{FFAD367D-3FE3-447C-AE20-30FDFE1B3956}\Machine\Files\xxx
Group Policy\GPMC Sample Scripts\*.*
Destination: %ProgramFilesDir%\xxx Group Policy\GPMC Sample Scripts\
Took me a while to understand that to build it correctly, I had to specify a
"source" location that contains at least one file (a parent folder doesn't seem
to work...I had wanted to use... ...30FDFE1B3956}\Machine\Files\*.* and that
didn't work, but I need to test some more). As well, I had to specify the full
path of the destination folder and (TADA) use a trailing backslash before
things started to work correctly. Also note that I just wanted to place the
files within the GPO for ease of access. That's why the use of the fully
qualified UNC path. That path is available almost from the get-go after the
device is booted and the network started (zzz - domain name, tl - test lab, zzz
- my company name).
Try this and let me know if it works for you. Good Luck.
Here's the report...
Preferences
Windows Settings
Files
File (target path: %ProgramFilesDir%\xxx Group Policy\GPMC Sample Scripts\)
The following settings have applied to this object. Within this category,
settings nearest the top of the report are the prevailing settings when
resolving conflicts.
Copy GPMC Scripts
Winning GPO EntGPO WS8 DSP
Result: Success
General
Action Create
Properties
Source file(s)
\\zzz.tl.xxx.com\SYSVOL\zzz.tl.xxx.com\Policies\{FFAD367D-3FE3-447C-AE20-30FDFE1B3956}\Machine\Files\xxx
Group Policy\GPMC Sample Scripts\*.*
Destination file %ProgramFilesDir%\xxx Group Policy\GPMC Sample Scripts\
Attributes
Read-only Disabled
Hidden Disabled
Archive Enabled
Jerry Cruz | Group Policies Product Manager | Boeing IT
-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Nelson, Jamie R
Sent: Wednesday, May 28, 2008 2:56 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Copy files with Group Policy Preferences
Sure, I've used that feature since PolicyMaker. Works fine for me. You
sure you have the permissions set correctly for the source you're
copying from?
Jamie Nelson | Systems Engineer | Systems Support, Information
Technology | I N T E G R I S Health | Phone 405.552.0903 | Fax
405.553.5687 | http://www.integrisok.com
-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
On Behalf Of Sunshine Baines
Sent: Wednesday, May 28, 2008 4:50 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Copy files with Group Policy Preferences
Anyone have success with copying files (*.*) with Group Policy
Preferences? I configured the preference, but it's not doing
anything.
Thanks,
Sunshine
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
by logging into the freelists.org Web interface. Archives for the list
are available at http://www.freelists.org/archives/gptalk/
************************
This e-mail may contain identifiable health information that is subject to
protection under state and federal law. This information is intended to be for
the use of the individual named above. If you are not the intended recipient,
be aware that any disclosure, copying, distribution or use of the contents of
this information is prohibited and may be punishable by law. If you have
received this electronic transmission in error, please notify us immediately by
electronic mail (reply).
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
logging into the freelists.org Web interface. Archives for the list are
available at http://www.freelists.org/archives/gptalk/
************************
- Follow-Ups:
- [gptalk] Re: Copy files with Group Policy Preferences
- From: Cruz, Jerome L
- [gptalk] Re: Copy files with Group Policy Preferences
- From: sunshine . baines
- References:
- [gptalk] Copy files with Group Policy Preferences
- From: Sunshine Baines
- [gptalk] Re: Copy files with Group Policy Preferences
- From: Nelson, Jamie R
Other related posts:
- » [gptalk] Copy files with Group Policy Preferences
- » [gptalk] Re: Copy files with Group Policy Preferences
- » [gptalk] Re: Copy files with Group Policy Preferences
- » [gptalk] Re: Copy files with Group Policy Preferences
- » [gptalk] Re: Copy files with Group Policy Preferences
- [gptalk] Re: Copy files with Group Policy Preferences
- From: Cruz, Jerome L
- [gptalk] Re: Copy files with Group Policy Preferences
- From: sunshine . baines
- [gptalk] Copy files with Group Policy Preferences
- From: Sunshine Baines
- [gptalk] Re: Copy files with Group Policy Preferences
- From: Nelson, Jamie R