Networked File stored in local cache whereas it doesnt exist anymore.

satanico64

New member
Local time
9:09 PM
Messages
2
Hi all,

Let me explain you my problem : I am a programmer (but it is not the problem :p), i've a program (created in autoit) used by about a hundred users on Win 7 at my work.

My users run my program from the network : \\myserver\share\program.exe Nothing in local.

When i update my program, i replace my program.exe on the network with a new version (while it is being used by users). The name is still program.exe but it is now in version2 (versus version 1 before)

So i have overwritten my program.exe with a new program.exe, the version 1 does'nt exist anymore but users are still executing it (it was run from network). I need now to restart my program on the computers, so they execute the new version .

=> to restart, i send an order to the program, and my code do this: run the exe again (another instance), get the new PID (process id), send the actuel PID to the new process, and send an exit. The new program wait until the old process die and then goes on.

When i restart my program, the users which where executing the version1 should be now in version 2 after restart.

PROBLEM => sometimes it is the old version which is run after restart ! :shock: (the version 1), even several days after i've updated it (the version 1 does'nt exist anymore ! it is replace with the new version (same name)...)

it looks like a cache problem from local pc, on windows 7, but how to deal with it ?...:huh:

In this way, we start the program, before killing the old one. My 'cache' probleme may come from that.
(I have another idea in mind that would be to create a .bat, run it, kill my program and then start it again... but i first want to understand where is my program stored in local cache...


do you have any idea for me ? or an explanation, where is stored my program.exe which is run from network only ..

thanks !

Nicolas.
 

My Computer My Computer

At a glance

Win 7 Ultimate 64
Computer type
PC/Desktop
OS
Win 7 Ultimate 64

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1AMD Phenom 2 1090T2x8GB Kingston HyperX Fury Black 1600Mhz Unga...MSI GTX 970 Gaming 4G
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free
Browser
IE 11 - Firefox - Chrome
Other Info
Logitech F710/ G27/ G940/ Z5500 // TrackIR 5 // Nvidia 3D Surround Vision
good idea, i well know process explorer but i had not access to the computer of the user (about 400 km ^_^ ) (and i absolutely didn't think at all about process explorer at the time)
Next time i'll face the problem i'll do that (remotely)
Thanks for your answer.
 

My Computer My Computer

At a glance

Win 7 Ultimate 64
Computer type
PC/Desktop
OS
Win 7 Ultimate 64
Back
Top