How To Run Outlook Automatically When PC Starts

You may also like...

1 Response

  1. Tingeville says:

    Hi Abu,

    Just wanted to offer a few (perhaps more clean/elegant/simple) alternate solutions which perform the action entirely invisibly whilst launching Outlook 2016 minimised to the System Tray (assumes that you have checked “Hide when minimized” from the context (right click) menu of the Outlook Tray icon) collecting mail in the background as per the schedule configured by the user during mail setup.

    These solutions each have the added benefit that Outlook is launched without ever being visible on the taskbar, truly a clean and elegant result! 🙂

    SOLUTION 1 – A VBS Script.

    Create a Visual Basic Script .vbs file using Notepad containing either of the scripts suggested below which can be copy/pasted as appropriate. Save this text file as something like “Start Outlook Minimised to Tray.vbs” be careful to include the “.vbs” in the name AND make sure to change the “Save as Type” dropdown to “All Files” so as to create as a VB Script not a text file! Navigate to a suitable location on your PC where you wish to store the script file.
    Now you can either:

    a) Create a shortcut to the newly saved .vbs file. To complete a professional look change the shortcut’s icon to the OUTLOOK.exe icon, now copy the shortcut to your Start Up folder usually C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup to enable the automated launch at system start.

    OR

    b) Open the registry editor from the “Run” dialogue (Win+R and type “Regedit” without the quotes). Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and right click to display the context menu. Select “New” and “String Value” using something like “Start Outlook Minimised to Tray” (without the quotes) as the name. Double click on the new entry and in the “Value Data” field simply enter just the complete path (including the file) to the location where you have saved the .vbs file, in the format: X:\My File\Storage Path\Automate Outlook Start\Start Outlook Minimised To Tray.vbs now click “OK” and then close the registry editor. This will trigger the script file on system start so as to enable the automated launch of Outlook.

    THE SCRIPT CHOICES

    A. Straight forward setup:

    Set WshShell = CreateObject ( "Wscript.Shell" )
    WshShell.Run "OUTLOOK.EXE" , 3, False
    Set ol = CreateObject("Outlook.Application")
    ol.ActiveExplorer.Activate
    ol.ActiveExplorer.WindowState = 1

    B. For use in situations where Outlook Addins hijack the Outlook launch process:

    Set WshShell = CreateObject ( "Wscript.Shell" )
    WshShell.Run "OUTLOOK.EXE" , 3, False
    On Error Resume Next
    Set ol = GetObject(, "Outlook.Application")
    If ol Is Nothing Then
    Set ol = CreateObject("Outlook.Application")
    End If
    ol.ActiveExplorer.Activate
    ol.ActiveExplorer.WindowState = 1

    SOLUTION 2 – A Registry Entry.

    Open the registry editor from the “Run” dialogue (Win+R and type “Regedit” without the quotes). Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run and right click to display the context menu. Select “New” and “String Value” and use “Outlook” (without the quotes) as the name. Double click on the new entry and in the “Value Data” field enter: C:\Windows\system32\cmd.exe /c “start “” /min “C:\Program Files\Microsoft Office\Office16\OUTLOOK.EXE”” (including quotes) and click “OK”. (NB. This assumes that you are using Outlook 2016 and that the program is installed to the default location “C:\Program Files\Microsoft Office\Office16” if you are using a different version or have installed Outlook to another location please adjust the office file path to accomodate).

    Now go to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Preferences and right click to display the context menu. Select “New” and “DWORD (32 Bit) Value” and use “MinToTray” (without the quotes) as the name. Double click on the new entry and in the “Value Data” field enter: “1” (without the quotes) now click “OK” and then close the registry editor.

    I hope that these alternatives are of value to those who visit your page.

    Best regards…..

Leave a Reply

Your email address will not be published. Required fields are marked *