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: Can't change .bat file icon on taskbar

28 Feb 2013   #21
Imold

Windows 7 Home Premium (64-bit) Service Pack 1
 
 

What you need to do is run the program then right click to open the jump list. Right click on the program name at the top and click on properties.
Can't change .bat file icon on taskbar-untitled.png
Click "Change Icon...", select the icon you want, and hit OK.
Can't change .bat file icon on taskbar-untitled2.png
Can't change .bat file icon on taskbar-untitled3.png
hit OK to exit out of properties.
Log off and back on, or reboot for change to take effect.
Can't change .bat file icon on taskbar-untitled4.png
This should work for any program.




My System SpecsSystem Spec
.
28 Feb 2013   #22
Harry B

Win 7 32
 
 

Right clicking on the icon in the taskbar produces no such context-menu. I can get one of two menus--one with the name of the program (which, when right-clicked on gives no properties but a menu from one of the programs that assists the program I'm running--I know that's complicated.)

Big progress--the mystery icon is probably coming from NTVDM.EXE. I'm trying to use Resource Hacker to change it, but it won't let me save a different NTVDM.EXE. I'm going to try to save under a different name then overwrite NTVDM.EXE
My System SpecsSystem Spec
28 Feb 2013   #23
Harry B

Win 7 32
 
 

I'm real close now. Only need help with one thing: how do I overwrite NTVDM.EXE? I get access denied, even when I run it as administrator--even when I dual boot into my 64 bit Windows 7 and try to change the 32-bit NTVDM.EXE file from within the 64! I've fiddled with permissions and ownership, neither of which I really understand, but no luck.

I can't change the file when launched in SAFE MODE, using CMD.EXE or otherwise.

How do I copy NEWNTVDM.EXE over NTVDM.EXE?
My System SpecsSystem Spec
.

28 Feb 2013   #24
Imold

Windows 7 Home Premium (64-bit) Service Pack 1
 
 

Quote   Quote: Originally Posted by Harry B View Post
I'm real close now. Only need help with one thing: how do I overwrite NTVDM.EXE? I get access denied, even when I run it as administrator--even when I dual boot into my 64 bit Windows 7 and try to change the 32-bit NTVDM.EXE file from within the 64! I've fiddled with permissions and ownership, neither of which I really understand, but no luck.

I can't change the file when launched in SAFE MODE, using CMD.EXE or otherwise.

How do I copy NEWNTVDM.EXE over NTVDM.EXE?
Have you tried taking ownership and setting your permissions to full control for both the file and the folder it's in?
How to Take Ownership of a Item in Vista and Windows 7
My System SpecsSystem Spec
28 Feb 2013   #25
Harry B

Win 7 32
 
 

Didn't try doing that for the folder. Will do, thanks!
My System SpecsSystem Spec
28 Feb 2013   #26
Harry B

Win 7 32
 
 

Okay problem solved at last! Here's what may be worth noting: old DOS programs that use NTVDM.EXE get the icon for that, not for the preogram. One can change the icon for ntvdm.exe using Resource Hacker, provided one "takes ownership" of the System32 folder and of NTVDM.EXE and sets the permissions to full control. It successful, after logging of an logging back one will even see the new icon in Explorer when one goes to look at NTVDM.EXE in the System32 folder.

My thanks to Kari, Bongo, and Imold, who each provided a step in the right direction.
My System SpecsSystem Spec
23 May 2015   #27
p75213

Windows 7 Pro 32 bit
 
 

in the registry there is the following entry:Computer\HKEY_LOCAL_MACHINE|SOFTWARE\Classes\Applications\NTVDM.exe. There are two values 1) Default 2)UseExecutableForTaskbarGroupIcon. Both values are empty.
I did a search on the latter and found the following:

Causes the taskbar to use the default icon of this executable if there is no pinnable shortcut for this application, and instead of the icon of the window that was first encountered.

I'm thinking maybe this registry key can be modified so that it uses the icon of the shortcut. Does anybody have any ideas on what to modify the value to?
My System SpecsSystem Spec
23 May 2015   #28
Harry B

Win 7 32
 
 

Yes, I'd love to know what to set that to. I'm going to try to set it to 0 (false).
My System SpecsSystem Spec
23 May 2015   #29
p75213

Windows 7 Pro 32 bit
 
 

I think it would be a string as it is of type REG_SZ.
My System SpecsSystem Spec
23 May 2015   #30
Harry B

Win 7 32
 
 

I played around with it, even adding a new key under NTVDM.EXE: DefaultIcon, with the location of the icon I want, but doesn't seem to do anything.
My System SpecsSystem Spec
Reply

 Can't change .bat file icon on taskbar




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
File Extension Icon - Change Default Icon
How to Change the Default Icon of a File Extension in Windows 7 This will show you how to change the default icon of any file extension to have a custom icon of your choice instead for it in Windows 7.By default, known file extension types are set to be hidden in Windows 7. You will need to...
Tutorials
All icon change to WMP and all target type change to EXE File
hey guyss..i have problem with my computer....all my icon change to Windows media player and all target type change to EXE File...what should i do.....plzzz... #sorry for my bad english.. Windows 7 Ultimate 32 bit sp1 2 gb ram
General Discussion
Taskbar Icon Change Issue
I am experimenting with different icons for certain apps and functions. However, although the icon in the properties dialogue updates, the icon in the taskbar does not. The only way I know of to see the changed icon is to restart the computer. This is annoying. Is there a way I can...
General Discussion
How do I change the location of icon on taskbar
Hi. Lately I have been cleaning up my desktop in order to make it as minimalistic as possible, and as easy as possible to use. I am almost done, but I would just like to do one more thing, which is move the libraries icon over to the right where the smaller icons are (not sure what they are...
Customization
can we change the network icon in the taskbar ????
hI 2 ALL I wanna ask you if we can change the network icon in the taskbar from what it appear now to that in win xp
Customization
How do i change the library icon on the taskbar?
http://i48.tinypic.com/nv6qyr.png How do i change that i icon? I know that I can change the other icons by making a shortcut on the desktop then right-clicking Properties->Change Icon but it dosent seem to work with the library icon. Is there a way to change it, or am i stuck with the default...
Customization


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:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App