Solved Command Prompt has no window

p75213

New member
Local time
11:15 PM
Messages
21
When I run Command prompt from accessories (using a shortcut) I see cmd.exe as a process using task manager. However it does not appear under the application tab and there is no window.
Cmd.exe will run ok directly from c:\windows\system32\cmd.exe or pressing the windows key and typing cmd.exe into the search field.
I read somewhere that HKEY_CURRENT_USER\Console\Fullscreen must be set to zero. I did that but it made no difference.
Another suggestion was delete the following registry keys. However that made no difference either.

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Group Policy]
[HKEY_CURRENT_USER\Software\Policies\Microsoft]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy] mode
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

If I start up in safe mode or login as a different user it works perfectly.
I have a feeling it is a carryover from Windows Easy Transfer when I migrated from xp.
Up till now I have lived with it by just using cmd.exe directly. However I have a new application that that uses cmd.exe and is being effected by it.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude D820
OS
Windows 7 Pro 32 bit
There may be some damaged or corrupt system files. If you haven't already done so, try running a System File Checker scan from an elevated command prompt (Option Two, this tutorial.) If damaged/corrupt files are found it may take running SFC three or more time to fix everything it can.

http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html

If there were no integrity violations found after running SFC see if you can get cmd.exe to "run as administrator" using one of the options in this tutorial.

http://www.sevenforums.com/tutorials/11841-run-administrator.html
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sony Vaio VPCEB47GM Laptop
OS
Win 7 Pro 64-bit
CPU
Intel i5 2.4 Ghz
Memory
8GB DDR3
Graphics Card(s)
Intel HD 3000
Sound Card
IDT High Definition
Monitor(s) Displays
15.6 WGXA Anti-Glare LED
Screen Resolution
1280x800
Hard Drives
640Gb 7200rpm
Antivirus
MSE
Browser
Opera (primary) with IE9 backup
I should have mentioned I have run sfc/scannow. Although there was initally a corrupt file it was repaired but made no difference. A subsequent run of sfc/scannow found nothing. The same thing applies to running command prompt as administrator - it had no effect.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude D820
OS
Windows 7 Pro 32 bit
Go to C:\Windows\System32\cmd.exe - right click cmd.exe - send to - desktop

cut the shortcut from desktop and paste in:
C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free
Browser
IE 11 - Firefox - Chrome
Other Info
Logitech F710/ G27/ G940/ Z5500 // TrackIR 5 // Nvidia 3D Surround Vision
Wow - That works. Your a legend. Many thanks. I had to put the shortcut into my login folder as it wasn't appearing under accessories in the startup menu under C:\Users\Default
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude D820
OS
Windows 7 Pro 32 bit
This is what the properties for Command Prompt looks like on my Win 8.1 system. Should be the same for Win 7:

CommandPromptProps.jpg

Compare it to yours?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
This is what the new shortcut looks like. It has the absolute path rather than environment variables. The old shortcut did use environment variables as yours does however it didn't work. So it looks like the environment variables are somehow the problem.
 

Attachments

  • command prompt.PNG
    command prompt.PNG
    16.9 KB · Views: 30

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude D820
OS
Windows 7 Pro 32 bit
Well I changed the absolute paths to environment variables and it still works. So environment variables were not the problem.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude D820
OS
Windows 7 Pro 32 bit
Perhaps this add-on is causing a problem. What is it?
 

Attachments

  • Addons.JPG
    Addons.JPG
    30.2 KB · Views: 27

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Built 2/11/2011
OS
Windows 7 Pro-x64
CPU
i7-2600 3.4GHz - 3.8GHz Turbo
Motherboard
Intel DH67BL-B3
Memory
8Gb - 2x4GB, Muskin 991770 PC3-1333
Graphics Card(s)
Integrated Intel HD 2000
Sound Card
Integrated Intel 10.1 HD, RealTek ALC892
Monitor(s) Displays
Asus LCD VH222H, Haier HL24XSL2a
Screen Resolution
1920x1080, 1920x1080
Hard Drives
Crucial SSD C300-128Gb,
Western Digital WD5002AALX - 500Gb,
Western Digital WD7501AALS - 750Gb
PSU
Seasonic 650W 80+ Gold Modular
Case
Rosewill Defender
Cooling
Stock CPU, Four 120mm case fans, PCH fan added
Keyboard
Logitech EX100 Y-RBH94 Wireless
Mouse
Logitech EX100 M-RCE95 Wireless
Internet Speed
3.0/1.5 Mbs
Antivirus
Microsoft Security Essentials
Browser
Microsoft Internet Explorer 11
Other Info
Antec Veris Premier-Multimedia IR Station,
Cyber Accoustics-3602 Speakers,
AFT XM-5U Card Reader,
Hauppauge TV-HVR-2250,
Sony LX300 USB Turntable
The add-on is "Actual Title Buttons". My main use of it is to force a window to stay always on top. But it isn't the problem as it didn't make any difference if it wasn't running.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude D820
OS
Windows 7 Pro 32 bit
Just thought I'd ask. Looks like ATB has had a history of killing programs too.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Built 2/11/2011
OS
Windows 7 Pro-x64
CPU
i7-2600 3.4GHz - 3.8GHz Turbo
Motherboard
Intel DH67BL-B3
Memory
8Gb - 2x4GB, Muskin 991770 PC3-1333
Graphics Card(s)
Integrated Intel HD 2000
Sound Card
Integrated Intel 10.1 HD, RealTek ALC892
Monitor(s) Displays
Asus LCD VH222H, Haier HL24XSL2a
Screen Resolution
1920x1080, 1920x1080
Hard Drives
Crucial SSD C300-128Gb,
Western Digital WD5002AALX - 500Gb,
Western Digital WD7501AALS - 750Gb
PSU
Seasonic 650W 80+ Gold Modular
Case
Rosewill Defender
Cooling
Stock CPU, Four 120mm case fans, PCH fan added
Keyboard
Logitech EX100 Y-RBH94 Wireless
Mouse
Logitech EX100 M-RCE95 Wireless
Internet Speed
3.0/1.5 Mbs
Antivirus
Microsoft Security Essentials
Browser
Microsoft Internet Explorer 11
Other Info
Antec Veris Premier-Multimedia IR Station,
Cyber Accoustics-3602 Speakers,
AFT XM-5U Card Reader,
Hauppauge TV-HVR-2250,
Sony LX300 USB Turntable
Back
Top