Task bar icons missing - windows-7

I have tried to install a shell DLL in Windows7 using innosetup (installation script). To apply the shell changes I have restarted the explorer by using batch file (during installation).
It seems working on WindowsXP and Windows2003 without any issue. But in Windows7 once the explorer restarted all the taskbar icons like skype, google talk,.. (except Network and Audio icons) are closed. But all those applications are running fine. Even I click on the particular application (say skype) in start menu, it wont appear on taskbar. Only way is, need to stop the application in taskbar and again start it.
Is there any way to fix this.
Note:
I am running the installer with admin rights. Also I have tried to run the following commands in Windows7 'Administrator Command Prompt' to restart the explorer.
taskkill /f /im explorer.exe
explorer.exe
The same results happen. All the icons are closed in taskbar. But if I start the explorer via taskmanager this issue wont occur.
Note sure whether it is related to my installation setup (the same commands I am using in my batch file and used to run during installation)
Is there any way to fix this issue.?? I want to install without closing the taskbar icons..

Is it possible that your icon is in the overflow area? Click on the little "uparrow" chevron on the left of the notification area and see if your icon is in there.

Related

A program keeps restarting when I close it (Windows 8.1)

Relatively new to intermediate level Windows user here. I recently installed a game which kept restarting (automatically) every few seconds even after I closed it every few seconds. Windows (I use Windows 8.1) kept trying to open the .exe even after I uninstalled. I tried deleting a couple of registry entries of it (I guess I deleted a dll registry related to it)
After deleting a couple of registry entries
but it still keeps trying to open it. What can I do about it?
These guys keep coming up as I close them
Currently doing a CS course. This is my first question on stack overflow!
EDIT: This window keeps popping up every few seconds. (I have uninstalled it)This one. The game is Battlezone(1998) from Microsoft which itself is legit. I found it on a really old CD which I found in my house recently and I just installed it. It is clear on Avast Antivirus. Nothing suspicious there in Task Manager or in Startup
Try using the Taskmanager to stop any process that is related to that programm.
If you have uninstalled it and the programm still starts it probably is still installed -> the .exe file hides somewhere.
Try find and delete it manually.
You can check if you have a system tray icon as well, some programms don't close if you close them but minimize into a system tray icon. These can often be closed using right click -> close.
Does the programm start automatically after pc start? -> check your autostart folder and the autostart tab of your taskmanager and remove it.
Anymore stuff you can provide us with? -> which game, screenshots, you sure it's not maleware?

Open control panel from notepad in windows 8.1

How to open control panel from notepad , I have stuck in a blue screen problem in windows 8.1. I tried a lot of things in advance options but nothing works . I tried system restore it pop up a message that an antivirus program is running , uninstall it and then continue. There is a option for cmd there I open notepad from there , now I have to open control panel , how to open it?
To open Control Panel you just have to type control in your open CMD window.
Here you can find a quickstep guide how to uninstall programms via command prompt in Windows 8.1
But you have to be Administrator to do this!
This also won't work if you are in Startup and repair mode!

ShellExecute fails opening On Screen Keyboard with UAC enabled

I am trying to programmatically open the windows 7 on screen keyboard (osk.exe) from my program.
I found a good guide for this on this page and it works quite well when UAC is turned off.
When UAC is turned on, it is not opening the program at all however, and I can't find why. No UAC prompt is shown when opening the keyboard from the start menu, so it doesn't appear to need administrative privileges.
Is it just because the executable is located in the windows system folder, and if so, is there another way to launch a program that would work?
The error returned is 3, ERROR_PATH_NOT_FOUND, possibly because 'sysnative' path is not working with UAC enabled.
Trying to run "osk.exe" without path also fails, with an error "Could not start the On Screen Keyboard"
Finally, running "C:\Windows\system32\osk.exe" fails with error code 5: SE_ERR_ACCESSDENIED when I tried to use it with redirection turned off (as suggested in this question)
I tested the c++ code sample you refer to in your message. The routine started either from VS devenv or as a standalone exe did always show the on-screen keyboard under any available UAC mode. My OS: Windows 7 Ult. SP1 64-bit.

How to prevent apps appearing on Metro when installing on Windows 8?

I have a NSIS installer that installs my non-Metro application on Windows 8.
After installing, all the executables installed by my installer will show up on the Metro-style Start screen. Is there any way of avoiding that? Even the uninstaller exe is shown in the list, which is terrible in my opinion.
What's the best way to avoid installed .exe's from showing up on the Metro-style Start screen?
Set the System.AppUserModel.StartPinOption property of your shortcut to APPUSERMODEL_STARTPINOPTION_NOPINONINSTALL.
There is no documented way to exclude something from the Metro start screen AFAIK. The only thing I could think of was to set the System.AppUserModel.PreventPinning property on the shortcut but that does not seem to have any effect (Other than removing pin from the context menu in explorer).
I don't think this is quite the answer you were looking for, but Microsoft suggests you don't include things like uninstallers in the start menu; you should only include a shortcut to start the program itself. If you did this then you wouldn't have this issue.
The Windows 8 Start page is the equivalent of the Start menu in Windows 7 and below. They are both launchers, where the Start page has more data and personalization, live tiles, etc., but their role is identical.

Why is the system tray icon for my program not visible in Windows 7?

I'm unable to find system tray icon for my program after the installation . I could see that In Windows XP, it works just fine: the user can launch a program by clicking on the same.
However, in Windows 7 (both Home and Ultimate editions), the icon is not shown in system tray , but it works after I reboot my machine.
I have tried putting the code to refresh shell icons in the installer script, but this does not seem to have fixed the problem.
Can anyone help me on this??
PS: I use NSIS script for my installer.
Is it simply hidden in the pop-up that opens when you click the little arrow?
If not, is your program actually running at all?
If your program is running, use Process Explorer to check its integrity level (the Integrity column in Process Explorer). After you reboot and the icon appears, does the process have the same integrity level as when it didn't appear?

Resources