When I fresh boot my computer everything is dandy. Then after a few hours applications like Visual Studio, Notepad++, Games, iTunes, Windows components (Cmd prompt, Explorer, etc.), etc. stop working with errors about missing files or not being installed correctly.

I found that if I browse out to Cmd.exe and run it directly (instead of from the menu link) then I can run it, and the WinDir environment variable and others are missing (which explains why I can't run Cmd.exe from the shortcut since it uses %WinDir%\System32 for the path) and the system path is set to (NULL).

When I go to Advanced System Settings (again manually exploring to SystemPropertiesAdvanced.exe) all the environment variables are still there. I checked my memory utilization and I have 1 of 6 Gig free, with my Commit Charge peak well bellow the limit (like 30%).

The clipboard also stops working too.

Not running anything to exotic, although I do have a lot of Chrome tabs open. Running Backblaze for backup, Microsoft Security Essentials, and various other utilities. Closing things one at a time hasn't seemed to fix it.

It has been getting progressively worse (happening sooner and sooner). Would like to know what is causing it without reinstalling.

Running Windows 7 Ultimate 64-Bit

link|improve this question

This happens every time you boot and work for a while? – Synetech Jan 24 '11 at 20:33
@Synetech: Lately it has been happening every time, but not after the same interval. Haven't discovered the pattern yet, expect that it frustrates me until I reboot. – Jim McKeeth Jan 24 '11 at 21:50
Could it be a handle leakage? Have you checked task manager and enabled the relevant columns in the process tab to see if any of the processes are gobbling up all your handles? – Lasse V. Karlsen Jan 24 '11 at 22:43
I have the same issue where most of my environment variables go missing. It seems to only occur after my system wakes from sleep. I'm running Windows 7 Enterprise 32-bit on a domain. – user65691 Feb 2 '11 at 6:03
I started seeing the same symptoms on 64 bit Vista in December. My PC can run for a few days before this happens and I need to reboot. Kaspersky anti-virus has found no problem. Also reported here: [superuser.com/questions/355594/… – Lee Jan 11 at 9:28
feedback

1 Answer

Per Lasse V. Karlsen's suggestion I looked for a really high Handle count next time it happened. Audacity had 41K of them, and it has been rather unstable lately too. Unfortunately I have the latest version (1.3.12), and closing it doesn't seem to reclaim all of the handles. I'll file a bug report.

NOTE: While Audacity was leaking handles, this does not appear to have been the only cause of my headache. Still having troubles and haven't used Audacity since reboot. May be time for a reinstall.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.