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


  1. Posts : 2
    Win 7 Ultimate 64
       #1

    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 Computer


  2. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #2

    Perhaps Process Explorer (https://technet.microsoft.com/en-us/.../bb896653.aspx) will help you locate it.
      My Computer


  3. Posts : 2
    Win 7 Ultimate 64
    Thread Starter
       #3

    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


 

  Related Discussions
Our Sites
Site Links
About 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 00:34.
Find Us