To restore your ThinkPad T40 to its original factory state, you can use the built-in recovery partition or locate archived disk images. 1. Using the Built-in Recovery Partition (No CD Required)
repeatedly as soon as the IBM splash screen appears.
This community-maintained list provides links to various hosted ThinkPad recovery media. 3. Alternative: Clean OS Installation