![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
As some client forget to close Outlook before a backup, what's the best way
to automatically terminate the Outlook.exe process via a script so the backup application can backup the PST files? I can use pskill.exe or taskkill.exe, but I am concerned about the PST files that are open when OUTLOOK.exe is killed. Can they get corrupt using this method? |
Ads |
#2
|
|||
|
|||
![]()
They can get corrupted, but they may not be corrupted either. At any rate,
Outlook will launch slowly after it has been terminated unexpectedly as it scans the mailbox folders for errors. If it contains errors, Outlook will fix the errors at the expense of losing data. Outlook is known to not shut down correctly if either of the following are true: 1. An Outlook Add-In is loaded that does not release all references to the objects it instantiates. Answer is to get an updated add-in from its manufacturer. 2. The machine runs Outlook 2000. This is a known issue for OL2000, and since it is no longer in MS Mainstream Support, there will likely never be a fix issued for this problem. Therefore, the answer is to upgrade to the latest version of Outlook and/or Microsoft Office. 3. Construct a COM Add-In that forcefully unloads all Add-Ins and then shuts down Outlook itself at a pre-determined time. Therefore, if the Outlook.exe process is running at the designated time and this "Force Outlook Shutdown" add-in is loaded, it will kill all add-ins and then terminate Outlook gracefully ... without data loss and without having to scan the mailbox folders at next launch. Hope this helps. -- When you need software to work smarter so that you don`t have to, contact Smart Workplaces -- your one-stop resource for custom software for Office, Outlook and the Web. -- "Pete" wrote: As some client forget to close Outlook before a backup, what's the best way to automatically terminate the Outlook.exe process via a script so the backup application can backup the PST files? I can use pskill.exe or taskkill.exe, but I am concerned about the PST files that are open when OUTLOOK.exe is killed. Can they get corrupt using this method? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The News command is not listed in the go catagory in Outlook 2003 | Thomas Squicquero | Outlook - General Queries | 1 | March 8th 06 05:58 PM |
Outlook XP Auto-shutdown Error | Cerulean | Outlook - General Queries | 0 | February 9th 06 04:49 AM |
How do I get outlook to shutdown without using task manager? | Rusty Usry | Outlook - Installation | 4 | February 2nd 06 05:09 PM |
Outlook command-line switches | Brad Nowlin | Outlook - General Queries | 1 | January 27th 06 05:00 PM |
How to control line spacing in Outlook Notes ? | Will | Outlook - General Queries | 0 | January 13th 06 01:55 PM |