SmartDrive
{{Short description|MS-DOS disk caching program}}
{{About|the disk caching program|the telematics company|SmartDrive Systems}}
{{Use dmy dates|date=January 2024}}
{{Infobox software
| name = SmartDrive
| logo =
| screenshot =
| screenshot size =
| caption =
| developer = Microsoft
| released = {{Start date and age|1988|11}}
| latest release version =
| latest release date =
| operating system = MS-DOS, Windows
| genre =
| license = Proprietary commercial software
| website =
}}
SmartDrive (or SMARTDRV) is a disk caching program shipped with MS-DOS versions 4.01 through 6.22 and Windows 3.0 through Windows 3.11.{{cite web|title=SMARTDrive Version History (Revision 2.1)|url=http://support.microsoft.com/kb/127021|archive-url=https://web.archive.org/web/20080403095927/http://support.microsoft.com/kb/127021|archive-date=April 3, 2008|work=Support|publisher=Microsoft|accessdate=17 June 2013|date=7 July 2005|url-status=dead}} It improves data transfer rates by storing frequently accessed data in random-access memory (RAM).{{cite web |date=16 November 2006 |title=SMARTDrive and 32-Bit Disk Access (revision 1.1) |url=http://support.microsoft.com/?id=83325 |url-status=dead |archive-url=https://web.archive.org/web/20120716184002/http://support.microsoft.com/?id=83325 |archive-date=2012-07-16 |accessdate=17 June 2013 |work=Microsoft Support |publisher=Microsoft}}
Early versions of SmartDrive were loaded through a {{mono|CONFIG.SYS}} device driver named {{mono|SMARTDRV.SYS}}. Versions 4.0 and later were loaded through an executable file named {{mono|SMARTDRV.EXE}}, which could be run at user's discretion or at boot time via {{mono|AUTOEXEC.BAT}}. However, {{mono|SMARTDRV.EXE}} also includes a double-buffering driver that should be loaded through {{mono|CONFIG.SYS}}. Version 4.0 also introduced 32-bit disk access and could reduce its footprint in conventional memory (the first 640 kilobytes of memory which was critical to DOS) by running in upper memory area (the 384 kilobytes of memory located beyond the conventional memory).
A cloaked variant of SmartDrive utilizing the Helix Cloaking API was available from Helix Software. On Intel 80386 processors, it could run in protected mode to reduce its footprint in conventional memory.
Microsoft suggests SmartDrive to be used when installing Windows 2000 or Windows XP from MS-DOS to reduce installation time.{{cite web|url=http://support.microsoft.com/kb/307848|title=How to start the Setup program from MS-DOS in Windows XP (revision 6.0)|date=22 May 2013|work=Support|publisher=Microsoft|url-status=live|archive-url=https://web.archive.org/web/20130107002117/http://support.microsoft.com/kb/307848|archive-date=7 January 2013|accessdate=17 June 2013|edition=5.5}}
SmartDrive has been superseded by VCache, which was introduced in Windows for Workgroups 3.11 and carried over to Windows 95, Windows 98/Windows 98 SE and Windows Me. The main advantage of VCache over SmartDrive is its ability to adjust cache size dynamically. However, it tended to take too much RAM in Windows 95; this aspect was improved in Windows 98.