title: Windows service cannot see Shell_TrayWnd
body: <p>I need to hide the taskbar and start button via a Windows service.</p>
  
  <p>In a console program I can successfully call <code>FindWindow</code> and/or <code>EnumWindows</code> to get the <code>"Shell_TrayWnd"</code> window and then hide it using <code>ShowWindow(hwnd, SW_HIDE)</code>.</p>
  
  <p>But when the service performs <code>FindWindow("Shell_TrayWnd", NULL)</code> it returns <code>NULL</code>, and when the service performs <code>EnumWindows</code> it gets an incomplete list which does not include the <code>"Shell_TrayWnd"</code> window.</p>
  
  <p>Can anyone suggest how a service can see the <code>"Shell_TrayWnd"</code> window, or suggest an alternative method for hiding the taskbar and start button (that works in a service)? Thanks.</p>