In my old Windows 7, I could get the list of the open windows just hovering on the folder icon, and I could get the windows in "list" format:
Now, with my new Windows 10, the list of open windows has become to thumbnails.
I don't like these thumbnails, and would like to come back to see them as a list, without the thumbnails.
Is there a way to change the Windows 10 behavior?
Unfortunately you cannot turn it off completely. You can set it to stop showing thumbnails for two or more windows though. It requires a registry edit, and is explained here: https://www.tenforums.com/tutorials/20989-change-taskbar-thumbnail-threshold-show-list-windows-10-a.html
The gist of it is Windows will stop showing thumbnails when there are too many, depending on screen resolution. You can set this to be 1 in the registry so when you open more then two windows of the same program it will display the listing instead.
Just not to leave this unanswered, i found the solution:
Add a DWORD 32 registry key in:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband
With the name:
NumThumbnails
And the value:
1
That's all.
Related
The Windows 10 start menu will show recently added programs after you run an installer.
In my case, the installer installs more than one program to Start Menu. For some reason it is picking one of them and showing it as "recently added", but I'd like to specify that a different one shows up there.
How can this been set / controlled?
I have tried to change the order which the installer adds entries to the start menu, but that didn't appear to have any effect.
I'm not sure how Windows internally tracks this, but at least if you are using Inno Setup it is possible to disable tracking the installed program as recently added by using a flag:
excludefromshowinnewinstall
Prevents the Start menu entry for the new shortcut from receiving a
highlight on Windows 7 and additionally prevents the new shortcut from
being automatically pinned the Start screen on Windows 8 (or later).
Ignored on earlier Windows versions.
Ref.: https://jrsoftware.org/ishelp/index.php?topic=iconssection
So it should be possible to apply this exclusionary flag to all but the program which is intended to be shown in the list.
Let's start off by saying I am on Windows 10 and that i've seen many posts about this subject but none seemed to work for me. Looking at this post has solved some issues but I still need some assistance. Add menu item to windows context menu only for specific filetype
What I want to do is add an a specific item to only images (I will start with .jpg) that will say "Upload Image". Here is what I have so far:
I searched for the default value of HKEY_CLASSES_ROOT\.jpg which is jpegfile.
I added this key HKEY_CURRENT_USER\SOFTWARE\Classes\jpegfile\shell\ImagePanel\command
I set command default value to my application directory.
After doing all that, the only thing that changed is the context menu shows my application under "Open with" and doesn't actually have its own spot on the context menu.
Am I doing something wrong here?
Had exactly the same problem, something must have changed in Windows 10.
I finally managed to get it work, here are the keys that worked for me:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.jpg\Shell\
or this one for all the image extensions:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\image\Shell\
for example this is what I used (the first entry is for loading the icon, just the second one is needed to actually create the new menu item):
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\image\shell\Photoshop]
"Icon"="C:\\Program Files\\Adobe\\Adobe Photoshop CS6 (64 Bit)\\Photoshop.exe,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\image\shell\Photoshop\Command]
#="\"C:\\Program Files\\Adobe\\Adobe Photoshop CS6 (64 Bit)\\Photoshop.exe\" \"%1\""
A have this application where i disable the options presented at Ctrl+Alt+Del screen by changing the values in windows registry progamatically. (It is imp that i do this due to security reasons).
Since i have moved the application to Windows 10, i have been able to remove the command list like "Sign out, Lock, Change a password, Switch user etc..".
Till windows 8 changing the value of, HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogoff and
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoClose
from 0 to 1 used to do the trick. However in windows 10, the keys exist but they are not of any help.
Please respond if any one has any clue.
Thanks in advance.
Edit:
The application was written in VB6 and it has worked well on CP, Windows 7, 8, 8.1.
If there are other ways, like suggested by #code gray, where i could change the group policy options programmatically and obtain the desired result i would appreciate the details for them as well.
I have been able to identify a possible solution.
For ctrl+Alt+Del screen change the following registry key in Windows 10. If you dont find the "NoClose" key then create one there.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer
"NoClose"=dword:00000001
For Start menu:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer
"NoClose"=dword:00000001
This solution will not remove the PowerButton Icon from the Ctrl+Alt+Del but it will be of no use.
Hope it helps others searching for the same solution.
Thanks !
I have an Inno Setup project. Everything is fine, but I do not see the application icon in the "Programs and Features" control panel area. I do see the icon everywhere else.
The script file does have the following:
[Setup]
SetupIconFile={#MySetupImageIco}
Is there something else that I need to set to get the application icon to show in the Programs and Features control panel applet? I am testing against Windows 8.1.
UPDATE:
Based upon comments, I tried setting in my script:
UninstallDisplayIcon={#MySetupImageIco}
Sadly, that did not yield the icon in the Add/Remove aka Programs and Features Control Panel applet.
UPDATE #2:
The winning solution is:
UninstallDisplayIcon={app}\{#MyAppExeName}
Naturally, there has to be a #define MyAppExeName "whatever.exe" above that at the top of the script. Interesting that when I specified the path to the ico file, I had no success. Inno Setup for Windows 8 and 8.1 wants what I just said. Windows 7 works with UninstallDisplayIcon and specifying the path to the ICO or without that, just Windows 8 and 8.1 are a bit different.
Solution is:
Add
[Setup]
UninstallDisplayIcon={app}\{#MyAppExeName}
Specifying the actual ico file did not work, but this entry did.
I tested against Windows 8/8.1. Windows 7 works without this line.
I can confirm this as a working solution too (Win7 x64):
[Setup]
UninstallDisplayIcon={uninstallexe}
What I really love here it's independent to app name etc. Just pure alias to uninstaller.
Found at https://dutchgemini.wordpress.com/2011/05/03/innosetup-and-the-missing-uninstall-icon-on-windows-7
In Windows 11, you can use the icon file itself.
UninstallDisplayIcon=C:\Path\to\ico\file
does the thing.
Worked for me.
Add
It should be
UninstallDisplayIcon= {app}ForwardSlash{#MyAppExeName}
I tested it against Windows 10 latest build.
I had a problem with your #MyAppExeName solution because I use the OutputBaseFilename directive. A more elegant solution is:
UninstallDisplayIcon={srcexe}
I am using the SHGetFileInfo api to get a handle to and display the icon associated with a particular file.
If the file has no icon associated with it Windows will return you the default one that it uses in explorer for unknown file types. In this case I don't want to display the icon.
How can I tell if the file has no associated icon and Windows is giving me back the default one?
On my system SHFILEINFO.iIcon is always equal to 3 in this case but i'm not sure how reliable that is and I expect there is a better way to check this.
Edit: I am targeting Windows XP and upwards
Thanks
Which OS versions are you targeting? If you can assume Vista and later, there's an API SHGetStockIconInfo that you may find useful.
SHGetStockIconInfo(SIID_DOCNOASSOC, SHGSI_SYSICONINDEX, &sii)
will return the icon index you're looking for in sii.iSysImageIndex.
You could try passing a fictitious filename with an unknown extension to SHGetFileInfo(), keep track of which icon index it reports, and then compare that index to your real files.