RegObj.dll and Windows 9x 
Author Message
 RegObj.dll and Windows 9x

I am having problems getting RegObj.dll to work with
Windows 9x computers. I have installed the Remote Registry
service and User-level access control followed by
registering RegObj.dll. I then I can reach these computers
using Regedit, but not through VBS. I get an error 35006
when trying to read a value from a key. The same script
works correctly with Winnt 4. Can anyone help!

Thanks,
Dennis



Sat, 14 Feb 2004 02:18:46 GMT  
 RegObj.dll and Windows 9x
Hi

Doing a newsgroup search at
http://groups.google.com/advanced_group_search for 35006 gave three hits
(fill in *scripting in the Newsgroup field to narrow down the search to
the scripting groups only!)

You can use http://groups.google.com/advanced_group_search to search in
a news database having articles dated back to all the way to 1995.

Take a look at them, they may help you (but no promise ;-). From the
reading it looks like it is two situations that give this error: a bad
key string or key not found.

Regards,
Torgeir

Quote:

> I am having problems getting RegObj.dll to work with
> Windows 9x computers. I have installed the Remote Registry
> service and User-level access control followed by
> registering RegObj.dll. I then I can reach these computers
> using Regedit, but not through VBS. I get an error 35006
> when trying to read a value from a key. The same script
> works correctly with Winnt 4. Can anyone help!

> Thanks,
> Dennis



Sat, 14 Feb 2004 02:40:16 GMT  
 RegObj.dll and Windows 9x
The messages do not seem to apply in my case. I am using a
correct key and value name. I can retreive the data from
NT 4 and Win2k computers just fine. I cannot get data from
any Win9x computer. Am I missing something to get Win9x
computers to run RegObj.dll? I have verified access
permissions on the Win9x computers.

Dennis

Quote:
>-----Original Message-----
>Hi

>Doing a newsgroup search at
>http://groups.google.com/advanced_group_search for 35006
gave three hits
>(fill in *scripting in the Newsgroup field to narrow down
the search to
>the scripting groups only!)

>You can use

http://groups.google.com/advanced_group_search to search in
Quote:
>a news database having articles dated back to all the way
to 1995.

>Take a look at them, they may help you (but no promise ;-
). From the
>reading it looks like it is two situations that give this
error: a bad
>key string or key not found.

>Regards,
>Torgeir


>> I am having problems getting RegObj.dll to work with
>> Windows 9x computers. I have installed the Remote
Registry
>> service and User-level access control followed by
>> registering RegObj.dll. I then I can reach these
computers
>> using Regedit, but not through VBS. I get an error 35006
>> when trying to read a value from a key. The same script
>> works correctly with Winnt 4. Can anyone help!

>> Thanks,
>> Dennis

>.



Sat, 14 Feb 2004 04:16:39 GMT  
 RegObj.dll and Windows 9x
Hi

From one of the google hits for error 35006 , Mr. Harris (You have been
around for a while, Michael :-) describes a difference between NT and
W9x. You are just reading registry, not deleting?

A friendly tip: It is easier to help if there is some code to look at
:-)

Regards,
Torgeir

<qoute>

Subject: Re: I'm Confused: RegObj Processing
Newsgroups: microsoft.public.scripting.wsh
View this article only
Date: 1999/06/07

On Win9x systems, you can delete a registry key that has subkeys but on
NT
systems, you must delete the subkeys first.  The Win9x and NT platforms
have
different implementations of the registry API.

--
Michael Harris

</qoute>

Quote:

> The messages do not seem to apply in my case. I am using a
> correct key and value name. I can retreive the data from
> NT 4 and Win2k computers just fine. I cannot get data from
> any Win9x computer. Am I missing something to get Win9x
> computers to run RegObj.dll? I have verified access
> permissions on the Win9x computers.

> Dennis
> >-----Original Message-----
> >Hi

> >Doing a newsgroup search at
> >http://groups.google.com/advanced_group_search for 35006
> gave three hits
> >(fill in *scripting in the Newsgroup field to narrow down
> the search to
> >the scripting groups only!)

> >You can use
> http://groups.google.com/advanced_group_search to search in
> >a news database having articles dated back to all the way
> to 1995.

> >Take a look at them, they may help you (but no promise ;-
> ). From the
> >reading it looks like it is two situations that give this
> error: a bad
> >key string or key not found.

> >Regards,
> >Torgeir


> >> I am having problems getting RegObj.dll to work with
> >> Windows 9x computers. I have installed the Remote
> Registry
> >> service and User-level access control followed by
> >> registering RegObj.dll. I then I can reach these
> computers
> >> using Regedit, but not through VBS. I get an error 35006
> >> when trying to read a value from a key. The same script
> >> works correctly with Winnt 4. Can anyone help!

> >> Thanks,
> >> Dennis

> >.



Sat, 14 Feb 2004 05:47:52 GMT  
 RegObj.dll and Windows 9x
The only Win9x vs NT difference regarding the registry that I'm aware of is that the underlying
registry API allows deletion of keys with subkeys on Win9x but not on NT.  RegObj.dll wouldn't have
that problem on deleting a key with subkeys since it does it's deletes recursively to be compatible.

In ant case the OP is talking about simply reading keys.

I have personally used RegObj for remote registry access.  I seem to recall Manfred Braun posting
about problems with RegObj for remote registry access.  I found it with a google search which then
lead me to this:

HOWTO: Troubleshoot Remote Registry Access on Windows 95/98 (Q193463)
http://support.microsoft.com/support/kb/articles/Q193/4/63.ASP

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--

Quote:

> Hi

> From one of the google hits for error 35006 , Mr. Harris (You have been
> around for a while, Michael :-) describes a difference between NT and
> W9x. You are just reading registry, not deleting?

> A friendly tip: It is easier to help if there is some code to look at
> :-)

> Regards,
> Torgeir

> <qoute>

> Subject: Re: I'm Confused: RegObj Processing
> Newsgroups: microsoft.public.scripting.wsh
> View this article only
> Date: 1999/06/07

> On Win9x systems, you can delete a registry key that has subkeys but on
> NT
> systems, you must delete the subkeys first.  The Win9x and NT platforms
> have
> different implementations of the registry API.

> --
> Michael Harris

> </qoute>


> > The messages do not seem to apply in my case. I am using a
> > correct key and value name. I can retreive the data from
> > NT 4 and Win2k computers just fine. I cannot get data from
> > any Win9x computer. Am I missing something to get Win9x
> > computers to run RegObj.dll? I have verified access
> > permissions on the Win9x computers.

> > Dennis
> > >-----Original Message-----
> > >Hi

> > >Doing a newsgroup search at
> > >http://groups.google.com/advanced_group_search for 35006
> > gave three hits
> > >(fill in *scripting in the Newsgroup field to narrow down
> > the search to
> > >the scripting groups only!)

> > >You can use
> > http://groups.google.com/advanced_group_search to search in
> > >a news database having articles dated back to all the way
> > to 1995.

> > >Take a look at them, they may help you (but no promise ;-
> > ). From the
> > >reading it looks like it is two situations that give this
> > error: a bad
> > >key string or key not found.

> > >Regards,
> > >Torgeir


> > >> I am having problems getting RegObj.dll to work with
> > >> Windows 9x computers. I have installed the Remote
> > Registry
> > >> service and User-level access control followed by
> > >> registering RegObj.dll. I then I can reach these
> > computers
> > >> using Regedit, but not through VBS. I get an error 35006
> > >> when trying to read a value from a key. The same script
> > >> works correctly with Winnt 4. Can anyone help!

> > >> Thanks,
> > >> Dennis

> > >.



Sat, 14 Feb 2004 08:48:06 GMT  
 RegObj.dll and Windows 9x

Attached is a script that I have been using. I am refering
to a key that is common to both Win9x and NT or Win2k. The
functions were adapted from a script found on the
CWashington web site. I have added a couple of echo
commands for reporting errors.

I can remotely reach the Win9x computers with Regedit.exe
with no problems. I can also access the file system
without problems. I did read about deleting keys with
subkeys, but I am only reading values.

Dennis

Quote:
>-----Original Message-----
>The only Win9x vs NT difference regarding the registry

that I'm aware of is that the underlying
Quote:
>registry API allows deletion of keys with subkeys on

Win9x but not on NT.  RegObj.dll wouldn't have
Quote:
>that problem on deleting a key with subkeys since it does

it's deletes recursively to be compatible.
Quote:

>In ant case the OP is talking about simply reading keys.

>I have personally used RegObj for remote registry

access.  I seem to recall Manfred Braun posting
Quote:
>about problems with RegObj for remote registry access.  I

found it with a google search which then
Quote:
>lead me to this:

>HOWTO: Troubleshoot Remote Registry Access on Windows
95/98 (Q193463)
>http://support.microsoft.com/support/kb/articles/Q193/4/63
.ASP

>--
>Michael Harris
>Microsoft.MVP.Scripting
>--

>Please do not email questions - post them to the
newsgroup instead.
>--




Quote:
>> Hi

>> From one of the google hits for error 35006 , Mr.

Harris (You have been

- Show quoted text -

Quote:
>> around for a while, Michael :-) describes a difference
between NT and
>> W9x. You are just reading registry, not deleting?

>> A friendly tip: It is easier to help if there is some
code to look at
>> :-)

>> Regards,
>> Torgeir

>> <qoute>

>> Subject: Re: I'm Confused: RegObj Processing
>> Newsgroups: microsoft.public.scripting.wsh
>> View this article only
>> Date: 1999/06/07

>> On Win9x systems, you can delete a registry key that
has subkeys but on
>> NT
>> systems, you must delete the subkeys first.  The Win9x
and NT platforms
>> have
>> different implementations of the registry API.

>> --
>> Michael Harris

>> </qoute>


>> > The messages do not seem to apply in my case. I am
using a
>> > correct key and value name. I can retreive the data
from
>> > NT 4 and Win2k computers just fine. I cannot get data
from
>> > any Win9x computer. Am I missing something to get
Win9x
>> > computers to run RegObj.dll? I have verified access
>> > permissions on the Win9x computers.

>> > Dennis
>> > >-----Original Message-----
>> > >Hi

>> > >Doing a newsgroup search at
>> > >http://groups.google.com/advanced_group_search for
35006
>> > gave three hits
>> > >(fill in *scripting in the Newsgroup field to narrow
down
>> > the search to
>> > >the scripting groups only!)

>> > >You can use
>> > http://groups.google.com/advanced_group_search to
search in
>> > >a news database having articles dated back to all
the way
>> > to 1995.

>> > >Take a look at them, they may help you (but no
promise ;-
>> > ). From the
>> > >reading it looks like it is two situations that give
this
>> > error: a bad
>> > >key string or key not found.

>> > >Regards,
>> > >Torgeir


>> > >> I am having problems getting RegObj.dll to work
with
>> > >> Windows 9x computers. I have installed the Remote
>> > Registry
>> > >> service and User-level access control followed by
>> > >> registering RegObj.dll. I then I can reach these
>> > computers
>> > >> using Regedit, but not through VBS. I get an error
35006
>> > >> when trying to read a value from a key. The same
script
>> > >> works correctly with Winnt 4. Can anyone help!

>> > >> Thanks,
>> > >> Dennis

>> > >.

>.

  Test regobj on 98.vbs
1K Download


Sat, 14 Feb 2004 23:37:06 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Dll Windows 9x

2. I need documentation on how to use RegObj.dll (registry manip dll)

3. Reading REG_BINARY Keys with RegObj.dll

4. sfImpersonator and RegOBJ.dll

5. regobj.dll

6. regobj.dll

7. RegObj.dll

8. Newbie needs help in reading installed programs from the registry using RegObj.dll

9. RegObj.dll question

10. regobj.dll

11. Reading binary registry values using regobj.dll

12. Adding a value to the registry of a remote PC using REGOBJ.DLL

 

 
Powered by phpBB® Forum Software