Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: All cmd windows suddenly minimising to the taskbar.

22 Sep 2017   #1

Windows 7 Home Premium SP1 64-bit
All cmd windows suddenly minimising to the taskbar.

The past few days, whenever a cmd window opens (usually via a batch script or vbs file, but if I go to the Search box, type cmd and click on the cmd.exe result, that also does the same thing), the window opens on my desktop but immediately minimises to the taskbar. I want things back the way they were (no idea why the behaviour has changed), so that it remains up on my desktop, in its usual normal window, and I can read it. I am currently having to go down to the taskbar every time to bring it back up (which as I use quite a lot of scripting, is getting very frustrating).

If I launch the script from a shortcut, it will open normally; whereas if I click on the script file itself, it goes to the taskbar. Since many batch or vbs scripts I run are part of a larger one, they are all pointed to the .bat or .vbs script itself, not to a shortcut. For example, this extract from a vbs script, which launches the batch script from the bat file (not a shortcut to that file):

Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run("""C:\Users\Martin\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Batch Files\FS\PF3-XP_ini.bat""")
Set objShell = Nothing
Just to be clear, I have no instruction in the script itself for this to happen and scripts that I have used for years are now all being sent to the taskbar the second they open, instead of remaining in a readable window, as they always have in the past.

Can anyone please help me with this? Thanks.

My System SpecsSystem Spec
22 Sep 2017   #2

Windows 7 Home Premium SP1 64-bit

I tracked down the problem just this minute. I suddenly realised what must have happened. Sure enough, I have Windows Manager installed (which remembers window sizes on positions on multiple monitors) and the 'Freeze' option was off. So at some stage over the past few days I had obviously had a cmd window open and minimised it - WM had remembered this so that cmd windows always opened minimised thereafter. Don't know why that didn't occur to me sooner.

Luckily I had thought that this might happen and had made abackup of the WM profile. I just restored it and all is OK again.

Sorry for what in effect was a false alarm!
My System SpecsSystem Spec

 All cmd windows suddenly minimising to the taskbar.

Thread Tools

Similar help and support threads
Thread Forum
Windows on the Taskbar have suddenly reduced in size to a thin line
Hey all, So all of a sudden while I was working earlier the open programs on the taskbar just suddenly started displaying as a thin vertical line. I have tried looking around to see if there was a setting, but nothing jumps out at me. I can still hover over and get aero peek function working...
Suddenly can't pin a program to taskbar anymore
This started a week or so ago. I had a program pinned to the task bar, but suddenly it was behaving strangely. When I ran one or more instances of the program, they would group together, but not group with the pinned icon. I could move them separately. Just now, in a attempt to fix this, I unpinned...
General Discussion
3 icons on taskbar are suddenly 'generic'?
I'm running a fully patch win7-64. I've got Adobe's After Effects pinned to my task bar. Until a week or so ago, it would show an AE icon, but now - it's showing a generic icon. I've tried to set the icon by hand, but it won't set. I've tried removing it and pinning it again (the icon shows up...
General Discussion
My taskbar suddenly gone.! why ???
i dont know what happen to my taskbar. please take a look the only left is start button. anyone know how to fix it ?
minimising problem
when i minimise a window and you run your cursor over it you are supposed to be able to choose what window you want to view but mine does not work and will not let me open up anything if it has two tab or conversation windows does anyone else have this problem and can anyone tell me how to fix it
Browsers & Mail

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:05.
Twitter Facebook Google+