Solved

VBSCRIPT Not Working

Posted on 2008-06-21
15
3,233 Views
Last Modified: 2008-06-24
Something has disabled vbscript amd windows scripting on my xp machine.  Can someone tell me how to enable/disable these associations?

Thanks,
Howard
0
Comment
Question by:hbash
  • 6
  • 5
  • 3
  • +1
15 Comments
 
LVL 7

Expert Comment

by:cybrexus
ID: 21839524
try Start > Run > type "regsvr32 vbscript.dll" (without quotes) and hit enter
See if it solves your problem
0
 
LVL 1

Author Comment

by:hbash
ID: 21839529
The regsvr32 succeeded in registering the dll, but it still opens in notepad when i double click on it.
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21839543
0
 
LVL 22

Accepted Solution

by:
orangutang earned 250 total points
ID: 21839571
0
 
LVL 1

Author Comment

by:hbash
ID: 21839603
I tried the first URL.  It instructed me to set the file association for vbscript to be : C:\WINDOWS\System32\WScript.exe %13 %*

I thought the program was named vbscript.exe.  But,  I made the change as instructed and it did not work.

The error mesage is :

there is no file extension in "C:\Documents and Settings\My User Name\Desktop\"C:\Documents".

0
 
LVL 34

Expert Comment

by:sramesh2k
ID: 21839797
Hi hbash,

Run the .vbs fix for Windows XP from here.

VBScript Files Open With Notepad - The Winhelponline Blog:
http://www.winhelponline.com/blog/vbscript-files-open-with-notepad/

0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21839977
yep tried the link above, works well for me, should definitely solve the issue
well found
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 1

Author Comment

by:hbash
ID: 21840701
This fixed the VBS files but the wfs files are still launching notepad.
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21840745
make sure your extension is wsf and not wfs
0
 
LVL 1

Author Comment

by:hbash
ID: 21841546
It is wsf.  It shows an associated icon (same as .vbs).
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21843552
right click on the file > Open With > Choose Program > browse Windows\System32\wscript.exe
check Always use the selected program to open this kind of file
click OK
0
 
LVL 34

Expert Comment

by:sramesh2k
ID: 21843689
0
 
LVL 1

Author Comment

by:hbash
ID: 21851758
I am running Windows XP Pro.   Will this vista reg patch work there also?
Thanks,
Howard
0
 
LVL 7

Expert Comment

by:cybrexus
ID: 21851894
did you try to set wscript as default program as in my previous comment?
0
 
LVL 34

Assisted Solution

by:sramesh2k
sramesh2k earned 250 total points
ID: 21852629
Sorry! The XP version of the fix is here:
http://windowsxp.mvps.org/reg/wsffix_xp.zip
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now