Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



tomasz86

[SOLVED] Win2k - Windows console (cmd.exe) and random reboots/freezes

Recommended Posts

tomasz86    70

I've been experiencing strange system crashes when processing batch scripts. They happen only when a lot of data is processed at once and the screen in cmd.exe is moving very fast. Suddenly system crashes and reboots. There is no BSOD and event manager only says that "system was not shut down properly".

Does anyone know what can be the reason of this?

It happens randomly so it's difficult to reproduce.

Edited by tomasz86

Share this post


Link to post
Share on other sites

bphlpt    104

I know this doesn't really help, but it sounds like some kind of overflow, either a stack or something so it just wanders off. It can't give you a BSOD because windows is no longer in charge monitoring things.

Cheers and Regards

Share this post


Link to post
Share on other sites
dencorso    542

I know :(

But the issue is in the NT-family OSes from the start, and has only been fixed, unofficially BTW, in XP and perhaps officially in the later OSes, if at all. It may be the source of your problem. Then again, I may be wrong.

Share this post


Link to post
Share on other sites
tomasz86    70

I don't know if it helps but also sometimes (once a day?) cmd.exe freezes and the only way to close it is to reset the computer. You can't even reboot normally as the system doesn't shut down because of the freezed cmd.exe.

Share this post


Link to post
Share on other sites
bpalone    7

Do you happen to have another machine you could try to reproduce the issue on?

I had a motherboard fail on me, that only acted up on Win 2K, for a spell. But, it finally did it in my other OS a few weeks later. I tried most everything else, before I finally had to allow that it was the motherboard. I still have the motherboard and could use it in an absolute pinch.

Just a thought to try and reproduce the issue on another machine.

Good luck tracking the issue down.

Share this post


Link to post
Share on other sites
tomasz86    70

Process Hacker doesn't work under Win2k :o but I guess Process Explorer should be enough? I'll keep it running and see if there are some strange things when the problems occur.

I forgot to say that sometimes (not always) when I get this cmd.exe freeze and reboot the machine, devices connected to USB are not detected. I need either to reconnect them or restart the system one more time to get them to work again. I guess it may have something to do with the mainboard but hope it does not :(

Edited by tomasz86

Share this post


Link to post
Share on other sites
tomasz86    70

I've just experienced a freeze twice when processing something in CMD console... I had Process Explorer running in background all the time and I was able to check it when the freeze happened but there was nothing special in it :(

Could you recommend any other more advanced tools to see what the problem is? :/ When such a freeze happens the only way to get over is is to do a hard reset.

Share this post


Link to post
Share on other sites
tomasz86    70

I got another reboot when running yanklines.vbs script. After the reboot I ran the script again and the screen froze for a while but this time it didn't cause a reboot. After 5-10 seconds it continued its task.

I also observed that sometimes after such a reboot the USB devices (including mouse) connected to the computer are not detected until I replug them.

I wonder whether it may be hardware (mainboard?) oriented problem rather than the OS. What do you think?

Edited by tomasz86

Share this post


Link to post
Share on other sites
bpalone    7

My problem had been if I left the machine and had a meal and came back, the mouse was froze. It would accept keyboard input, but the mouse was dead. (The mouse was USB) I figured that BIT ROT had finally gotten to me, since that install had came from 9x update and had gone through a few motherboard upgrades as well. I knew I had been pushing my luck. So, I did a complete re-install hoping that would fix it. But, it didn't, so thought I might have some memory going bad in the LOW addresses. Ran the memory test x86 or whatever it is that comes on most Linux CDs and found nothing. I even tried moving memory to see if that would do it. The problem persisted, but only in 2K, not in my Linux install. Finally, about a week to ten days later it did it to me in Linux. At that point, I accepted that it was a hardware issue.

So... I'm assuming that you have tried a fresh install, and have eliminated the memory as a possible cause. If so, then I would start to lean towards hardware. Do you have a USB device you could use to stress the USB circuits on the mother board? I am just thinking out loud, hoping that something I mutter might light the light of inspiration to solve the issue.

Good luck at getting it diagnosed.

Share this post


Link to post
Share on other sites
tomasz86    70

I'm starting to think that it's a hardware related problem because I have observed that when such a reboot happens and the mouse stops working, the optical light is also off BEFORE the OS starts to boot. Normally it turns on just after the computer starts and BIOS detects the devices.

I also remember that a few times there was an error saying that there is no keyboard. The keyboard was connected to USB-port by a PS2-USB adapter. I switched to PS/2 and haven't seen this error anymore since then. It also was displayed by BIOS before starting Windows.

I guess I need to check the memory first but I guess there might be something wrong with the mainboard itself.

Share this post


Link to post
Share on other sites
tomasz86    70

I haven't mentioned it before but the cmd.exe problem doesn't happen if @echo off is on. It happens only if many lines are moving very fast (visibly on the screen).

The crash goes like this

1. cmd.exe suddenly stops & artifacts show on the screen

2. monitor turns off (but music is still playing)

3. automatic reboot after 2-3 seconds

Could it be memory related?

Edited by tomasz86

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×