- Home
- Windows XP
- Error messages
- Error 800A01AD when trying to run a VBScript
Error 800A01AD when trying to run a VBScript
- Copyright © 2008 Ramesh Srinivasan
- Error messages , General
Symptom
When running a VBScript in your system, the following error message may occur:
Script: C:\Scripts\MyScript.vbs
Line: 1
Char: 1
Error: ActiveX component can't create object: 'Wscript.Shell'
Code: 800A01AD
Source: Microsoft VBScript runtime error
Line: 1
Char: 1
Error: ActiveX component can't create object: 'Wscript.Shell'
Code: 800A01AD
Source: Microsoft VBScript runtime error
Cause
This error occurs if the script is unable to initialize an ActiveX object (in this case the Wscript.Shell object) during runtime.
Resolution
To resolve the problem, follow these steps:
Follow these steps only if you're receiving the 800A01AD error for Wscript.Shell component. For any other ActiveX object, the following steps does not apply:
Click Start, Run and type:
- regsvr32 wshom.ocx
- regsvr32 scrrun.dll
If the above does not help, or if you receive an error message when running the two commands above, then you may need to reinstall Windows Script 5.6 from Microsoft site. The download link is given below for Windows 2000 and XP systems.
Related Articles
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?
3 Responses to "Error 800A01AD when trying to run a VBScript" 
|
said this on 16 Jun 2007 12:42:57 AM PST
Wow, after searching for hours, the fix was this simple?? Don't tell Microsoft!!
|
|
said this on 19 May 2009 7:27:14 PM PST
Search Google for the "50198 Fix It" and look for the Microsoft support site. You'll find my comment that will take you through the steps to register your script engine and reset the security on your registry. This worked for me.
|

Author)