Solved

Microsoft Windows Based Script Host missing

Posted on 2009-06-29
3
1,124 Views
Last Modified: 2012-05-07
One of my users can't run my VBScript.  We all have Microsoft XP Pro and the script runs on everyone else PC.  How can I add Microsoft Windows Based Script Host to this PC so it will run my script?
0
Comment
Question by:schmir1
[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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Hubasan earned 500 total points
ID: 24738152
Well if you are sure this particular PC is MISSING Windows Scripting Host (WSH) you can go and download latest WSH v5.6 here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=c717d943-7e4b-4622-86eb-95a22b832caa&displaylang=en&Hash=e6ENLeODPWZMzGUhLyg4K79Htz4gE9i5VR9JMon0RqgOpEf4lrO0xoU2cCDbhZlwFsoB1P%2bqBpes6AVHxS7vGQ%3d%3d

Then just copy it on users PC and install it. However it is highly UNLIKELY that this PC is actually missing the WSH if it's Windows XP Pro or HOME....since both of them come with WSH pre-installed.

You can check if this users has following 2 files in their C:\Windows\System32\ folder to make sure that WSH is installed:
Wscript.exe
Cscript.exe

If these two files are there then please elaborate on what errors are you getting when your script is running on this particular PC, and maybe we can help you figure it out.

Good Luck. :-)
0
 

Author Comment

by:schmir1
ID: 24740561
Thanks.  Very thorough answer.
0
 

Author Closing Comment

by:schmir1
ID: 31597963
Excellent answer
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

732 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