Cannot See files saved with 32-bit programs on Windows 7 64-bit

Posted on 2011-10-26
Medium Priority
Last Modified: 2012-05-12
I have seen this in a couple of different applications now, you save a file on your Windows 7 64-bit machine and then go into Explorer of the command prompt and the file does not appear. However, if you open the 32-bit application, you can see the file - it appears with a lock icon on it as well.  This happens with Putty.exe and Crystal Reports (version for MAS 500).

Steps to reproduce using Putty.
1) download Putty.exe (I have release 0.6)
2) Unpack and put it in a folder c:\program files (x86)\Putty
3) Launch Putty.exe and connect to something - like a Cisco Switch
4) Once connected Click the top left corner of window and select "Change Settings"
5) Select Session and under that Logging
6) Sellect All session output and browse to the same folder as in #2 above.  Call the file MYOUTPUT.Log.
7) Save some output (like show running-config)
8) Exit

Examine the file in Windows (If you can!!)
9) open Windows Explorer.  You will NOT see the file in the specfied folder.
10) Open a Command Prompt (even using Run as Administrator) and CD to the folder.
11) Do a DIR *.LOG - you won't see the file
12) Do an ATTRIB *.Log  - you won't see the file

Look in PUTTY again
13) Open Putty
14) Click on Session and Logging (no need to connect to anything at this point)
15) Click Browse - and Whoa!  There is the MYOUTPUT.LOG plain as day.  However, it differs from other files in the folder in that it has a lock icon in the bottom left.  
16) Examine the properties on the file and you will see it is identical to all other files in the folder EXCEPT that it has the odd lock icon on the bottom left.

So, what happened?  It appears that is some type of attribute set on the file that only the 32-bit programs understand.  I have also done this with a 32-bit version of Crystal Reports.  Oddly, the Putty.exe can see the files created by Crystal, but nothing else can.

I would surmise that these programs are using an API for Explorer that has been replaced by something newer.  But, what attribute is being set and can I unset it to correct the visibility within the native Windows 7 64-bit OS?

Question by:Yo_Paulie
  • 3
  • 2
  • 2
  • +1
LVL 22

Accepted Solution

Adam Leinss earned 1000 total points
ID: 37034425
LVL 22

Expert Comment

by:Adam Leinss
ID: 37034443
You can prove this by trying dir *.log /s /a

Assisted Solution

Yo_Paulie earned 0 total points
ID: 37034596
Thanks Aleinss,

As it turns out, it was a problem with the UAC Virtualization.  The article you provided was helpful in diagnosing, but lacked a solution for anything other than a program which I wrote.  So here is a post with a solution:



Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Author Comment

ID: 37034878
I've requested that this question be closed as follows:

Accepted answer: 0 points for Yo_Paulie's comment http:/Q_27417192.html#37034596

for the following reason:

The answers provided demonstrated how to diagnose the problem, but did not list how to resolve the problem for 3rd party applications.  This posting demonstrated how to do that.
LVL 22

Expert Comment

by:Adam Leinss
ID: 37034879
Hmm, some points would be nice, even if it isn't the full boat.  I thought the article did the job of explaining the problem and the possible solutions.  Since you use terms like API, it could be interpreted that you are developer, end user or both.
LVL 84

Expert Comment

by:David Johnson, CD, MVP
ID: 37035096
The problem is in the application and not the operating system as the application does not follow the rules re: windows 7 security. Windows XP security and Windows Vista/7 security is different. which is why the appdata folder is recommended and the \program files\ is discouraged but a work around does exist in the form of virtualization rather than faulting the application in the desire of backwards compatibility. So don't save files in the 'programfiles' area
LVL 66

Expert Comment

ID: 37035719
Keep in mind, you can at least disable uac virtualization without disabling UAC altogether .... and i would object to the closure of this as the link provided did appear to offer an explanation, but i cant on mobile ee....
LVL 66

Expert Comment

ID: 37051833
accept http:#37034596
award 500 to http:#37034425

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question