I am getting below error when running vbscript using C:\Windows\SysWOW64\cscript.exe as below.
C:\Users\abcd\Desktop>type a.vbs Set objFile = CreateObject("Scripting.FileSystemObject") C:\Users\abcd\Desktop> C:\Users\abcd\Desktop>C:\Windows\System32\cscript.exe a.vbs Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. C:\Users\abcd\Desktop> C:\Users\abcd\Desktop>C:\Windows\SysWOW64\cscript.exe a.vbs Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. C:\Users\abcd\Desktop\a.vbs(1, 1) Microsoft VBScript runtime error: ActiveX component can't create object: 'Scripting.FileSystemObject' C:\Users\abcd\Desktop>
I have searched for the registry entry "Scripting.FileSystemObject" and found the entry under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{GUID}\ProgID. But I didn't find similar entry under HKLM\SOFTWARE\Wow6432.
What could be the solution for this issue? Any technical information about this issue would be helpful.
Edited by reddygopu, 26 February 2016 - 13:21.