• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

Auto restart MS Outlook after it shuts down


We have Outlook 2010 open on 1 pc that is normally unattended. Is there any way that Outlook can be restarted automatically, as sometimes it shuts itself down?

Many thanks
  • 2
3 Solutions
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
Here is a step by step on creating a scheduled task.
Morpheus7Author Commented:

Thanks for your reply.  We need outlook to be running 24/7, but sometimes it shuts itself down and does not restart.  Is there a way to do this?
Sikhumbuzo NtsadaSenior IT TechnicianCommented:
Create a schedule tast to run the following script at intervals.
save it as a .vbs script.
Const olFolderInbox = 6

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery _
    ("Select * From Win32_Process Where Name = 'outlook'")

If colItems.Count = 0 Then
    Set objOutlook = CreateObject("Outlook.Application")
    Set objNamespace = objOutlook.GetNamespace("MAPI")
    objNamespace.Logon "Default Outlook Profile",, False, True    
    Set objFolder = objNamespace.GetDefaultFolder(olFolderInbox)
End If

Open in new window

First you have to find out why outlook shuts itself down. This is not normal behavior

- Have you checked the disk for errors?

-Possible the pst file is corrupted
Use the PST Scan Tool to fix the PST file
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now