Tips & Tricks
“A plethora of suggestions, informative tidbits, and somewhat useful hints covering a potpourri of
Using R2’s File Server Resource Manager
File Server Resource Manager enables system administrators to understand how storage is being used and to manage the use of their storage by generating storage reports, applying quotas to volumes and folders, and screening files on the server.
By using File Server Resource Manager, you can perform the following tasks:
; Create quotas to limit the space allowed for a volume or folder and generate
notifications when the quota limits are approached or exceeded.
; Automatically generate and apply quotas to all existing folders and any new
subfolders in a volume or folder.
; Create file screens to control the type of files that users can save and send
notifications when users attempt to save blocked files.
; Define quota and file screening templates that can be easily applied to new
volumes or folders and reused across an organization.
; Schedule periodic storage reports that help identify trends in disk usage.
; Monitor attempts to save unauthorized files for all users or for a selected group of
; Generate storage reports instantly, on demand.
The following is a list of tasks that you can perform from each respective node in File Server Resource Manager:
; Create, manage, and obtain information about quotas, which are used to set a
space limit on a volume or folder. By defining notification thresholds, you can
send e-mail notifications, log an event, run a command or script, or generate
reports when users approach or exceed a quota.
; Create and manage quota templates to simplify quota management.
; Create and manage auto quotas.
File Screening Management
; Create, manage, and obtain information about file screens, which are used to
block selected file types from a volume or folder.
; Create file screening exceptions to override certain file screening rules.
; Create and manage file screen templates to simplify file screening management.
; Create and manage file groups. When used with file screens and file screening
exceptions, the file groups determine which files will be blocked and which will
be allowed. File groups also are used to select files to include and exclude from
the Files by File Group Report and to sort file screens.
Storage Reports Management
; Schedule and configure storage reports.
; Generate storage reports on demand.
File Server Resource Manager Utility
BYPASS THE RECYCLE BIN
The Recycle Bin can be a real boon when you accidentally delete a file or decide afterwards that you really need that file after all. Windows 2000 enables the Recycle Bin by default, configuring a single set of settings for all drives. For example, the Recycle Bin has a set capacity that, when reached, causes items to start being emptied as needed to make room for more. The capacity is specified as a percentage of the drive's free space.
In a lot of cases, you'll probably want to bypass the Recycle Bin altogether, deleting files immediately rather than placing them in the Recycle Bin. You have a couple of options for doing so.
First, you can hold down the [Shift] key when you press [Delete]. You can also open a command console and use the DEL or ERASE commands to delete the files. The console doesn't use the Recycle Bin, so the files are deleted immediately.
You also can configure Windows to not use the Recycle Bin at all if you never have a need to recover files. If that's the case, right-click the Recycle Bin and choose Properties. Select Do Not Move Files To The Recycle Bin on the Global page. If you want to bypass the Recycle Bin only for specific drives, select Configure DrivesIndependently, then click the tab for the drive you want to configure and configure it as desired.
Group Policy Objects can be used to control the operation of the recycle bin as shown below:
How-to Disable the Annoying Desktop Cleanup Feature
"Windows XP includes the Desktop Cleanup Wizard, which keeps track of your usage of the icons on your desktop and periodically offers to remove the icons you have not recently used. Some of the icons are on the desktop because you created them to provide a shortcut method of opening a program or document. Some icons may be on the desktop because a software installation program placed them there.
The Desktop Cleanup Wizard runs every 60 days. It checks the last accessed date of the desktop shortcuts and displays a list of all the icons, with a check mark next to the name of each icon that has not been used in 60 days. You can deselect any icon you want to keep on the desktop, and the Wizard removes the selected icons.
The icons are not deleted, they are moved to a folder and you can put them back on the desktop if you want. The folder that is automatically created the first time the Wizard removes icons is C:\Documents and Settings\UserName\Desktop\Unused Desktop Shortcuts."
To stop the wizard from automatically running every 60 days:
1. Right-click on your Desktop, from the menu click on Properties.
2. When the Display Properties dialog box opens click on the Desktop tab.
3. Click Customize Desktop to open the Desktop Items dialog box.
4. Click to clear the Run Desktop Cleanup Wizard every 60 days check box.
5. Click OK twice to close the dialog boxes.
Note: If after disable the automatic cleanup you would like to run the Desktop Cleanup
Wizard, manually click on Clean Desktop Now on the Desktop Items dialog box.
My Computer Toolbar
Are you sick of having to open My Computer and then choose the drive you desire to view? If so, this tip might be able to help you. To create a really cool My Computer Toolbar on your desktop, follow these simple steps.
1) While viewing your Desktop, click on the My Computer icon and continue holding down your mouse button
2) Drag the My Computer icon to the top, left, or right hand sides of your desktop
3) A re-sizable, mobile, My Computer Toolbar should appear which can be put anywhere on the desktop
By holding down the CTRL key and clicking on a drive or folder within the My Computer toolbar, a pop up menu will appear which allows you to quickly browse through the sub folders and files of the selected drive / folder. This is not only a huge time saver, but it also looks really cool.
Scheduling Disk Cleanup and Defrag
The Disk Cleanup tool is found by clicking Start, pointing to All Programs, then
Accessories, then System Tools, and then clicking Disk Cleanup. You can, of course,
just run the tool by clicking it and following the prompts. After you've done that a few times though, I think you'll find the thrill is gone. Here's how to automate the whole process to run while you're away from your computer:
1. Click Run from the Start Menu.
2. In the Open box, type cleanmgr /sageset:1
3. Click OK.
Disk Cleanup opens with a list of the possible files to be deleted. Select a file type to display a description. Check the boxes for the files you want removed, and click OK.
Next, you can schedule Disk Cleanup to run when you want it to.
1. Click Control Panel, then click System and Maintenance, and then click Scheduled Tasks.
2. Double–click Add Scheduled Task to start the Scheduled Task Wizard. In the list of applications you want Windows to run, click Disk Cleanup, and then click Next. 3. Select a frequency for the task—weekly is good—and click Next.
4. Select a day of the week and time for the task to run.
5. Enter the name and password of a user. The program will be run as if that user started it. Check the box to open Advanced Settings when you're done.
6. In the Run box, add the following to the end of the path: /sagerun:1 and then click OK.
Task Scheduler will automatically run Disk Cleanup with the settings you selected at the time you selected. (Remember to leave your computer on!)
Note: You can customize Disk Cleanup to delete different files at different intervals by specifying more than one sageset. Just change the number to sageset:2 or sageset:3 (in fact, any number from 0 to 65535). Each sageset can have different files selected. Then you can set up a separate scheduled task to execute each set by specifying sagerun:2 and sagerun:3 and so forth.
You can also automatically defragment your hard disk, although it doesn't need to be done as frequently as cleaning up your hard disk. Open Scheduled Tasks, and double–
click Add Scheduled Tasks to start the Scheduled Task Wizard. When you get to the list of applications, click Browse, and navigate to windows\system32\defrag.exe, and click
Again, select the frequency for the program to run—monthly is usually more than enough.
To defragment a disk, you'll need to supply the name and password for an account with administrative privileges. The definition of administrator varies slightly from Windows XP Professional to Windows XP Home Edition, but essentially it means a user who has control over the computer, can install software, and can change user passwords. Check the box to open Advanced Settings when you're done.
In the Run box, add the letter of the drive to defragment so it looks like C:\windows\system32\defrag.exe c:
Only one instance of Disk Defragmenter can be running at any given time, so if you have multiple partitions, you'll need to add a separate scheduled task for each one. You don't need to use the wizard after you're familiar with the procedure. Open Scheduled Tasks from Control Panel, on the File menu point to New, and then click Scheduled Task. Name the new task and double click to open it and fill in the necessary information.
Note: A minimum of 15 percent free space on your hard disk is needed for Disk Defragmenter to run. This is yet another argument in favor of frequent and aggressive use of the Disk Cleanup tool.