Posted on 2014-01-20
Last Modified: 2014-01-20
i am trying to determine what the number output of this powershell command

Get-ItemProperty 'hklm:\system\currentcontrolset\services\MSExchangeIMAP4' | Select Start

actually represents. It retunrs a number, but I cant find any documentation on what the numbers actually represent, it will be the service status, i.e. running, but I cant find any sort of key to determine what the numbers represents. If of any use, its relating to an exchange 2010 server running on windows 2008 r2 server.
Question by:pma111
  • 2
LVL 82

Accepted Solution

oBdA earned 500 total points
Comment Utility
No, this is not the service status; this is the start type of the service.
In short:
0 = Kernel
1 = I/O Subsystem
2 = Automatic Start
3 = Manual Start
4 = Disabled
Check here for details:
CurrentControlSet\Services Subkey Entries
To get the status of a service, use Get-Service and check the Status property:
Get-Service MSExchangeIMAP4 | Select Status or (Get-Service MSExchangeIMAP4).Status

Author Comment

Comment Utility
LVL 53

Expert Comment

by:Will Szymkowski
Comment Utility
The below are true.. for the IMAP service.

Value 1 = Startup Type "System"
Value 2 = Startup Type "Automatic"
Vlaue 3 = Startup Type "Manual"
Value 4 = Startup Type "Disabled"

LVL 53

Expert Comment

by:Will Szymkowski
Comment Utility
Ahhh too late!

Featured Post

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

Suggested Solutions

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now