CHKDSK Assist v1.6.1 by Tyler Retelle (darklight_tr) Built with AutoHotkey v1.0.48.05 20090925 Info ---- CHKDSK Assist is a GUI based script that allows you to schedule CHKDSK operations on your PC. Consult the CHKDSK Assist Manual for full feature details and instructions on how to use this script. OS Support: Windows XP, Windows Vista, Windows 7 Tested On: Windows XP, Windows 7 Bugs/Issues ----------- -CHKDSK Assist v0.3.2 (BETA 3c) or higher must be run under a user with admin privileges in order to function properly. This behavior is by design. -CHKDSK Assist v0.3.3 (BETA 3f) or higher will close any existing Command Prompt windows before scheduling or starting a CHKDSK operation. This is to prevent the script from hanging during the scheduling process. -The Update Check feature may not work when used behind a proxy server that requires authentication. -The manual cannot be viewed if it is located on a network drive/share. This is a limitation imposed on Compiled HTML Help files by Microsoft for security reasons, but you can bypass the security in order to view the file from a network drive/share. See http://support.microsoft.com/kb/896054 for details. As an alternative, a HTML version of the manual can be downloaded from tylerretelle.com. Please report any bugs/issues you encounter and I will do my best to fix them. Contact Info ------------ Website: www.tylerretelle.com E-mail: darklight_tr@yahoo.com License ------- Please see the License section of the manual or http://www.tylerretelle.com/documentation/license.html for details. Copyright Info -------------- SmartGUI Creator v4.0 was used to create all GUI interfaces. Thanks to Rajat for the awesome utility! Compile_AHK was used to compile CHKDSK Assist v0.6.7 (RC7) and higher. Thanks to ladiko for the awesome utility! The download progress bar code uses a modified version of the RegistryCallback version posted by Sean on the AutoHotkey forum. (http://www.autohotkey.com/forum/topic19475.html) Helpinator FREE was used to create the help files. (http://www.helpinator.com) The script icon is from the Pinvoke Diagona icon pack. (http://www.pinvoke.com/) Change Log ---------- v1.6.1 (02/05/10) ------ -Engine upgraded to AutoHotkey v1.0.48.05. -Added Windows 7 to the supported and tested OS lists. -Removed Windows Vista from the tested OS list because I no longer have any PCs running Windows Vista to test on. The OS will remain on the supported list. -Includes v3 Revision 2.1.0 of the CHKDSK Assist Manual. -Installer upgraded to Script Setup Utility v2.6.1. -Made several changes to how version information is interpreted and displayed. v1.6.0 (07/24/09) ------ -Removed the minimize button from the Check for Updates GUI. (GUI RV16.4) -Includes v3 Revision 2.0.0 of the CHKDSK Assist Manual. -Added a new About GUI, which replaces the old About dialog. (GUI RV17) -Increased the font size for the initial drive scan GUI. (GUI RV17.1) -Added an EULA to the installer and manual. The new license is a much more elaborate version than the previous license I used, but as always my scripts are still free to use. -Corrected a GUI alignment issue. (GUI RV17.2) -Installer upgraded to Script Setup Utility v2.2.1. v1.5.3 (07/07/09) ------ -Engine upgraded to AutoHotkey v1.0.48.03. This version contains several bug fixes. -The download progress bar in the Check for Updates GUI now reflects actual progress. (GUI RV16.1) -Infinite progress bars now have a different progress appearance when compared to standard progress bars. (GUI RV16.2) -Removed an unnecessary command. -Initial drive scan now uses an infinite progress bar. (GUI RV16.3) -The Log Options window no longer shows on the taskbar when open. -Includes v3 Revision 1.0.2 of the CHKDSK Assist Manual. v1.5.2 (04/23/09) ------ -Engine upgraded to AutoHotkey v1.0.48.02. This version contains several bug fixes. -Fixed a minor command error. -Hotkeys now only function when the script window has focus. v1.5.1 (04/17/09) ------ -Engine upgraded to AutoHotkey v1.0.48.01. This version contains several bug fixes. -Includes v3 Revision 1.0.1 of the CHKDSK Assist Manual. v1.5.0 (04/08/09) ------ -Engine upgraded to AutoHotkey v1.0.48.00. This version offers some speed improvements. -Changed how the AutoHotkey version is displayed in the About dialog. -Changed the GUI background color to a lighter color for better contrast and readability. (GUI RV15) -Added an option to the Help menu to take the user to tylerretelle.com, home of CHKDSK Assist. -Changed the Save Log dialog to allow you to select the file name. Before the file name could not be changed. (GUI RV15.1) -Added a new Check for Updates GUI, which replaces the old Check for Updates dialog. (GUI RV16) -Fixed an issue with the UAC function in Windows Vista. -Installer upgraded to Script Setup Utility v2.0.0, which is based on Inno Setup. -Includes v3 Revision 1.0.0 of the CHKDSK Assist Manual, which is now CHM based. (previous HTML version is now web only) v1.4.1 (01/09/09) ------ -Fixed an issue with scheduling a CHKDSK operation on a non-system Fixed disk. -Fixed an instance where the Check for Updates function would not work correctly if the update server is down. v1.4.0 (12/22/08) ------ -Hotkeys are now suspended when CHKDSK Assist is running another operation. -Removed several redundant commands. -The CHKDSK log file is now opened in the default .log file viewer/editor. (Previously CHKDSK Assist used Notepad) -Added a new dialog that allows you to view/save/delete the CHKDSK log file. It is presented after Run Now operations and can also be opened from the Main GUI. (GUI RV14) -Added a Log Options button to the Main GUI. (GUI RV14) -Changed the Force Volume Dismount shortcut key to Alt+Y to fix the conflict with the Check for Updates shortcut key. -Includes v2 Revision 3.0.0 of the CHKDSK Assist Manual. v1.3.2 (11/24/08) ------ -Removed an unnecessary function. -Corrected several variable names. -Changed the detection order for the OS and Admin rights. (OS is now detected first) -Added a clearing variable to Check for Updates to ensure that it works properly. -Fixed a heading error with one of the dialog boxes. v1.3.1 (11/21/08) - IR 1.3.1.0 ------ -Includes v2 Revision 2.3.0 of the CHKDSK Assist Manual. v1.3.0 (11/07/08) ------ -Fixed an issue where the CHKDSK progress bars would not render properly in Windows Vista. -Changed the Use Recommended Commands shortcut key to Alt+M to fix the conflict with the Exit shortcut key. -Added shortcut keys for the Options GUI, CHKDSK Assist Manual, Check for Updates and About CHKDSK Assist. -Changed the Additional Info shortcut key to Alt+T. -Includes v2 Revision 2.2.0 of the CHKDSK Assist Manual. v1.2.1 (11/06/08) ------ -Fixed an issue where the Refresh Info, Additional Info and Schedule CHKDSK buttons would be disabled and would not reenable properly. v1.2.0 (11/02/08) ------ -Added a Set to Defaults button to the Options GUI. (GUI RV13) -Added a Use Recommended Commands checkbox to the Main GUI. This option defaults to checked in Standard Mode and unchecked in Advanced Mode. (GUI RV13) -Renamed the Fix Errors (Recommended) checkbox to Fix Errors. -Added a checkbox to Options GUI that allows CHKDSK Assist to delete the chkdsk.log file when the script is exited. This option is defaulted to off. (GUI RV13) -Enlarged the Main and Options GUI interfaces to accomodate the new GUI features. (GUI RV13) -Fixed an error in one of the dialogs. -Includes v2 Revision 2.1.0 of the CHKDSK Assist Manual. v1.1.1 (10/13/08) ------ -Fixed an issue where the script would fail to exit properly when restarting your PC from within CHKDSK Assist. -Fixed an issue where a CHKDSK operation may run twice. -Removed the version information from the Main GUI title and the tray icon. The version information may be found in Help->About CHKDSK Assist. (GUI RV12.2) -Includes v2 Revision 2.0.1 of the CHKDSK Assist Manual. v1.1.0 (10/08/08) ------ -First Public Release. -Added a menu bar to the GUI interface. (GUI RV12) -Removed the Options button from the Main GUI and moved the function to the menu bar. -Removed the Check for Updates button from the Options GUI and moved the function to the menu bar. -Added a Reload option to the menu bar for easy reloading of the script. -Added an Exit option to the menu bar. -Added a link to the CHKDSK Assist Manual to the menu bar. -Added an About dialog to the menu bar. -When the CHKDSK Assist Manual menu item is used it tries to locate a local copy of the manual. If one cannot be located, it will prompt the user to view the online version. -Moved the Schedule CHKDSK and Exit buttons further apart. (GUI RV12.1) -Includes v2 Revision 2.0.0 of the CHKDSK Assist Manual. v1.0.1 (09/22/08) ------ -Updated the Readme. -The name of the button used to close the Options GUI has been changed from Back to Close. (GUI RV11.2) -Includes v2 Revision 1.3.1 of the CHKDSK Assist Manual. v1.0.0 (09/10/08) ------ -Progress bars now progress smoothly on all operating systems. -Includes v2 Revision 1.3.0 of the CHKDSK Assist Manual. -Added an additional command to clear the GUI based status messages when they are no longer needed. v0.6.9.4 (09/03/08) - RC9d -------- -Removed several unnecessary commands. -Added commands to clear the GUI based status messages when they are no longer needed. (Advanced Mode Only) -Fixed an issue where answering N to a GUI based status message may not function as expected. (Advanced Mode Only) -Widened the GUI slightly to accomodate large GUI based status messages. (Advanced Mode Only; GUI RV11.1) -Adjusted several functions to ensure that they execute properly. v0.6.9.3 (08/27/08) - RC9c -------- -Made a few changes to the update download progress and completion dialogs. -Fixed an issue where a temporary directory would not be deleted when it was no longer needed. v0.6.9.2 (08/17/08) - RC9b -------- -Reverted back to the standard AutoHotkey compiling file. -Added automatic update installation. -Includes v2 Revision 1.2.1 of the CHKDSK Assist Manual. -Fixed several issues where the GUI was not reenabled after being disabled. v0.6.9.1 (06/24/08) - RC9a -------- -Includes v2 Revision 1.2.0 of the CHKDSK Assist Manual. v0.6.9 (06/20/08) - RC9 ------ -Miscellaneous optimizations. -Added a Check for Updates button to the Options GUI. (GUI RV11) -Added a function to exit the script if the detected OS is Windows 2000 or earlier. -Dropped support for Windows 2000 due to lack of testing. -Changed the name of the registry key used to save settings. v0.6.8.1 (05/22/08) - RC8a -------- -Added automatic closing to several dialog boxes. -Added a percent complete to the initial drive scan progress bar. v0.6.8 (05/21/08) - RC8 ------ -If no Removable drives are detected when the Drive List is refreshed, the user will be alerted and the Include Removable checkbox will automatically be unchecked. -Added a progress bar that appears during the initial drive scan when you open the script. -Optimized the CHKDSK operation progress bar code. (Used during Run Now operations) -Migrated additional dialog box prompts to the GUI interface. (Advanced Mode Only) -Fixed an issue where several GUI interface prompts were not enabling and/or disabling the GUI interface. (Advanced Mode Only) -Increased the progress bar width. -Includes v2 Revision 1.1.0 of the CHKDSK Assist Manual. -Fixed an issue where the selection of Standard Mode in the Options GUI would not be properly applied. v0.6.7 (05/16/08) - RC7 ------ -CHKDSK Assist now uses a custom icon. -Version and program info has been added to the compiled file. -Includes v2 Revision 1.0.1 of the CHKDSK Assist Manual. -Removed unnecessary commands from the tray icon menu. -Changed the AutoHotkey compiling file to reduce the script file size. -The version info is no longer tagged onto the file name (it is in the Properties dialog and displayed in the GUI) -Fixed a couple issues caused by the shortcut key creation. v0.6.6 (05/09/08) - RC6 ------ -Added support for shortcut keys on most commands in both the Main GUI and Options GUI. (GUI RV10) -Includes v2 Revision 1.0.0 of the CHKDSK Assist Manual. (v2 is HTML based, while previous versions were Microsoft Word based) -Removed some unnecessary text from the Advanced Mode warning dialog. (Options GUI) v0.6.5 (05/01/08) - RC5 ------ -Removed the Minimize and Maximize buttons from the Options GUI. (GUI RV9) -Includes v1 Revision 1.1.0 of the CHKDSK Assist Manual. v0.6.4 (04/29/08) - RC4 ------ -Changed the CHKDSK Assist Mode Groupbox name to Script Mode. (Options GUI; GUI RV8.1) -Changed one of the variable names. -Includes v1 Revision 1.0.1 of the CHKDSK Assist Manual. -Edited a few parts of the script to make them more consistent with the rest of the script. -The Options GUI is now disabled when a status area prompt is presented. (Advanced Mode Only) v0.6.3 (04/25/08) - RC3 ------ -Most status messages are now displayed within GUI rather than through dialog boxes. (Advanced Mode Only; GUI RV7) -When one of the Include boxes is checked/unchecked the drive list refreshes automatically. (Advanced Mode Only) -Fixed an issue where invalid keystrokes could bypass the Options GUI apply changes prompt. (Advanced Mode Only) -Migrated several dialog box prompts to the GUI interface. (Advanced Mode Only) -Fixed an issue where the drive info would display an invalid type when a CHKDSK operation is scheduled and no drive is selected. -The Schedule CHKDSK and Additional Info buttons are now disabled when no drive is selected. -Changed the tray icon tip. -CHKDSK Assist now properly handles the situation where a selected drive is removed and a CHKDSK operation is then scheduled on the drive. -The Additional Info dialog now properly handles the situation where a selected drive is removed and the Additional Info dialog is opened. -Added a Refresh Drive Info button to the Drive Info box. Use this button to refresh the drive information when you insert a disk into a drive. (GUI RV8) -Resized and moved the Additional Info button to accomodate the Refresh Drive Info button. (GUI RV8) -Includes v1 Revision 1.0.0 of the CHKDSK Assist Manual. v0.6.2 (04/21/08) - RC2 ------ -The text displayed in the Drive Info and Mode/Options textboxes is now centered. (GUI RV5.1) -Added support for Remove Script Settings v0.2.0 (BETA 2) or higher. -The changes applied message in the Options GUI are now displayed within the GUI rather than through a dialog box. (GUI RV6) -Adjusted the positioning of some Options GUI elements. (GUI RV6) -The Apply Changes button (Options GUI) now defaults to disabled until you change one of the options. When you apply the changes, it disables again until an option is changed. This behavior was added to indicate if an option was changed. -Changed the text displayed for several dialog boxes. -Added a prompt if the Options GUI determines you have unapplied changes are and are closing the Options GUI. The prompt displays a dialog box in Standard Mode and within the Options GUI in Advanced Mode. v0.6.1 (04/16/08) - RC1 ------ -Added support for the Remove Script Settings script. -Simplified the Options GUI. (GUI RV5) -Removed the Forget This Setting checkbox (Options GUI). -Changed the functionality of the Remember This Setting checkbox (Options GUI). Upon entering the Options GUI, it will be checked if a setting is currently stored and unchecked if one is not stored. If you want to remember a setting, check the box. If you want to forget a setting, uncheck the box. -Removed unnecessary code left from the removal of the Forget This Setting checkbox. v0.6.0 (04/13/08) - RC0 ------ -The CHKDSK Assist script code has been optimized where possible. -Fixed an issue where the Changes Applied confirmation dialog (Options GUI) wouldn't display. -The Forget This Connection checkbox (Options GUI) is now disabled whenever the AdvancedMode registry key doesn't exist. (Where the saved mode setting is stored) -Made a minor connection to one of the sections of code responsible for displaying the chkdsk log file. -The Remember This Setting checkbox (Options GUI) is now saved under HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE to ensure that only the current user is affected. v0.5.0.4 (04/12/08) - BETA 5d -------- -Hotfix release that resolves an issue where running CHKDSK Assist in a directory with spaces in its name prevents the scheduling of a CHKDSK operation. v0.5.0.3 (04/12/08) - BETA 5c -------- -Made some minor corrections to the script code that is used for the scheduling of a CHKDSK operation. v0.5.0.2 (04/07/08) - BETA 5b -------- -Fixed the problem where the pre-CHKDSK confirmation dialog was displaying under Advanced mode. -Made some minor corrections to the script code that runs CHKDSK operations on System disks. v0.5.0.1 (04/07/08) - BETA 5a -------- -Fixed an issue where a drive refresh wouldn't enable the Cleanup command checkbox if it is disabled. -The Changes Applied confirmation dialog (Options GUI) now displays in both Standard and Advanced modes. -Both the Capacity and FreeSpace variables (Additional Info dialog) now work properly with Removable drives where no disk is inserted. -Changed the text on the Changes Applied confirmation dialog. v0.5.0 (04/04/08) - BETA 5 ------ -Added two modes of operation to CHKDSK Assist - Standard and Advanced. (Explained in the Info section) -Added GUI support for the new modes. (GUI RV4) -Added the ability to permanently save your chosen mode. You can also clear this setting. (Both in Options GUI) -Added a pre-CHKDSK operation confirmation dialog. (Standard Mode Only) -Corrected some erroneous variable references. -Cleaned up the Options GUI code and added GUI support for the new options. -Consolidated the Options GUI dialogs. -Removed an unnecessary call. v0.4.2 (04/04/08) - BETA 4b ------ -The Additional Info button has been implemented. -A CHKDSK log file is now created for all operations. -Made a minor correction to one of the CHKDSK commands. -Made a minor change to the text on one of the dialogs. -Changed the no disk error dialog from OK/Cancel to Retry/Cancel. -Changed the run immediately dialog from Yes/No to OK/Cancel. -Changed the run immediately dialog text to reflect the new confirmation options. v0.4.1 (03/29/08) - BETA 4a ------ -The detection loop now determines if there is a disk in any Removable drive. -The cleanup checkbox is now modified and disabled if no disk is detected in a Removable drive when it is selected. v0.4.0 (03/28/08) - BETA 4 ------ -Added full support for CHKDSK commands. -Added new GUI options that support the newly implemented CHKDSK commands. (GUI RV3) -Added new dialogs and script code as part of the CHKDSK command implementation. -Added several file system checks that modify the commands based on the file system. -Added a detection loop that determines if there is a disk in the A: drive. -Added a progress bar for CHKDSK operations that run immediately. -Changed the command that closes any open Command Prompt windows to a standard AHK command. -Implemented a secondary fix for scheduling issues on non-system Fixed disks. -Added a function to prevent the scheduling of CHKDSK operations on CD/DVD drives. v0.3.3 (03/20/08) - BETA 3f ------ -Added a function to automatically close any open Command Prompt windows when a CHKDSK operation is scheduled. This is to ensure that the scheduling process works properly. -Implemented a permanent fix for the issue with scheduling a CHKDSK operation on a non-system Fixed disk. -Fixed an error in one of the dialogs. v0.3.2.2 (03/20/08) - BETA 3e -------- -Fixed a GUI rendering issue that occurs when Windows XP is run in Classic mode. (GUI RV2.1) -Changed the text in one of the dialogs. v0.3.2.1 (03/19/08) - BETA 3d -------- -Hotfix release that implements a workaround for a potential data loss bug with non-system Fixed disks. v0.3.2 (03/18/08) - BETA 3c ------ -CHKDSK Assist now requires admin privileges to run. -Checks on non-Removable disks now restart the PC when you select the Run Now option. Previously this is only forced on the System Drive. v0.3.1 (03/17/08) - BETA 3b ------ -Prevented the scheduling of a CHKDSK operation if both Include checkboxes are unchecked. -Prevented the scheduling of a CHKDSK operation if CHKDSK Assist determines that the Drive List must be refreshed. -Adjusted the text on some of the dialogs. v0.3.0.1 (03/14/08) - BETA 3a -------- -Fixed a consistency problem with one of the dialogs. v0.3.0 (03/14/08) - BETA 3 ------ -Multiple Disk Support has been implemented. -Added new GUI options that support the newly implemented Multiple Disk Support. (GUI RV2) -Added new dialogs and script code as part of the Multiple Disk Support implementation. -Added error detection as part of the Multiple Disk Support implementation. -Run Now operations that run immediately now produce a chkdsk.log file. -Cleaned up some unnecessary commands. -All MsgBox windows now hold focus until they are acknowledged. v0.2.0.1 (03/10/08) - BETA 2a -------- -Engine upgraded to AutoHotkey v1.0.47.06. -Corrected a syntax error with one of the variables. v0.2.0 (03/07/08) - BETA 2 ------ -Replaced existing tabbed GUI interface (RV0) with a completely new GUI interface (RV1). -Added support for most of the new GUI features, except as noted under Bugs/Issues. -The schedule settings now use radio buttons instead of a checkbox. -Added a button and scripting backend to reset/clear a scheduled CHKDSK operation. -Added GUI support for selecting various CHKDSK commands. The scripting support for this feature has not been implemented. -Moved the Options into its own GUI. -Renamed Startup Delay to Startup Countdown. -The CHKNTFS command line utility is now used to disable or set the Startup Countdown to a custom value. Previous releases relied on direct registry editing. -The forced PC restart (used when you select Run Now) now uses the internal AHK Shutdown command. Previous releases used the Windows shutdown command line utility. -Changed all Run commands to RunWait to ensure proper execution. v0.1.0.1 (02/25/08) - BETA 1a -------- -Corrected some dialog text errors. -Removed an unused label. v0.1.0 (02/21/08) - BETA 1 ------ -Initial Internal Release.