Filescrn exception add

Applies To: Windows Server 2008

Creates and configures a new file screen exception.


To use this command, you must be logged on as an administrator or a member of the Administrators group.

For examples of how to use this command, see Examples.


filescrn exception add /path:<Path> /add-filegroup:<FgName> [...] 
   [/overwrite] [/remote:<ComputerName>]


Parameter Description


Creates a file screen exception on path Path. You cannot use any wildcard characters with this parameter.

/add-filegroup:<FgName> [...]

Adds file group FgName to the list of allowed file groups for the file screen exception. If the file group name contains a space, enclose the name in quotation marks. You can use this parameter multiple times.


Overwrites a file screen exception that already exists on the path.


Performs the operation on the remote computer ComputerName.


  • To create a file screen, use the Filescrn screen command.

  • To create and manage file groups, use the Filescrn filegroup command.

  • The shortest sequence of characters that uniquely identifies a parameter can be used as an abbreviation. For example, the following two commands are equivalent:

    filescrn e a /p:d:\scratch\temp /a:"Temporary Files"
    filescrn exception add /path:d:\scratch\temp /add-filegroup:"Temporary Files"
  • To perform operations on a remote computer by using the **/remote:**ComputerName parameter:

    • You must be logged on with a domain account that is a member of the Administrators group on both the local computer and the remote computer.

    • The remote computer must be running Windows Server 2008, and File Server Resource Manager must be installed.

    • The Remote File Server Resource Manager Management exception on the remote computer must be enabled. You enable this exception by using Windows Firewall in Control Panel.


  • To create a file screen exception in the D\scratch\temp folder that allows files that belong to the Temporary Files group, type:

    filescrn exception add /path:d:\scratch\temp /add-filegroup:"Temporary Files"

Additional references

Command-Line Syntax Key

Filescrn exception