VBScript not registered on Windows Vista
I tried installing iTunes on my computer, which runs Windows Vista Ultimate 64-bit, and I received an error about it not being able to find VBScript.
Apparently, Windows Vista does not automatically register the VBScript libraries when it is installed.
This entry is meant to show people with the same problem, who have, perhaps, found this page through a search engine, how to register VBScript.
Follow these steps.
1. Open the Start Menu and navigate to the All Programs / Accessories folder. Right click on Command Prompt and select Run as Administrator. Select Continue when the security dialog is displayed.
2. In the Command Prompt window, navigate to the system32 directory by typing the following command and pressing Enter. cd \windows\system32
3. Register the 32-bit VBScript library by typing the following command and pressing Enter. regsvr32 vbscript.dll
If you are running the 32-bit version of Windows Vista, you're finished. Type exit to close the Command Prompt. If you are running the 64-bit version of Windows Vista, you now need to register the 64-bit version of the library. Continue reading.
4. Navigate to the 64-bit system directory by typing the following command and pressing Enter. cd \windows\syswow64
5. Register the 64-bit VBScript library by typing the following command and pressing Enter. regsvr32 vbscript.dll
Now, you're finished. Type exit to close the Command Prompt.
Hopefully, people with this problem will find these instructions easy to follow. I had to wade through a number of forum posts and various web sites in order to figure out this short procedure.
Enjoy!
Comments
what do you think of Vista?
Posted by: no | April 3, 2007 08:52 AM
Enough about Vista. Let's talk about itunes! Isn't it awesome?
Posted by: arc | April 3, 2007 07:34 PM
thanx bro u help out alot!
Posted by: Cory | May 3, 2007 08:14 PM
You saved my computer from going out the window. Thanks for the info
Posted by: Jess | May 14, 2007 10:48 AM
Thanks a lot! it worked!
Posted by: Skannd | May 17, 2007 04:31 PM
It worked like a charm after I realized that there is a space between the 32 and v. Thanks for the great directions. Now I can use my iTunes.
Posted by: Frank | May 22, 2007 10:31 AM
Thanks a lot, nowhere Else I've looked mentioned the other steps for if you have Vista 64bit, has been annoying me for ages :)
Posted by: Alex Wilkinson | May 30, 2007 09:56 AM
Thanks for empowering me for knowledge is power!
Hope one of us can return the favor some day.
Posted by: Katherine Ferguson | June 16, 2007 10:48 AM
Thank you. Your the first site that posted the Vista 64 fix.
Posted by: David Grossman | June 19, 2007 04:22 PM
Hey Colin, Muchos Gracias! or Thanks very much mate, I had the vbscript error with itunes and your advise was awesome
Thanks again
Alan
Posted by: Alan Armstrong | June 26, 2007 05:15 AM
It worked out for me but i have a problem of using vbscript in windows vista
Do you have any solution?
for example this script failed work "Set SNSet = GetObject("winmgmts:").InstancesOf ("Win32_OperatingSystem")
for each SN in SNSet
MsgBox "The serial number for the installed OS is: " & SN.SerialNumber
next"
Posted by: okello benedict | April 2, 2008 08:09 AM