Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

08 Aug 2015   #1
satanico64

Win 7 Ultimate 64
 
 
Networked File stored in local cache whereas it doesnt exist anymore.

Hi all,

Let me explain you my problem : I am a programmer (but it is not the problem ), 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 ! (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 ?...

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 System SpecsSystem Spec
.
08 Aug 2015   #2
GokAy

Windows 7 Ultimate x64 SP1
 
 

Perhaps Process Explorer (https://technet.microsoft.com/en-us/.../bb896653.aspx) will help you locate it.
My System SpecsSystem Spec
08 Aug 2015   #3
satanico64

Win 7 Ultimate 64
 
 

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 System SpecsSystem Spec
.

Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Looking for a b/w only inkjet printer, do they exist anymore?
Hi all, I am looking for a kinda cheap printer that only prints in black and white, (or can print b/w without ALSO needing and using color ink, maybe inkjet printers say they print black and white but they use up the color ink too, probally a scam tactic to force you to buy more) I have no use...
Hardware & Devices
Shared local printer problems with 32 bit and 64 bit networked PCs
I have 2 PCs that are networked via a broadband hub. PC 1 has Windows 7 Professional 32 bit and a HP Color Laserjet connected to it via a USB port. The printer is set to share with the other PC. PC 2 has Windows 7 Home Premium 64 bit and a OKI C511 connected to it via a USB port. The printer...
Network & Sharing
Starting a bat file on networked computer from local bat file question
Hello everyone, I have a bat file that is launched when a torrent finishes downloading on my laptop which launched robocopy to copy it to my server computer. I want to have the server run a few programs to extract the file and move it to the correct directory structure. I want to launch a...
Network & Sharing
PROCESS1_INITIALIZATION_FAILUR - Deleting bootcat.cache doesnt help !?
Hello, again one problem with bootcat.cache !? you guys are my only chance to get this thing working again. so, i found tips how to remove bootcat.cache to get my computer working again > i did it but it didnt help !! bootcat.cache doesnt regenerate and i still get bsod :/ what should i do...
BSOD Help and Support
Local USB hard drive apearing as networked iDisk
After I upgraded my hard drive in my PC I used Windows Easy transfer and a system image to restore my settings. This imported my iDisk network drive (I: ) but for some reason when accessed via Computer when you click on iDisk it infact takes you to my external hard disk (which doesn't show up in...
Hardware & Devices
Onboard lan doesnt exist/device manager
I dual boot/installed win 7 about a month ago and i never noticed this problem because ive been using wifi since i installed win 7. but recently i decided to hook my pc to the lan using ethernet, and for some reason its not showing up in the network connections, no link led, and of course my...
Drivers


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:54.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App