Please add DebugTrace(@on,"trace.txt") to the beginning of the script, run it until the error or completion, then post the trace file here ( removing any private info).
You mention that this has worked for 10 years. What has changed exactly? Did you move it to Windows 7 and now it errors? Has it ever successfully ran on Windows 7?