1.

Solve : windows nt question?

Answer»

our server at work is windows nt, been running constantly since 1999.  Now the icons on the taskbar seemingly changed on their own and are black... i hope im calling it the right thing, the buttons in the corners of the screen--the minimize, maximize and close buttons.  any ideas on how to fix this back.  did we change something and not realize it or is the thing getting ready to crash.  any input appreciated.  QUOTE from: suzi2460 on May 27, 2010, 08:07:28 PM

did we change something and not realize it or is the thing getting ready to crash.  any input appreciated. 
Servers normally don't crash without any reason. So I'd say something was probably changed by accident.

BTW, Windows NT is really old - I would have have thought that servers today would run at least Windows 2000. I guess I was wrong. I'm sure you have, but I've got to ask, when is the last time you rebooted?

I had an NT server years AGO and every now and then it would do something strange and rebooting usually fixed the problem.

If that machine has been running for 11 years, you have more than got your monies worth out of it and you might start thinking of getting a new computer.

If you have custom software that only runs under NT, and you need to keep NT, and do get a new computer, keep in mind that a new install of NT needs a floppy drive to start the process before it starts loading from a CD. Quote from: rthompson80819 on May 27, 2010, 08:53:06 PM
I'm sure you have, but I've got to ask, when is the last time you rebooted?

Quote
been running constantly since 1999.

Taking it literally, the last time it was rebooted was 1999!... And to think, linux users are proud when they exceed a week...


Quote
Now the icons on the taskbar seemingly changed on their own and are black... i hope im calling it the right thing, the buttons in the corners of the screen--the minimize, maximize and close buttons.  any ideas on how to fix this back.

Actually, what you are referring to are called Control Buttons (I believe) the taskbar is where the start button and running programs are found.

I have to second rthompson- this is probably simply the result of the system running for a long time. Somehow, the GDI stack has become corrupted, and the STOCK handles that used to point to the min, max, and close bitmaps were corrupted.

Now, these bitmaps are cached when the window manager creates them for the first time. They are created the first time by drawing a raised square (or depressed or disabled square, depending on the button state) and then using the Marlett font to draw the Minimize, Maximize/Restore, and Close buttons at the proper size. This is of course a guess, really- it's fully possible that windows redraws the buttons and the font characters in their entirety as required, but I'd hazard a guess that they cache the bitmap to make redrawing faster.

In which case, the question is how to refresh that bitmap so it looks right? Well, one method could be to change the size of the "caption buttons" item in the Appearance Tab of Display Properties, Apply it, and then you can reset to the old size if desired.

If the buttons are drawn "from SCRATCH" whenever windows needs to, though, then chances are the font handle to the marlett font was corrupted (this is surely cached within GDI). In which case I haven't a clue how you can "force" it to draw properly. It might even be that the GDI heap is full and objects are becoming invalidated and or allocations are failing.



Discussion

No Comment Found