通过使用文件分类基础结构和文件服务器资源管理器,你可以为文件夹设置保留期并将文件分类为合法保留。
Prerequisites
本文中的步骤假定你已经配置了用于文件过期通知的 SMTP 服务器。
步骤 1:创建资源属性定义
在此步骤中,你将启用“保留期”和“可发现性”资源属性,以便文件分类基础结构可以使用这些资源属性来标记已在网络共享文件夹上扫描的文件。
创建资源属性定义:
在域控制器上,以 Domain Admins 安全组成员的身份登录到服务器。
打开“Active Directory 管理中心”。 In Server Manager, select Tools, and then select Active Directory Administrative Center.
展开“动态访问控制”,然后选择“资源属性”。
Right-click Retention Period, and then select Enable.
Right-click Discoverability, and then select Enable.
步骤 2:配置通知
在此步骤中,你将使用文件服务器资源管理器控制台来配置 SMTP 服务器、默认管理员电子邮件地址,以及从中发送报告的默认电子邮件地址。
要配置通知:
以管理员安全组成员的身份登录到文件服务器。
From the Windows PowerShell command prompt, type Update-FsrmClassificationPropertyDefinition, and then press ENTER. 这会将域控制器上创建的属性定义同步到文件服务器。
打开文件服务器资源管理器。 In Server Manager, select Tools, and then select File Server Resource Manager.
右键单击“文件服务器资源管理器(本地)”,然后选择“配置选项”。
On the Email Notifications tab, configure the following parameters:
在“SMTP 服务器名称或 IP 地址” 框中,键入你网络上的 SMTP 服务器的名称。
在“默认管理员收件人” 框中,键入应收到通知的管理员的电子邮件地址。
在“默认的‘发件人’电子邮件地址”框中,键入应用来发送通知的电子邮件地址。
Select OK.
步骤 3:创建文件管理任务
在此步骤中,你使用文件服务器资源管理器控制台来创建一个文件管理任务,该任务使满足以下条件的文件过期:
- 该文件未被归类为处于法律封存状态。
- 文件归类为具有长期保留期。
- 文件在最近 10 年内未修改。
- 该任务将在每月的最后一天运行。
创建文件管理任务:
以管理员安全组成员的身份登录到文件服务器。
打开文件服务器资源管理器。 In Server Manager, select Tools, and then select File Server Resource Manager.
右键单击“文件管理任务”,然后选择“创建文件管理任务”。
On the General tab, in the Task name box, type a name for the file management task, such as Retention Task.
On the Scope tab, select Add, and choose the folders that should be included in this rule, such as D:\Finance Documents.
On the Action tab, in the Type box, select File expiration. In the Expiration directory box, type a path to a folder on the local file server where the expired files will be moved. 此文件夹应具有访问控制列表,该列表仅授予文件服务器管理员访问权限。
On the Notification tab, select Add.
选中“将电子邮件发送至下列管理员” 复选框。
选中“向用户发送一封带有受影响的文件的电子邮件”复选框,然后选择“确定”。
On the Condition tab, select Add, and add the following properties:
In the Property list, select Discoverability. In the Operator list, select Not equal. In the Value list, select Hold.
In the Property list, select Retention Period. In the Operator list, select Equal. In the Value list, select Long-Term.
On the Condition tab, select the Days since file was last modified check box, and then set the value to 3650.
On the Schedule tab, select the Monthly option, and then select the Last check box.
Select OK.
步骤 4:手动分类文件
在此步骤中,你将手动将文件归类为法律封存状态。 此文件的父文件夹将分类为具有长期的保留期。
手动对文件进行归类:
以管理员安全组成员的身份登录到文件服务器。
导航至已在步骤 3 中创建的文件管理任务作用域中配置的文件夹。
Right-click the folder, and then select Properties.
On the Classification tab, select Retention Period, select Long-Term, and then select OK.
Right-click a file within that folder, and then select Properties.
On the Classification tab, select Discoverability, select Hold, select Apply, and then select OK.
在文件服务器上,通过使用文件服务器资源管理器控制台来运行文件管理任务。 在文件管理任务完成后,检查该文件夹并确保该文件未移到过期目录。
Right-click the same file within that folder, and then select Properties.
On the Classification tab, select Discoverability, select Not Applicable, select Apply, and then select OK.
在文件服务器上,通过使用文件服务器资源管理器控制台,再次运行该文件管理任务。 在文件管理任务完成后,检查该文件夹并确保该文件已移到过期目录。