When you try to start Microsoft Word, and receive the following error message:
Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience.
You read the information given on the screen and click on the Send Error Report or Don't Send. In the following window, it asks you to start in safe mode or not. If you click yes, Word will start, but no add-ons. If you click no, then Word will repeat the error message again, until you close the Word in safe mode. How frustrating!
A solution to this nightmare is deleting the normal.dot template file. It usually locates at
C:\Documents and Settings\your user name\Application Data\Microsoft\Templates on Windows XP.
If the solution won't solve your problem, open the template fold, and delete the redundant .dot files.
Showing posts with label start. Show all posts
Showing posts with label start. Show all posts
Thursday, October 28, 2010
Thursday, April 24, 2008
Windows could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM
Last week, my friend's computer has a problem with windows. Every time he turned on the computer, the following error appeared:
It is too early to draw the conclusion. What we can do now is to find a CD of WinPE and then follow the following instructions [1]:
[1] http://swatrant.blogspot.com/2005/11/windows-could-not-start-because_17.html, modified according to the comment.
Windows XP could not start because the following file is missing or corrupt:\WINDOWS\SYSTEM32\CONFIG\SYSTEMThe Internet advises to run chkdsk command from the Recovery Console. The problem is my friend doesn't have the administrator password, because it is an office desktop PC. The only choice for him is to wait for several days until the computer is fixed?
It is too early to draw the conclusion. What we can do now is to find a CD of WinPE and then follow the following instructions [1]:
If chkdsk does not solve the problem, then the System file should be restored from backups. There are two places to look for the backups, one is the System Restore folder and the other is \Windows\Repair folder.How to find a bootable CD
Go to "C:\System Volume Information", locate and navigate to the folder whose name begins with _restore.
This folder contains many subfolders which have names of the form RPxxx, where xxx is a number indicating the restore point. Locate an RPxxx folder which has the highest number as its suffix (highest xxx) using the command dir command. Then navigate into that folder. Now, there will be a folder named snapshot. Navigate to this folder.
There should be a file named _REGISTRY_MACHINE_SYSTEM, copy this file to the \Windows\System32\Config folder with the name System. To solve the problem completely, MS suggests to replace all 5 files (hives) rather than just the system file, ie system, software, sam, security and default. Then reboot the system. This method works only when the System Restore feature of Windows XP is enabled.
While installing Windows, the setup backs up the System registry hive in Repair folder. If the System Restore feature is turned off, then this backup can be used to restore the System hive. First, navigate to folder \Windows\Repair and then copy the System file to its original location and reboot the system.
The disadvantage of this method is that, since the backup is created during the installation of Windows, by restoring this backup all the system configuration and driver installations made after it will be lost.
- Ultimate Boot CD http://ubcd4win.com/index.htm
- BartPE http://www.nu2.nu/pebuilder/
- Download Windows Automated Installation Kit (AIK) and create the CD yourself.
[1] http://swatrant.blogspot.com/2005/11/windows-could-not-start-because_17.html, modified according to the comment.
Monday, May 21, 2007
Start MATLAB in your last working directory
For most MATLAB users, probably, it is more convenient to start MATLAB in the last working directory. There is no option to set in the preferences, an alternative way to do so is using startup.m and finish.m.
When MATLAB starts, it automatically executes startup.m if the m file exists; and it runs a script finish.m when quiting. Therefore, we creat/edit these two files to make sure MATLAB starts in the last working directory.
************************************************
The content of startup.m:
***********************************************************
finish.m:
*************************************************************
Reference: http://www.mathworks.com/matlabcentral/files/5793/StartupInLastDirectoryDirections.html
When MATLAB starts, it automatically executes startup.m if the m file exists; and it runs a script finish.m when quiting. Therefore, we creat/edit these two files to make sure MATLAB starts in the last working directory.
************************************************
The content of startup.m:
if ispref('StartupDirectory','LastWorkingDirectory')
lwd = getpref('StartupDirectory','LastWorkingDirectory');
try
cd(lwd)
catch
disp('Sorry, but I could not go to your last working directory:')
disp(lwd)
end
end
***********************************************************
finish.m:
setpref('StartupDirectory','LastWorkingDirectory',pwd)
*************************************************************
Reference: http://www.mathworks.com/matlabcentral/files/5793/StartupInLastDirectoryDirections.html
Subscribe to:
Posts (Atom)