Solved

Script Used to Work

Posted on 2012-03-22
8
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…

705 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