共用方式為


Files Extension

Applies To: Windows Server 2008

Group Policy includes the Files preference extension. For computers or users, this extension allows you to:

  • Copy a file (or multiple files in one folder) to a new location and then configure the attributes of those files. New subfolders are created as necessary.

  • Delete a file (or multiple files in one folder) and replace it with a copy of a file from a source folder.

  • Modify the attributes of a file (or multiple files in one folder).

  • Delete a file (or multiple files in one folder).

  • Modify the attributes of, replace, or delete all files with a particular extension in one folder.

  • Modify the attributes of, replace, or delete all files in a particular folder.

Note

To configure folders rather than individual files, see Folders Extension.

Getting started

You can create and configure File preference items for any domain-based Group Policy object (GPO). You configure the settings by editing a GPO using the Group Policy Management Console. When editing a GPO, you can find this preference extension at the following location:

Computer Configuration or User Configuration

**   └ Preferences**

**      └ Windows Settings**

**         └ Files**

For information about how to use this extension to create and configure a preference item, see the following topics: