Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vbscript caching file

Status
Not open for further replies.

SQLScholar

Programmer
Aug 21, 2002
2,127
GB
hey all,

I have a vbs file which will be a script to run on start up of a PC.

I am currently testing it on a small selection using PSEXEC.

All is working ok - except one little issue.

It sometimes hasnt been working. So i put in logging into the script to see where its getting to and some vairables\consts.

I am changing a const on the script - but it seems that sometimes a PC uses a past script. Example:

Version 3 is run on the PCs. All 5 Pc`s suceed - log files fine.

Version is incremented to 4. This means that all PC`s with the reg entry for 3 should run it.

Some PC`s work. Other PC`s say that the reg value is 3 and the script is 3. This would be the old script not the new one.

Its as if its caching the script.

Does anyone know if this is something vbscripts do? Or maybe something done by PSexec?

Any help much appreciated.

Dan

----------------------------------------
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss

Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
 
Have you checked the file replication on the domain controller?

Regards,
David.
 
where is the file that you are telling the remote boxes to run? i.e. where is the vbscript located, DFS is a good starting point for issues, psexec has parameters to copy files etc and overwrite
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top