Problem installing Windows script 5.6

G

Guest

Something went wrong deinstalling a providerscript. Result was that McAfee
2005 could not update enymore. First i got a message to install Windows
script 5.6 which I tried. Problem is that it gives the follwing error during
installation.
error registering the OCX c:\windows\system32\jscript.dll

What do i do to get it registered?
 
G

Guest

Tnx for your reply. But like I told before when I install that version i get
an error with:

error registering the OCX c:\windows\system32\jscript.dll

My question still is the same. How do i make sure that jscript.dll gets
registered?

regards,
anton.
 
R

Ramesh, MS-MVP

Anton,

Are you able to register the DLL manually from Start/Run? (regsvr32
jscript.dll). In case of any faults, regsvr32 throws an error that would
help in diagnosis.
 
G

Guest

I have tried it with the following return code:
0x80004005

Can you do something with it?

Anton.
 
R

Ramesh, MS-MVP

Anton,

There are five other DLLs whose Imports are made by Jscript.dll. May be
running a SFC /Scannow, and followed by a regsvr32 jscript.dll would help?
 
G

Guest

Ramesh,

I've tried it. No messages SFC /Scannow. And still the same error OCX after
regserv32: 0x80004005 (errorcode)

Regards,
Anton.
 
R

Ramesh, MS-MVP

Hi Anton,

Running out of ideas now :( But, will look into this and post back if I find
anything interesting.
 
R

Ramesh, MS-MVP

Have a clue after searching the MSDN
http://support.microsoft.com/default.aspx?scid=kb;en-us;307495

That was an example, which says that one of the DLL's dependencies is
missing.

I ran Dependency Walker program (http://dependencywalker.com/) and loaded
the JScript.dll. There are five DLLs upon which JScript.dll depends. They
are:

MSVCRT.DLL
OLEAUT32.DLL
OLE32.DLL
ADVAPI32.DLL
KERNEL32.DLL

See if the first three files are present in your system. Or, extract a copy
of those files from the CD-ROM.
 
G

Guest

I haVe tried it. All the files are present in the sytem32 directory. I have
got a feeling that it might has to do with IE or IIS. Quit a few things are
currently not working correctly. All seem something to do with web based
functionality. The regustry error has changed from:
error registering the OCX c:\windows\system32\jscript.dll
into
DllRegisterServer in jscript.dll failed.
Returncode: 0x80004005

Regards,
Anton.
 
B

brand dub

I FUMBLED ON A SOLUTION!!!

i couldnt find the string
HKEY_LOCAL_MACHINE/software/classes
well classes was there but empty from the
HKCR/CLSID i copied the key name and went back to classes and right
clicked new-key and ALL the CLSID substrings copied to the location
after that.

then [in a user account] start-run
regsvr32 jscript.dll
regsvr32 vbscript
and everything WORKED!
i got back user accounts, windows media player, search companion, help
and support... Im a newbie computer user and I beat MVPS who have been
working on this for 6 months! wake up folks!Im sorry I shouldnt be
crass it might only be a quik fix. hope it works for the rest of you.
 
H

HK

This problem seems to be related to a registry key permissions problem.
Some users have reported that the problem is fixed after giving full
permissions to the appropriate users/accounts and then registering the
offending dll's.

I tried it without success. My attempts to fix the key permissions
failed. It appeared that I did gain some permission but couldn't
establish full permission to all keys/subkeys.

To back up a little, in my case I'm having trouble with vbscript.dll
and jscript.dll. (Windows XP Pro SP2 - Symptoms are: javascript
errors, no search companion, inability to register dll's, failed
install of Windows ScriptHost, and Windows XP Repair worked but gave a
bazaar error message and did not fix my problem.)

brand dub has claimed to have found a solution though I had trouble
following it.

Other users have had success using different user accounts. This still
goes back to a permissions issue. I was able to register my dll's in
safe mode before but even that is no longer possible. It seems that
none of my user accounts have access to these registry keys.

If I find a solution, I'll post back.
 
B

brand dub

HK said:
This problem seems to be related to a registry key permissions problem.
Some users have reported that the problem is fixed after giving full
permissions to the appropriate users/accounts and then registering the
offending dll's.

I tried it without success. My attempts to fix the key permissions
failed. It appeared that I did gain some permission but couldn't
establish full permission to all keys/subkeys.

To back up a little, in my case I'm having trouble with vbscript.dll
and jscript.dll. (Windows XP Pro SP2 - Symptoms a javascript
errors, no search companion, inability to register dll's, failed
install of Windows ScriptHost, and Windows XP Repair worked but gave a
bazaar error message and did not fix my problem.)

brand dub has claimed to have found a solution though I had trouble
following it.

Other users have had success using different user accounts. This
still
goes back to a permissions issue. I was able to register my dll's in
safe mode before but even that is no longer possible. It seems that
none of my user accounts have access to these registry keys.

====================================

Sorry I couldn't help you HK. When you use your account in safe mode it
creates a secondary 'USER(HK)/Computer name' account so it won't affect
your regular logon account.

When you say "none of my user accounts have access to these registry
keys." Do you mean there are no user accounts on the computer with
administrative rights or that the permissions changes won't stick? If
you can, open user accounts from control panel and change account
type.
If this won't work try kelly's Change Registered Owner and Organization
(line 7 right side)
http://www.kellys-korner-xp.com/xp_tweaks.htm


I just bought new hard drives and reinstalled XP Home. (I just wanted a
clean slate) so I can show you what the default permissions are if you
need them.


http://www.pcbanter.net/images/icons/icon1.gifSee this first;
Several dialog boxes are blank
support.microsoft.com/?kbid=831430



Assuming you are using an "administrator" account
1.open regedit (start/run type regedit <enter>)
-locate this key:
HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\
2.right click on it and select permissions
-add all users ('users' as in people who actually use the computer) to
the permissions
3.click on advanced and select "replace permissions on all child ... "
-press OK and it will propagate proper permissions to all keys under
classes. One-click the title bar and Press F5 to refresh the registry.
Close Regedit.
4.Start>Run>type in these regsvr commands.

regsvr32 jscript.dll
regsvr32 vbscript.dll

and if needed for search assistant
regsvr32 %windir%\srchasst\srchui.dll

then you should be in luck.


Someone had this to say about the issue:
"seems something while installing/uninstalling corrupts the registry
entries, and windows restores them only for the user that does the
install/uninstall...
this is also a known bug when using widgets with Windowblinds,
corrupting those registry keys on boot."

A Further Note to most others...
You know...I learned something today....It helps to find a solution
when you can narrow the problems and the recent changes. What I really
learned from this is your computer is not a toy and Microsoft doesn't
care too much when you corrupt their OS with broken programs that offer
'neat stuff n junk'. When you're on Limewire all day downloading
corrupted files and installing cracks from FTP sites it's hard to
identify the culprit. Would you take a "Free Twinkie" or buy a "new
car" from some scragley cracked-out hobo in a shadowy alley in Detroit?
Probably not because you'd never be in a shadowy alley in Detroit.
The End.
 
H

Harlan.Koehn

Quoted:
When you say "none of my user accounts have access to these registry
keys." Do you mean there are no user accounts on the computer with
administrative rights or that the permissions changes won't stick? If
you can, open user accounts from control panel and change account
type.
If this won't work try kelly's Change Registered Owner and Organization
(line 7 right side)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Perhaps that script from kelly's-korner works but I checked it over and
didn't feel comfortable running it on a machine that is currently
functioning. I decided to try something else after reading your post
and, as you'll see further down, I did fix my problem.

Before I go further here, I should mention that before coming up with
the solution I have posted here, I had my Search Assistant and VBScript
functioning. What was not working was Windows Script Host reinstall
and/or regsvr32 jscript.dll.

Coming back to your question, my user accounts do have administrator
rights. The problem is that some keys (in HKEY_CLASSES_ROOT) will not
even allow their rights to be changed. Here are some of the "offending
keys" (see note further on to tell you how to find all the "offending
keys"):

JavaScript
JavaScript1.1
JavaScript1.2
JavaScript1.3
LiveScript Author
ShockwaveFlash.ShockwaveFlash
VBScript
VBScript Author

I was able to change all my offending keys' permissions to allow full
access on the necessary user accounts. The procedure I used was not as
easy as what I see most people posting. It went something like this:

(1) Start > Run > Regedit [Enter]
(2) Locate the "offending" key
(3) Right Click > Permissions
(4) Advanced Button
(5) Owner Tab
(6) Select your current user account (assuming you have administrator's
rights) and Click Apply to change ownership.
(7) Click OK
(8) Click on Advanced Button Again
(9) Permissions Tab
(10) Click/Check "Inherit from parent the permission entries that apply
to child objects. Include these with entries explicitly defined here."
(11) Click Apply (Note: the results here will depend on the parent
permissions. You may need to change your parent permissions to make
this work. That is outside the scope of my explanation.)
(12) Click OK

This changes one key at a time. You will need to press F5 to refresh
screen. Generally this will make some subkeys available, which will
need to their permissions changed also. Attempting to apply changes to
child keys will always bring error messages and no results.

To find all the "offending keys", I used my down arrow key to scroll
through all the classes listed in HKEY_CLASSES_ROOT. When you come
upon a key that you do not have permission to see, you will get a modal
popup warning.

After granting proper permissions on all these "offending keys"
jscript.dll registered fine for me.

In truth, I think I may have arrived at the same solution you did. But
since my case was slightly different it involved keys in
HKEY_CLASSES_ROOT.

I may also mention that the problem seemed to be associated with one or
more of the following events:

Uninstalling McAffee Antivirus
Installing McAffee Internet Security 7
Installing WindowBlinds
Uninstalling WindowBlinds
Uninstalling McAffee Internet Security 7 (because my subscription
showed to be out of date, even when it was not.)

One of the systems of this problem was that I could not reinstall
McAffee IS 7 because of script errors.

May I mention again for reference of others having the same issue, it
will not help to do an XP Repair. My problem persisted after an XP
Repair.

Quote brand dub:
I just bought new hard drives and reinstalled XP Home. (I just wanted a
clean slate) so I can show you what the default permissions are if you
need them.

Thanks, but I don't need this anymore. Also, I probably have my
permissions set different than default but I don't care about security
because of the environment this computer is used in. Full permissions
to all users should not hurt anything.
 
B

brand dub

I'm glad you found your solution Harlan.

Before attacking my registry permissions, I used a program to help
find offending keys (faster) in HKCR like you did, although I used it
just to be able to use XP repair and it only affected CD and DVD keys
but the app may of helped me out more than I thought...

I take what you were trying to say was you tried to change the 'Hive'
permissions and its subkeys with no avail, I had some issues doing that
from HKEY_LOCAL_MACHINE\SOFTWARE\Classes
until I added users and changed their permissions and selected "Inherit
from parent keys" (but for the hive and subkeys). Kind of mirrors your
approach and is also what other people are now doing.

(note: In regedit>HKCR or HKLM\software\classes>
[subkeys]>[right click]> permissions>advanced>('permissions' and
'audit' tabs)
The default checks (for "inherit from parent/child" etc) are both
"Inherit from parent the permission...")

I also added myself into the Owner group from HKLM..classes - which by
the way, I mentioned in the original post to you but was lost because
my dog "ate it" by hitting F5 before I could send it. Was a really
shame because it did take me a while to backtrack, collect research of
all the things I did. Sorry you didn't get the good, thorough version
which would have saved you some time.

So the problem we had was the same but it's symptoms were different.
I'm glad you found a different solution which is great considering
the rising number of people with this murky issue.

Funny how this same problem posted by so many has such character
changes in its symptoms. For some Windows media player won't work or
flash on the net won't work but will with the OS GUI, or, not at all.
I'd appreciate anyone with this issue to post their symptoms and issues
about it.

I am currently trying to help others with this same problem so if
possible please note what application un/installs or application
changes you've made.

I was having problems with NortonAntivirus around that time and also
found "Iexplorer.exe", a malicious application in my i386 folder. (Note
the 'r', its a combo name of Iexplore.exe and Explorer.exe)No one has
heard of it other than me though, apparently.
====================================

Quoted:

When you say "none of my user accounts have access to these registry
keys." Do you mean there are no user accounts on the computer with
administrative rights or that the permissions changes won't stick? If
you can, open user accounts from control panel and change account
type.
If this won't work try kelly's Change Registered Owner and
Organization
(line 7 right side)
http://www.kellys-korner-xp.com/xp_tweaks.htm

Perhaps that script from kelly's-korner works but I checked it over
and
didn't feel comfortable running it on a machine that is currently
functioning. I decided to try something else after reading your post
and, as you'll see further down, I did fix my problem.

Before I go further here, I should mention that before coming up with
the solution I have posted here, I had my Search Assistant and
VBScript
functioning. What was not working was Windows Script Host reinstall
and/or regsvr32 jscript.dll.

Coming back to your question, my user accounts do have administrator
rights. The problem is that some keys (in HKEY_CLASSES_ROOT) will not
even allow their rights to be changed. Here are some of the
"offending
keys" (see note further on to tell you how to find all the "offending
keys"):

JavaScript
JavaScript1.1
JavaScript1.2
JavaScript1.3
LiveScript Author
ShockwaveFlash.ShockwaveFlash
VBScript
VBScript Author

I was able to change all my offending keys' permissions to allow full
access on the necessary user accounts. The procedure I used was not
as
easy as what I see most people posting. It went something like this:

(1) Start Run Regedit [Enter]
(2) Locate the "offending" key
(3) Right Click Permissions
(4) Advanced Button
(5) Owner Tab
(6) Select your current user account (assuming you have
administrator's
rights) and Click Apply to change ownership.
(7) Click OK
(8) Click on Advanced Button Again
(9) Permissions Tab
(10) Click/Check "Inherit from parent the permission entries that
apply
to child objects. Include these with entries explicitly defined here."
(11) Click Apply (Note: the results here will depend on the parent
permissions. You may need to change your parent permissions to make
this work. That is outside the scope of my explanation.)
(12) Click OK

This changes one key at a time. You will need to press F5 to refresh
screen. Generally this will make some subkeys available, which will
need to their permissions changed also. Attempting to apply changes
to
child keys will always bring error messages and no results.

To find all the "offending keys", I used my down arrow key to scroll
through all the classes listed in HKEY_CLASSES_ROOT. When you come
upon a key that you do not have permission to see, you will get a
modal
popup warning.

After granting proper permissions on all these "offending keys"
jscript.dll registered fine for me.

In truth, I think I may have arrived at the same solution you did.
But
since my case was slightly different it involved keys in
HKEY_CLASSES_ROOT.

I may also mention that the problem seemed to be associated with one
or
more of the following events:

Uninstalling McAffee Antivirus
Installing McAffee Internet Security 7
Installing WindowBlinds
Uninstalling WindowBlinds
Uninstalling McAffee Internet Security 7 (because my subscription
showed to be out of date, even when it was not.)

One of the systems of this problem was that I could not reinstall
McAffee IS 7 because of script errors.

May I mention again for reference of others having the same issue, it
will not help to do an XP Repair. My problem persisted after an XP
Repair.

Quote brand dub:
I just bought new hard drives and reinstalled XP Home. (I just wanted
a
clean slate) so I can show you what the default permissions are if
you
need them.

Thanks, but I don't need this anymore. Also, I probably have my
permissions set different than default but I don't care about security
because of the environment this computer is used in. Full permissions
to all users should not hurt anything.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top