Solved

Script Used to Work

Posted on 2012-03-22
8
159 Views
Last Modified: 2012-05-05
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
0
Comment
Question by:Bob Conklin
  • 5
  • 3
8 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37754087
How about you post the litle bit Cryptic error message :D Might help to give us a clue :D
0
 

Author Comment

by:Bob Conklin
ID: 37756531
After posting the original I realized that I forgot to attache the error mesage
VBS-Error.JPG
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37756638
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??
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:Bob Conklin
ID: 37756977
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.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 37757752
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.
0
 

Author Comment

by:Bob Conklin
ID: 37765408
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!
0
 

Accepted Solution

by:
Bob Conklin earned 0 total points
ID: 37861248
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.
0
 

Author Closing Comment

by:Bob Conklin
ID: 37932213
There was no further input or suggestions so it was prudent to close the question.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question