none
Shell Hardware Detection Service Stops

    Question

  • Hello

    I have a Windows 2012 Server configured as a Domain controller that is hosted on a Hyper-V 2012 Server. I manage it from a Windows 8 machine and have noticed that when I bring up the Server Manager on the Win8 machine it will often display a red error message in the services section. When that happens I have found that the service that is not running is the "Shell Hardware Detection" service that runs on the Windows 2012 Server. Logging onto the Windows 2012 Server always causes the service to start back up by itself, it seems to continue running as long as I am logged in, but once I log off it will eventually stop again on its own.

    Is there anything I can do to keep the Shell Hardware Detection service running?

    Thursday, April 11, 2013 9:09 PM

Answers

  • why would you want that? Shell means interactive shell, meaning your session. it detects stuff like inserting a CD/DVD, SD cards, docking a laptop, etc.

    Basically autoplay stuff...


    MCITP:SA:EA:EMA2010:VA2008R2

    • Marked as answer by Roark2012 Friday, April 12, 2013 5:12 AM
    Thursday, April 11, 2013 9:43 PM

All replies

  • why would you want that? Shell means interactive shell, meaning your session. it detects stuff like inserting a CD/DVD, SD cards, docking a laptop, etc.

    Basically autoplay stuff...


    MCITP:SA:EA:EMA2010:VA2008R2

    • Marked as answer by Roark2012 Friday, April 12, 2013 5:12 AM
    Thursday, April 11, 2013 9:43 PM
  • It's not so much that I want the service running, I was just trying to diagnose the service error I was seeing in the Server Manager. It seems that I can just disregard that message. Thanks.
    • Edited by Roark2012 Friday, April 12, 2013 5:12 AM
    • Proposed as answer by DavidD [Boeing] Saturday, August 24, 2013 4:10 AM
    • Unproposed as answer by DavidD [Boeing] Saturday, August 24, 2013 4:10 AM
    Friday, April 12, 2013 5:11 AM
  • Excerpt below taken from the following url: http://technet.microsoft.com/en-us/library/hh831394.aspx

    You can configure the Services row to display alerts when services are found in a role or server group that match startup types, service status, service names, and servers that you specify in the Services Detail View dialog box.

    After a server has been added to the Server Manager server pool, service alerts about the Shell Hardware Detection service can be displayed if there are no users logged on to the managed server. This occurs because the Shell Hardware Detection service runs only when users are logged on to the managed server, or connected to a Remote Desktop session on the managed server. To avoid seeing Shell Hardware Detection service alerts for this case, click Services in the thumbnails for server groups, including the All Servers group. In the Services Detail View dialog box, on the Services drop-down list, clear the check box for Shell Hardware Detection, and then click OK.

    • Proposed as answer by hughesco Sunday, September 29, 2013 5:52 AM
    Saturday, August 24, 2013 4:11 AM
  • That you for the post.  This was very helpful.
    Wednesday, August 28, 2013 5:07 PM
  • Thanks for your post.  Solved problem for me also.
    Monday, February 24, 2014 4:07 PM
  • Old post, but solved the problem here as well... 1+ for MadMerlin.

    Tuesday, August 26, 2014 12:10 PM
  • thanks this helped
    Saturday, May 14, 2016 4:24 AM
  • I can't find this option in my 2012 server manager, can you tell me where is it? Thanks!

    Thursday, June 2, 2016 3:54 PM
  • I have been looking into this issue. I don't like seeing red on server manager.

    What I have found is that the "Shell Hardware Detection" service doesn't always stop when no user is logon or at logoff. It will stop if there is not a autoplay device (DVD drive or USB drive) installed on the server. Most of the my physical servers I manage have DVD drives, so this hasn't been an issue. My company started getting servers without the DVD drive option. Some of the new virtual servers configuration excluded DVD drive. I found without an autoplay device installed the service will shutdown when users logoff.

    Possible Options:

    1) Disable the alert monitor in Server Manager

    2) Permanently add a Autoplay device to the server (not always consistent)

    3) Change the "Shell Hardware Detection" service start option from Automatic to Manual

    4) (Or) just ignore the alert


    Friday, September 30, 2016 12:22 PM
  • Thanks for your post.  Solved problem for me also.
    Friday, November 17, 2017 7:13 AM