New
#1
System Path variables not passed to NEW CMD prompt.
Random problem or when I install new program or uninstall a program:
As I use my pc throughout the day, any new CMD prompts will have a path=(null) and as such I can't use standard windows commands. If I try to go to 'My Computer', 'Properties',... to check on the value of the 'PATH' environment, I get an error indicating that it can't find the program. %windir% value is also not set.
However, when I go to REGEDIT and drill down to the 'session manager' I see that the PATH and WINDIR variables are there AND have the correct values.
At this point the only way I know how to get my PC working correctly again is to reboot, then all is good until it happens again.
I thought that by putting procmon on and running it to monitor PATH and WINDIR variable via registry change, I would somehow see what was causing my system to lose those variables. Well, those variables are not getting changed. duh.
Something is blocking my system from accessing THOSE registry variables when creating a new COMMAND or CMD prompt and without the WINDIR some of apps/windows programs are not found type of errors.
I do have SP1 installed.
I really don't know when it started happening so backing out updates is not something I want to do. My system doesn't indicate any type of warnings/errors in the event logs. If I install/uninstall an application (simple or big apps) then it messes up. Throughout the day as I use apps and close down apps, it will randomly happen. I tested specific apps by opening, running and closing but the issue didn't happen. I tried testing by opening, running and closing multiple applications at the same time. Still everything fine.
Just randomly when I open a CMD prompt that it is messed up and then I know to reboot to get it working correctly again.