When you want to reset your computer modifications to the factory default or remove trail versions but face the problem of “Bootstrapper has stopped working” or “Error 40” then here are the possible solutions to fix it.
If “Data Execution Prevention” (DEP) is turned on for all program and services with Windows Vista or Windows 2003, that might be the cause of the problem. If you check your DEP settings to make it turned on for the selected programs and services, that might help you to resolve this problem.
In order to change the settings for DEP, you have to follow the following steps. Go to the control panel and click on the system icon. In the left pane click Advance system settings; you will get a popup window, prompting you to verify that you want to continue, click on yes. Then go to the settings, a button under performance on the advanced tab of the system properties screen that is displayed.
Check if the box is selected for “turn on DEP for all programs and services except those I select”, then you need to change the setting to “turn on DEP for essential Windows programs and services”. If that does not work then go to the same properties again and add “autorun.exe” to the exception list. To add “autorun.exe” to the list, you have to click add button at the bottom of the screen. You will find an Open dialogue where you have to navigate to the folder that has “autosun.exe” and select the program.
Once you have either selected the different box for DEP or added “autorun.exe” to the list click OK button. You will have to restart Windows to let the changes takes effect. These steps should allow the installation to run the boot system software. After doing these steps and installation is complete, don’t forget to remove the “autorun.exe” from the list, added to the list above, as it creates a security hazard.
Source by Celly Kayser