Just re-genned my script after modifying the WIMexec() code and the reboot process worked.

So, here's the odd thing - why did it work every time and then fail after a reboot? If it was really the "$$var" issue, then wouldn't it have failed all along? I just find the failure odd and inconsistent..

Thanks for brainstorming, and I'll review the links for other ideas on strengthening the library.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D