Script Used to Work

Good Day
I have a script that was written by a former employee and it worked well running on a Windows 2003 server. After retiring the server and moving to a Windows 2008 R2 server, modifing the code to reflect the new drive letters and paths, the script refuses to run. The error message is a little cryptic and my normal routine of searching and troubleshooting has failed to turn up an obvious, at least to my feeble mind, answer on what else I have missed.
So I turn to the best place I know to get to the bottom of this.
Push-To-NBCVOD.vbs
Bob ConklinConfiguration/TEST TechnicianAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Neil RussellTechnical Development LeadCommented:
How about you post the litle bit Cryptic error message :D Might help to give us a clue :D
Bob ConklinConfiguration/TEST TechnicianAuthor Commented:
After posting the original I realized that I forgot to attache the error mesage
VBS-Error.JPG
Neil RussellTechnical Development LeadCommented:
This was a know issue with 2003 server and XP WMI queiries but have not heard of it on 2008.
There is/was a hotfix for both 2003 and XP, See http://support.microsoft.com/kb/828653

You may need to open an incident if nobody else has a suguestion here sorry.

UNLESS...

What is the target server you are registering the query against? What OS?
Maybe the hotfix needs aplying on that??
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Bob ConklinConfiguration/TEST TechnicianAuthor Commented:
The target server is a Windows 2003 Standard Edition server, as I mentioned in my original post the script worked fine when the source server used was windows 2003. I can try to apply the fix to the target server if I can get approval to do that, we do not own that server.
Thank you for the insight though.
Neil RussellTechnical Development LeadCommented:
As the fix is a Microsoft Patch specifically for this exact issue I would hope that whoever owns the server has no issues with it. Its not like you asking to install a 3rd party product or anything.
Bob ConklinConfiguration/TEST TechnicianAuthor Commented:
Good Monday Morning
Recieved permission to apply the patches to the server, the server is/was running Server 2003 SP2 so the patch installer realized that the patches were/are already in place. I verified the file versions on the server are the same as posted in the KB article. The script still returns the same error message.

Thanks!
Bob ConklinConfiguration/TEST TechnicianAuthor Commented:
Looks like I have hit a dead end, thank you for all your advice. The problem still exists so it looks like I will have to re-write the script in some other language that is a bit more friendly to a Windows 2008 R2 server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bob ConklinConfiguration/TEST TechnicianAuthor Commented:
There was no further input or suggestions so it was prudent to close the question.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.