Solved

ActiveX can't create object Scripting.FileSystemObject

Posted on 2006-07-09
6
1,724 Views
Last Modified: 2012-06-27
Hello,

I'm trying to run some .vbs scripts on my home PC (Windows XP Professional SP2).  They used to work great, but now when I run them I get the following error:

ActiveX component can't create object: 'Scripting.FileSystemObject'

Let me just say this is not a coding issue, I'm well versed in proper syntax, and this script has worked in the past.  I've also done a lot of research on the internet about this problem, here's what I've tried, and doesn't work.

- Reinstalled WSH 5.6
- ran regsvr32 scrrun.dll
- I've gone into the registry editor and ensured my account has permission to the COM object as well.

I'm out of ideas, I'm just about to reformat my PC to fix this problem, but I'd rather like to avoid this!  Can anyone suggest something that I may have missed?

Thanks,
--Michael
0
Comment
Question by:raterus
6 Comments
 
LVL 11

Expert Comment

by:kelvinwkw
ID: 17070267
Check whether there is any script blocking programme installed in your pc, for instance Script blocking for Norton AntiVirus, it blocked the script and treat it as a malicious. Disabled the script blocking and try
0
 
LVL 25

Expert Comment

by:kevp75
ID: 17070345
i've also notice some spyware blockers that may block something like this....one in particular that comes to mind is SpyBot.  Definately try disabling your AV and then run the script
0
 
LVL 34

Accepted Solution

by:
sramesh2k earned 500 total points
ID: 17070415
Michael,

Do a complete registry backup using ERUNT, and then use SubInACL to reset the registry permissions.

http://www.google.com/search?&q=reset+registry+subinacl

Take a complete registry backup using ERUNT:
http://www.winxptutor.com/regback.htm
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 70

Expert Comment

by:Chris Dent
ID: 17071553

We get that on some of the PCs we use here for some reason. In some cases this MS Article has resolved the problem, but not in all cases:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q311269

Afraid I can't offer much beyond that, because I don't look after the PCs themselves I tend to just ask for them to be rebuilt if it's a persistant problem.

Chris
0
 
LVL 33

Author Comment

by:raterus
ID: 17071968
sramesh2k, as a last resort after looking at/trying the other comments here, I did this, it worked great to fix my problem.  I'm still not sure about what _else_ it may have done, but for now, this problem is fixed!
0
 
LVL 34

Expert Comment

by:sramesh2k
ID: 17072335
>> I'm still not sure about what _else_ it may have done

It resets the registry permission for the chosen hive, to defaults. Administrators and SYSTEM have full control over the keys. Nothing else should get affected.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

22 Experts available now in Live!

Get 1:1 Help Now