Computer Tips and Tricks
Get the latest posts via rss

Monday 15 February 2010

Exporting and Importing File Screen Settings for Server 2008

Included in Windows Server 2008 and 2008 R2 is "File Server Resource Manager" which enables Network Administrators to set up Disk Quotas and File Screening. File Screening is particularly useful for protection against known viruses and preventing users from storing certain file types.


There are several File Screen groups and Templates already configured if you choose to use them.



However if your organisation is anything like mine, then these will not be sufficient and you will want to create custom ones.

But what if you want to change files servers or add another to your network with the same file screens? There is no export/import in the File Server Resource Manager. You can get around this by scripting the Export/Import of the File Groups and File Screen Templates via XML Files.

Once you have configured your first File Ferver, set up your File Group Lists and File Screen Templates and then load an "Administrative" Command Prompt and use the following commands.

First to export the File Lists:
  • Navagate to c:\windows\system32
  • Type: filescrn filegroup export /file:[Location you wish to save the exported XML]\[File Name].xml /filegroup:"[File Group Name]"
  • Do this for each File Group

Now to Import on to the New File Server:
  • Navagate to c:\windows\system32
  • filescrn filegroup import /file:[Location of the exported XML]\[File Name].xml /filegroup:"[File Group Name]"
  • Do this for each File Group

To Export & Import the File Screen Templates use the following commands:

To Export:
filescrn template export /file:[Location you wish to save the exported XML]\[Template Name].xml /template:"[File Screen Template Name]"

To Import:
filescrn template import /file:[Location of the exported XML]\[Template Name].xml /template:"[File Screen Template Name]"

Note: I have found Exporting and Importing File Screen Templates to be unsuccessful on many occassions. If you have any suggestions or additions, please leave a comment and links if possible.

2 comments:

Anonymous said...

I found it easier to create the File Group on each server for the moment, will look at templates later.

filescrn filegroup add /filegroup:"Log Files" /members:"*.log|*.history"

Tim Wiser said...

I've been battling with this today. Whilst the export works fine - and the import ON THE SAME COMPUTER - also works fine, if I try and import on another computer I can an error saying that the operation is not supported. Gahhh.

Post a Comment