Jump to content

WPI Fails to open without script error

Recommended Posts

Has anyone else had this error and would you possible know how to correct it?. Iv just downloaded WPI and every time I open mshta.* I get this error "an error has occoured in the script on this page, continue running yes/no" the errors happen in lines 99,2, etc.... I wouldnt of minded but I have not entered any information into the post install wizard but its untouched and this error stops me from using.

I have used WPI before and hopefully not a novice as such,

Thanks in advance for any help. :rolleyes:

Edited by acen2006
Link to comment
Share on other sites

Hmm. Looks like you might have some WMI issues. As far as I can tell you cannot create activex objects. You might want to try running this batch file to reset your WMI.


@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End

if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer

goto End

if not exist wmicore.exe goto End
wmicore /s
net start winmgmt


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...