We have about eight servers in a terminalserver-farm (W2k3 R2 x64) used to access various applications installed on them.
Now we need to access some websites that need smartcard authentication. The program that is needed for that is called "siecacst.exe" (Siemens Smartcard Program) and manages the certificates on the card.
So here's the problem: The above mentioned program puts itself to the notification tray on the right side of the taskbar. This is fine when the explorer.exe process is running. But unfortunately we did not use the explorer.exe as shell but another self-developed "Launcher" which replaces the default shell. So there is no more tray where the program can go into. The program quits with an error message saying that it cannot put itself to the tray, grrrr...
As the developer of the smartcard-tool is not willing to modify it's program, I need another way to tell it that it was successfully minimized to the tray.
So heres the question: Is it possible, maybe with capturing windows messages (overriding hwnd, sendmessage...), to simulate a successful placement in tray, even if there's no real tray (as there's no explorer process running)?
The Launcher that is used as a shell-replacement is written by me (or myself? (sorry, I'm german :))), so I could just implement some sort of a fake-tray...
The workaround that is now in test is to start the explorer but disable anything via group policy and hiding the taskbar using api. But I don't like this method as it loads tons of other not needed processes...
btw. Language preferred is vb.net, but c# is also fine.
Thanks a lot!