XCLN: Installing and Using the CleanSweep Tool

ID: Q174045


The information in this article applies to:


SUMMARY

This article discusses how to obtain, install and use the CleanSweep tool. This tool enables you to delete permissions, forms, views, rules, or reply rule templates from a Microsoft Exchange Server mailbox. When you delete the rules and permissions associated with a folder, all rules and permissions for the folder are deleted. This utility is useful for cases where it has been determined that Out of Office (OOF) messages or other rules are not functioning properly.

Note: You may view a list of this and other BackOffice and Exchange Resource Kit extentions and download them from the following location:

http://mspress.microsoft.com/reslink/bork/exchange/book/


MORE INFORMATION

The CleanSweep tool may be obtained from the Microsoft BackOffice Resource Kit, Part Two compact disk.

NOTE: The CleanSweep tool does not work with the Microsoft Exchange Windows 95 client, version 4.0. It is recommended that you use this extension with the following clients:


   Microsoft Exchange Windows 95 client, version 5.0
   Microsoft Exchange Windows NT client, versions 4.0 and 5.0
   Microsoft Outlook Windows 95 client, versions 8.00, 8.01, 8.02, and 8.03
   Microsoft Outlook Windows NT client, versions 8.00, 8.01, 8.02, and 8.03 


Installing the CleanSweep Tool



To install the extension, follow these steps:

  1. From the Exchange\<operating system>\<platform>\Admin\Cleanswp subdirectory of the Microsoft BackOffice Resource Kit, Part Two compact disk, copy CLNSWP32.DLL to your system directory (\System32 on Windows NT).


  2. Using the Registry editor (RegEdit.exe for Windows 95 or RegEdt32.exe for Windows NT), add the CLNSWP value to the following Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Extensions


  3. Enter the following text as a String (REG_SZ) value: 4.0;<drive>:\<path>\CLNSWP32.DLL;2 ...where <drive> and <path> indicate the location in which you copied the file. The following example assumes the file is located in the C:\WINNT\SYSTEM32 directory: 4.0;C:\WINNT\SYSTEM32\CLNSWP32.DLL;2


  4. Exit the Registry Editor.


  5. Restart the Microsoft Exchange or Microsoft Outlook client.


NOTE: You must verify that the Ctl3d32.dll file exists in the System or System32 directory. The Clnswp32.dll calls this file and it may not be installed by default. If it does not exist, extract it from the Microsoft Exchange Client compact disk. To do this, follow these steps:

  1. Open a command prompt.


  2. Change to the compact disk drive.


  3. Under Windows 95, enter CD\Win95 and press Return. Under Window NT, enter CD\Winnt\I386 and press Return.


  4. Enter the following extract command to extract the file: extract /a exchng4.cab ctl3d32.dll /L C:\Windows\System -or- extract /a exchng4.cab ctl3d32.dll /:L C:\Winnt\System32


For the Microsoft Outlook 97 Client that is shipped with Exchange Server version 5.5, the CTL3D32.DLL file can be found in the \<platform>\Os directory.

Using the CleanSweep Tool



When the CleanSweep tool is installed, the Clean Sweep option is added to the Tools menu of the Microsoft Exchange or Microsoft Outlook client. To use the CleanSweep extension, follow the steps below:

  1. OPTIONAL: Save any existing rules prior to running the Clean Sweep tool. For more information on how to save existing rules, see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q152852 TITLE: XADM: Steps to Move User and Inbox Assistant Rules


  2. Select the folder (such as Inbox) that contains the items you want to delete.


  3. From the Tools menu, select Clean Sweep.


  4. Select the items to delete. Choose OK.


Listed below are two scenarios in which you might need to run the CleanSweep tool:

A. The Out of Office Assistant responds with two OOF messages instead of one

   message. To correct this behavior, follow these steps: 


  1. Select the Inbox folder. 2. Choose Clean Sweep from the Tools menu. 3. Select the Rule Reply Templates option. 4. Select the Details button and check all boxes that contain the following text: <no subject> 5. Choose OK twice. 6. In the OOF Assistant, delete and recreate the OOF rule. Note: The steps above will remove the multiple OOF replies, but will not delete the Inbox Assistant rules.


B. The Out of Office Assistant responds to incoming mail even when it has been

   disabled. To correct this behavior: 


  1. Start the CleanSweep tool. 2. Select Rules and Rule Reply Templates. 3. Select the Details button and select ONLY the boxes titled then select OK on this dialog box. 4. Choose OK. 5. In the OOF Assistant, delete and recreate the OOF rule. Note: This will correct the OOF if it is corrupt and not firing, or if it is firing even when disabled. However, as a side effect you will lose all Inbox Assistant rules as well.


Additional query words: clean sweep


Keywords          : XCLN 
Version           : 4.0 5.0 8.00 8.01 8.02 8.03
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: April 16, 1999