Solved Windows 7 using old version of program from cache?

RichO

New member
Member
Local time
3:30 PM
Messages
49
I am working with a netbook containing Windows 7 Starter.

Last week I created a folder in C:\Program Files. Why did I do this? Well for many years I have had several XP computers set up this way for an MS Access database and all activity occurs in this folder.

So I copied the access database to this folder, everything works fine. This week I have an update of that program (I do my work from another computer) so I overwrote it. When I run it, it's running the old version. I tried deleting it and emptying the recycle bin, then copying the new program again. When I run it, it's still the old version.

So I instead copy the new file to the desktop and run it from there, and it's the right version so I drag it to the folder in Program Files, open it, and it's the old version.

If I rename it to anything but the original name, then it will run as the new version but it seems like it is reading the old version of the program from a cache of some sort. I also tried deleting the entire folder and recreating it but that didn't make any difference.

Does anyone know what's going on here and how to fix it without using a different folder? This database is run on several computers using this folder configuration and I would prefer not to have to change that for the sake of this one computer.

Thanks for your help
 

My Computer

OS
Windows 7 home premium 64 bit
CPU
Intel Core i5
Motherboard
???
Memory
8GB Dual Channel DDR3 1600MHz - 2 DIMMs
Graphics Card(s)
GE FORCE 8400 GS
Sound Card
Integrated
Monitor(s) Displays
digital flat panel
Screen Resolution
1280 X 1024
Hard Drives
2 TB
Other Info
Dell Inspiron 660
Richo,

First, welcome to seven forums.

Now you made a very poor choice for a folder name.

Program Files is a rather sacred name to Windows.

Did you delete the Win 7 Program Files folder? That's a no-no.

The program that you want to run. The name of the program is?

Is there a Win 7 version of this program?

Some old programs can run in "compatibility mode".

Other than your problem with a particular program, is your netbook functioning correctly?
 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
Richo,
We really need you to help us.

Would you please fill out your system specs?

Here's how.



HOW TO FILL OUT YOUR SYSTEM SPECS


In the line at the top of www.SevenForums.com you will see UserCP.
That is an abbreviation for User Control Panel.
Click on UserCP.
In the left-hand column, under Your Profile you will see Edit System Spec.
Click on Edit System Spec
You can copy and paste from the output of Speccy, Speccy - System Information - Free Download to fill out much of the info. Be sure to use the Other Info section of your System Specs for such info as your optical drive, your wireless adapter, your speakers, etc.


 

My Computer

Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
RichO, first of all, welcome to the forums!

I did not quite understand from your post, whether you are updating a database or the actual MS Access.

In any case, if you are running without administrative privileges, then you might have problems with writing to system folders and Program Files is one of them. This is normal behavior.

As an example, suppose you want to manually update a program. So you go ahead and replace the executable file in the corresponding Program Files folder. What will happen is that Windows will replace your file with the old version. The proper way to update is to use the installer.

Now, I understand that you are talking about your own database or script, not a program that comes with the installer. The simplest way to avoid the problem is to put it into some other folder. I see that this is not what you want. In that case you should try to take ownership of the folder in question (but not the whole Program Files!), revoke permissions for anything else, and perform your writing as administrator. That should work, I think. But this is really not the most elegant solution, so hopefully someone else will be able to come up with something better.
 

My Computer

Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s
i think you will find there is a copy in users/yourname/appdata/local/virtualstore that is what your program is using, try deleting it.
 

My Computer

Computer Manufacturer/Model Number
HP dv6519tx
OS
Windows 7 Ultimate x64
CPU
1.80 GHz Intel Core 2 Duo processor T7100
Memory
3 gig ddr2
Graphics Card(s)
NVIDIA GeForce 8400M GS
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
15.4” WXGA High Definition BrightView Widescreen
Screen Resolution
1280 x 800
Hard Drives
Hitachi 320 GB (5400 rpm)
PSU
90 W AC Power Adapter
Cooling
Kitchen plate under the lappy
Keyboard
101 key compatible
Mouse
Touch Pad with On/Off button and dedicated vertical Scroll
Internet Speed
Three Wireless internet prepaid using E160G USB dongle
Hi everyone!

Thanks for your replies.

I will update my user CP soon with the specs.

To clarify, Access is already installed on this computer. The program I am working with and updating is the database (mdb) file. I did not delete program files (I know better than that :D). The only folder I am working with is the one I created within program files.

The one and only user that is set up on this computer is an administrator user type so there have been no issues with writing to this folder initially.

Pusspa, you hit it on the head! That's where the old version was stored. When I deleted that file the new one worked.

Thanks for all your help!
 

My Computer

OS
Windows 7 home premium 64 bit
CPU
Intel Core i5
Motherboard
???
Memory
8GB Dual Channel DDR3 1600MHz - 2 DIMMs
Graphics Card(s)
GE FORCE 8400 GS
Sound Card
Integrated
Monitor(s) Displays
digital flat panel
Screen Resolution
1280 X 1024
Hard Drives
2 TB
Other Info
Dell Inspiron 660
same problem with Caching on my Program Files Folder

Hi,

I come back to this thread because I face the same problem on my Windows 7 Ultimate x64.
I have put a FileMakerPro database in the "Program Files (x86)" folder (I mean the .fp7 file).
When working on that database (opening it from that location), everything is fine, I can add data, modify the content etc.

But when I copy that file and paste it somewhere else, it is the INITIAL version of the file which is copied, without my modification. It is as if Program Files would have kept a copy of the initial file as well as the file I usualy modify. Even though I have "versioning" disabled on my system...

Do you have an idea where can I disable this weird "security" behaviour ?

Best regards.
 

My Computer

OS
Windows 7 Ultimate x64
Back
Top