Microsoft Error Reporting On Mac Shutdown
Feb 01, 2018 To get Mac OS updates, go to the App store on your dock, and then click the Updates button to reveal available updates. Then Install Office Updates. To get the update: Open any Office application. Go to the Help menu and choose Check for Updates. Let AutoUpdate check for and install updates. Restart your Mac. Yea, as Marc states, just use THROW and the original exception will be re-thrown with the stack trace information preserved. A THROW E will start the whole exception. A patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats. a patented specialized Mac OS X repair program.
-->The shutdown reason codes are used by the ExitWindowsEx and InitiateSystemShutdownEx functions in the dwReason parameter.
A maximum of MAX_NUM_REASONS reason codes will be processed by the system. MAX_NUM_REASONS is defined in reason.h.
The following are the major reason flags. They indicate the general issue type.
Constant/value | Description |
---|---|
| Application issue. |
| Hardware issue. |
| The InitiateSystemShutdown function was used instead of InitiateSystemShutdownEx. |
| Operating system issue. |
| Other issue. |
| Power failure. |
| Software issue. |
| System failure. |
The following are the minor reason flags. They modify the specified major reason flag. You can use any minor reason in conjunction with any major reason, but some combinations do not make sense.
Constant/value | Description |
---|---|
| Blue screen crash event. |
| Unplugged. |
| Disk. |
| Environment. |
| Driver. |
| Hot fix. |
| Hot fix uninstallation. |
| Unresponsive. |
| Installation. |
| Maintenance. |
| MMC issue. |
| Network connectivity. |
| Network card. |
| Other issue. |
| Other driver event. |
| Power supply. |
| Processor. |
| Reconfigure. |
| Security issue. |
| Security patch. |
| Security patch uninstallation. |
| Service pack. |
| Service pack uninstallation. |
| Terminal Services. |
| Unstable. |
| Upgrade. |
| WMI issue. |
The following optional flags provide additional information about the event.
Constant/value | Description |
---|---|
| The reason code is defined by the user. For more information, see Defining a Custom Reason Code. If this flag is not present, the reason code is defined by the system. |
| The shutdown was planned. The system generates a System State Data (SSD) file. This file contains system state information such as the processes, threads, memory usage, and configuration. If this flag is not present, the shutdown was unplanned. Notification and reporting options are controlled by a set of policies. For example, after logging in, the system displays a dialog box reporting the unplanned shutdown if the policy has been enabled. An SSD file is created only if the SSD policy is enabled on the system. The administrator can use Windows Error Reporting to send the SSD data to a central location, or to Microsoft. |
Remarks
The following combinations are recognized by the system. The table indicates the string that is displayed in the Shutdown Event Tracker, and provides a more detailed description. The default string is 'No title for this reason could be found.'
Combination | Description |
---|---|
SHTDN_REASON_MAJOR_APPLICATION SHTDN_REASON_MINOR_HUNG | 'Application: Unresponsive' An unplanned restart or shutdown to troubleshoot an unresponsive application. |
SHTDN_REASON_MAJOR_APPLICATION SHTDN_REASON_MINOR_INSTALLATION SHTDN_REASON_FLAG_PLANNED | 'Application: Installation (Planned)' A planned restart or shutdown to perform application installation. |
SHTDN_REASON_MAJOR_APPLICATION SHTDN_REASON_MINOR_MAINTENANCE | 'Application: Maintenance (Unplanned)' An unplanned restart or shutdown to service an application. |
SHTDN_REASON_MAJOR_APPLICATION SHTDN_REASON_MINOR_MAINTENANCE SHTDN_REASON_FLAG_PLANNED | 'Application: Maintenance (Planned)' A planned restart or shutdown to perform planned maintenance on an application. |
SHTDN_REASON_MAJOR_APPLICATION SHTDN_REASON_MINOR_UNSTABLE | 'Application: Unstable' An unplanned restart or shutdown to troubleshoot an unstable application. |
SHTDN_REASON_MAJOR_HARDWARE SHTDN_REASON_MINOR_INSTALLATION | 'Hardware: Installation (Unplanned)' An unplanned restart or shutdown to begin or complete hardware installation. |
SHTDN_REASON_MAJOR_HARDWARE SHTDN_REASON_MINOR_INSTALLATION SHTDN_REASON_FLAG_PLANNED | 'Hardware: Installation (Planned)' A planned restart or shutdown to begin or complete hardware installation. |
SHTDN_REASON_MAJOR_HARDWARE SHTDN_REASON_MINOR_MAINTENANCE | 'Hardware: Maintenance (Unplanned)' An unplanned restart or shutdown to service hardware on the system. |
SHTDN_REASON_MAJOR_HARDWARE SHTDN_REASON_MINOR_MAINTENANCE SHTDN_REASON_FLAG_PLANNED | 'Hardware: Maintenance (Planned)' A planned restart or shutdown to service hardware on the system. |
SHTDN_REASON_MAJOR_LEGACY_API | 'Legacy API shutdown' This shutdown was initiated by the legacy InitiateSystemShutdown function. Applications should use the InitiateSystemShutdownEx function. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_HOTFIX | 'Operating System: Hot fix (Unplanned)' An unplanned restart or shutdown to install a hot fix. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_HOTFIX SHTDN_REASON_FLAG_PLANNED | 'Operating System: Hot fix (Planned)' A planned restart or shutdown to install a hot fix. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_RECONFIG | 'Operating System: Reconfiguration (Unplanned)' An unplanned restart or shutdown to change the operating system configuration. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_RECONFIG SHTDN_REASON_FLAG_PLANNED | 'Operating System: Reconfiguration (Planned)' A planned restart or shutdown to change the operating system configuration. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_SECURITYFIX | 'Operating System: Security fix (Unplanned)' An unplanned restart or shutdown to install a security patch. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_SECURITYFIX SHTDN_REASON_FLAG_PLANNED | 'Operating System: Security fix (Planned)' A planned restart or shutdown to install a security patch. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_SERVICEPACK SHTDN_REASON_FLAG_PLANNED | 'Operating System: Service pack (Planned)' A planned restart or shutdown to install a service pack. |
SHTDN_REASON_MAJOR_OPERATINGSYSTEM SHTDN_REASON_MINOR_UPGRADE SHTDN_REASON_FLAG_PLANNED | 'Operating System: Upgrade (Planned)' A planned restart or shutdown to upgrade the operating system configuration. |
SHTDN_REASON_MAJOR_OTHER SHTDN_REASON_MINOR_OTHER | 'Other (Unplanned)' An unplanned shutdown or restart. |
SHTDN_REASON_MAJOR_OTHER SHTDN_REASON_MINOR_OTHER SHTDN_REASON_FLAG_PLANNED | 'Other (Planned)' A planned shutdown or restart. |
SHTDN_REASON_MAJOR_OTHER SHTDN_REASON_MINOR_HUNG | 'Other Failure: System Unresponsive' The system became unresponsive. |
SHTDN_REASON_MAJOR_POWER SHTDN_REASON_MINOR_CORDUNPLUGGED | 'Power Failure: Cord Unplugged' The computer was unplugged. |
SHTDN_REASON_MAJOR_POWER SHTDN_REASON_MINOR_ENVIRONMENT | 'Power Failure: Environment' There was a power outage. |
SHTDN_REASON_MAJOR_SYSTEM SHTDN_REASON_MINOR_BLUESCREEN | 'System Failure: Stop error' The computer displayed a blue screen crash event. |
SHTDN_REASON_MAJOR_SYSTEM SHTDN_REASON_MINOR_NETWORK_CONNECTIVITY | 'Loss of network connectivity (Unplanned)' The computer needs to be shut down due to a network connectivity issue. |
SHTDN_REASON_MAJOR_SYSTEM SHTDN_REASON_MINOR_SECURITY | 'Security issue' The computer needs to be shut down due to a security issue. |
You can also define your own shutdown reasons and add them to the registry. Each reason code should be stored as a registry value in the following key:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionReliabilityUserDefined<default_system_language_ID>
This key contains value names of the following form: xxxxx;nnn;nnnnn. The semicolons delimit the components of a value name.
xxxxx
One to five of the following control flags (no other characters can be used).
Flag | Description |
---|---|
P | Planned shutdown; otherwise, an unplanned shutdown. |
C | A comment is required. This flag must be used with S. |
B | An ID is required. This flag must be used with D. |
S | Display the expected shutdown dialog box. Either S, D, or both S and D must be used. |
D | Display the unexpected shutdown dialog box. Either S, D, or both S and D must be used. |
The order in which the flags are used is not important. For example, CSP indicates a planned shutdown where the expected shutdown dialog box is displayed, and a comment is required.
nnn
Major reason. This component must be a number in the range 64-255. The range 0-63 is reserved for use by the system.
nnnnn
Minor reason. This component must be in the range 0-65535.
Custom reasons are sorted in the user interface by major reason number, then by minor reason number. No two custom reasons can use the same major and minor reasons, unless one is planned and the other is unplanned. Otherwise, the system will use the first instance and ignore the others.
The data for each registry value is two strings, separated by nr. The first string is a title string to be displayed in the shutdown dialog box, and written to the event log. The maximum size is 64 characters. Title strings must be unique. Custom titles cannot match the standard titles defined by the system, or another custom title. The second string is a description string to be displayed in the shutdown dialog box; it is optional. The maximum size is 256 characters.
Requirements
Minimum supported client | Windows XP [desktop apps UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps UWP apps] |
Header |
|
Note
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information about this change, read this blog post.
Symptoms
When you start Microsoft Word for Mac, or when you try to open a new document, you experience one of the following conditions:
The program closes unexpectedly.
Error message:
Note
This error message may also occur during usage of application such as saving a document.
Resolution
To resolve this problem, follow steps below.
Microsoft Word for Mac 2008 or Later
Microsoft Error Reporting On Mac Shutdown 2017
Step 1: Quit all applications
On the Apple menu, click Force Quit.
Select an application in the 'Force Quit Applications' window.
Click Force Quit.
Repeat the previous steps until all active applications.
Warning
When an application is force quit, any unsaved changes to open documents are not saved.
Step 2: Remove Preferences
Quit all Microsoft Office for Mac programs.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder.
Look for a file that is named com.microsoft.Word.plist.
If you locate the file, move it to the desktop. If you do not locate the file, the program is using the default preferences.
If you locate the file and move it to the desktop, start Word, and check whether the problem still occurs. If the problem still occurs, quit Microsoft Word, and restore the file to its original location. Then, go to the next step. If the problem seems to be resolved, you can move the com.microsoft.Word.plist file to the trash.
Quit all Microsoft Office for Mac programs.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder.
Open the Microsoft folder.
Locate the file that is named com.microsoft.Word.prefs.plist.
Move the file to the desktop.
Start Word, and check whether the problem still occurs. If the problem still occurs, quit Word, and restore the file to its original location. Then, go to the next step. If the problem seems to be resolved, you can move the com.microsoft.Word.prefs.plist file to the trash.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Application Support folder.
Open the Microsoft folder.
Open the Office folder.
Open the User Templates folder.
Locate the file that is named Normal, and move the file to the desktop.
Start Word and check whether the problem still occurs. If the problem seems to be resolved, you can move the Normal file to the Trash. If the issue continues to occur, proceed to the next step.
If the issue continues to occur, go to the next step.
Step 3: Peform clean boot
For information how to clean start your Operating system (OS), see Microsoft Knowledge Base article:
2398596 How to use a 'clean startup' to determine whether background programs are interfering with Office for Mac
If the issue continues to occur in Safe mode, go to the next step.
Step 4: Remove and then reinstall Office
For information how to remove and then reinstall Office, see the following article:
If after removing and then reinstalling Office, the problem continues to occur, go to the next step.
Step 5: Use the 'Repair Disk Permissions' option
You can use the Repair Disk Permissions option to troubleshoot permissions problems in Mac OS X 10.2 or later versions. To use the Repair Disk Permissions option, follow these steps:
- On the Go menu, click Utilities.
- Start the Disk Utility program.
- Click the primary hard disk drive for your computer.
- Click the First Aid tab.
- Click Repair Disk Permissions.
Note
The Disk Utility program only repairs software that is installed by Apple. This utility also repairs folders, such as the Applications folder. However, this utility does not repair software that is in your home folder.
Microsoft Word 2004 for Mac
Microsoft Error Reporting On Mac Shutdown Free
Quit all Microsoft Office for Mac programs.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder.
Look for a file that is named com.microsoft.Word.plist.
If you locate the file, move it to the desktop. If you do not locate the file, the program is using the default preferences.
If you locate the file and move it to the desktop, start Word, and check whether the problem still occurs. If the problem still occurs, quit Word, and restore the file to its original location. Then, go to the next step. If the problem seems to be resolved, you can move the com.microsoft.Word.plist file to the trash.
Qit all Microsoft Office for Mac programs.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder.
Open the Microsoft folder.
Look for a file that is named com.microsoft.Word.prefs.plist.
Move the file to the desktop.
Start Word, and check whether the problem still occurs. If the problem still occurs, quit Word, and restore the file to its original location. Then, go to the next step. If the problem seems to be resolved, you can move the com.microsoft.Word.prefs.plist file to the trash.
On the Go menu, click Home.
Open the Documents folder.
Open the Microsoft User Data folder.
Locate the file that is named Normal, and move the file to the desktop.
Start Word, and check whether the problem still occurs. If the problem seems to be resolved, you can move the Normal file to the trash.
Third-party disclaimer information
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
The information and the solution in this document represent the current view of Microsoft Corporation on these issues as of the date of publication. This solution is available through Microsoft or through a third-party provider. Microsoft does not specifically recommend any third-party provider or third-party solution that this article might describe. There might also be other third-party providers or third-party solutions that this article does not describe. Because Microsoft must respond to changing market conditions, this information should not be interpreted to be a commitment by Microsoft. Microsoft cannot guarantee or endorse the accuracy of any information or of any solution that is presented by Microsoft or by any mentioned third-party provider.