a developer's notes – a semi-technical web development BLOG

April 24, 2013

In Windows 7, program windows are going behind the taskbar

Filed under: Daily Computing — Duy Nguyen @ 11:40 am
Tags: , , , , , , , ,

This will cause all browser’s status bar to be hidden! The only fix I know is

    1. Set the taskbar to Auto-hide.
    2. Reboot.
    3. Set taskbar NOT to auto-hide.
    4. Reboot again.
Advertisements

September 5, 2011

Killing a Windows Service that seems to hang on “Stopping”

Filed under: Daily Computing,General Tips — Duy Nguyen @ 1:13 pm
Tags: , , , , , , ,

1. Go to the command-prompt and query the service (e.g. the SMTP service) by using sc:
sc queryex SMTPSvc

2. This will give you the following information:

SERVICE_NAME: SMTPSvc
TYPE               : 20  WIN32_SHARE_PROCESS
STATE              : 4  RUNNING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE    : 0  (0x0)
SERVICE_EXIT_CODE  : 0  (0x0)
CHECKPOINT         : 0x0
WAIT_HINT          : 0x0
PID                : 388
FLAGS              :

3.  Find the process identifier (PID) and kill the process with “taskkill”:

taskkill /PID 388 /F

where the /F flag is needed to force the process kill (first try without the flag).

Taken from http://bartdesmet.net/blogs/bart/archive/2004/10/16/438.aspx

Blog at WordPress.com.