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

Posted on 2011-10-26
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
    LVL 22

    Accepted Solution

    LVL 22

    Expert Comment

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

    Assisted Solution

    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:


    Author Comment

    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
    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 77

    Expert Comment

    by:David Johnson, CD, MVP
    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

    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

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

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
    The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now