I noticed that OpenFileDialog does not show all the files in the directory, this happens in my application, as well as in other Windows programs, such as the New Task task manager, Browse (which uses the OpenFileDialog control), does anyone know the reason and possible workarounds for this?
Even starting task manager as an administrator did not fix it, so it is not caused by privileges that seem
Edit: Now I know that this is caused by the appcompat function called File File Redirector , apparently I started the 32bit Task Manager, as well as my own application, and therefore it showed me the 32-bit system32 as well as the SysWOW64 folder (tell me about wierd naming schemes, in Windows 7 64-bit System32 has 64-bit files, and SysWOW64 contains 32-bit files), and it seems that when you have a 32-bit build of a specific application, you do not have access to the 64-bit System32 folder using OpenFileDialog .
As an example, here you can see that its missing SnippingTool.exe (but it is not limited to)
Although I'm sure it exists in the target location

source share