You can use Windows Server 2003 to prevent storage of unauthorized file types, including .MP3 files on your Windows 2003 file servers. This tip will show you how to configure the File Server Management Console (FSMC) to prevent the storage of .MP3 files on your server, and also how to create a file group and a file screen.
You will need to access the Configure Your Server wizard to install the FSMC. To accomplish this, open the Configure Your Server wizard and add the role of File Server. Servers upgraded from Windows 2000 Server to Windows Server 2003 R2 have this role present. If your file server already has this role, you still need the FSMC, which you will install.
To install the FSMC component, complete the following steps:
- Open the Control Panel.
- Open the Add/Remove Programs applet.
- Choose Windows Components.
- Select the Management And Monitoring Tools component.
- Click the Details button.
- Check the box for the File Server Management console and click OK.
- When the install completes, close the Windows Components wizard and the Add/Remove Programs applet.
Once you install the FSMC, open the console from the Administrative Tools menu; you can now create file groups for the disallowed file types. For example, you might create a file group called Music Files to contain .MP3 and .WMA files and create another group called Video Files to manage .MPG and .MOV files.
By creating file groups and creating a file screen that uses them, you can prevent the saving of unwanted file types. (There are other settings available for file screening, but they are outside the scope of simply preventing file saving.)
Follow these steps in the FSMC to create these groups:
- Expand the File Screening Management node.
- Right-click the File Groups object and select Create File Group.
- Provide a name for the file group (in this case, Music Files).
- Specify the types of files to include by entering the extension *.MP3. If you wish to disallow files with a certain pattern in the name, you can specify that pattern with wildcards — for example, you would add files beginning with Track using the pattern Track*.
- Click the Add button to add the file type or pattern to the files to include dialog.
- Add any types of files or patterns you wish to exclude from this group in the Files To Exclude box. Click Add.
- When you finish adding all the file types to the group, click OK. The FSMC will display your new file group in the Details pane when you open the File Screening node.
You may also want to consider redirecting users' most used folders to a network location; this will make it easier to screen files. Follow these steps to create a file screen:
- Open the FSMC and right-click the File Screening Management node.
- Click Create File Screen.
- Provide the name of the folder you wish to screen. An example would be the UNC path of the redirected personal folder of a specific user, e.g., \server01\users\jsmith.
- Select the Define Custom File Screen Properties option.
- Click the Custom Properties button.
- On the Settings tab of the Custom Properties box, select Active Screening. This will prevent anyone from saving files that meet your specified conditions to the selected folder.
- Select the Music Files group. (You will check the boxes of the file groups you wish to use.)
- Click OK on Custom Properties and the Create File Screen dialog box.
Miss a Windows Server 2003 tip?
Check out the Windows Server 2003 archive, and catch up on the most recent tips from this newsletter.
Stay on top of the latest Windows Server 2003 tips and tricks with our free Windows Server 2003 newsletter, delivered each Wednesday. Automatically sign up today!
Derek Schauland has been tinkering with Windows systems since 1997. He has supported Windows NT 4, worked phone support for an ISP, and is currently the IT Manager for a manufacturing company in Wisconsin.