Re: PolAdtEv
- From: "Paul" <force@xxxxxxxx>
- Date: Thu, 7 Apr 2005 06:53:55 -0700
Sangeetha,
I did try posting a question about this on
win32.programmer.wmi a couple weeks ago, but never had
anyone respond. Thanks again for asking around.
Also, I have another question that is SMS-related.
Another value I'm trying to get is the "F" value under
HKLM\SAM\SAM\Domains\Account. (Again you may need the
same technique used to view the PolAdtEv key, as this does
not give Administrator view privilege by default.) I can
get this in the mof as a uint8 array and WMI has the
correct value. But when inventory runs, it only contains
the first 254 characters. Is there a way I can get the
entire array instead of just the first 254 characters?
For some reason, the MIF file reported to the site server
only has the first 254 characters of the value.
I also tried another key that was a string value longer
than 254 characters. Again, the inventory data loader
only gets the first 254 characters of the string.
Is this a hardcoded limit? A policy that can be
configured? Any ideas?
Paul
>-----Original Message-----
>Paul,
>
>Thanks for explaining how to be able to view the Security
key in the
>registry. I foiund the REG_NONE data, I tried all
combinations of trying to
>retreve the data but no luck
>This is more a WMI question and not SMS related. I took
SMS out of the
>picture, tried tojsut get the data from the registry into
WMI using the WMI
>registry provider. No luck.
>
>TRy posting your question in the WMI newsgroup asking how
to collect data
>from a REG_NONE value using the registry provider. I will
also ask around.
>
>--
>Hope this helps!
>Sangeetha
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>"Paul" <force@xxxxxxxx> wrote in message
>news:1b4b01c53949$6e1a2450$a401280a@xxxxxxxxxx
>> Sangeetha,
>>
>> Thank you for your continued efforts!
>>
>> Are you looking for the PolAdtEv key on your Windows
2000
>> machine? It should be there as part of the OS, nothing
>> you need to add manually. When you do go to look for
it,
>> you may find that SECURITY\Policy appears to be empty.
>> What you need to do is open regedt32, highlight Policy
and
>> then go to Security>Options (on your menu at the top).
In
>> there, you need to give yourself read permission to be
>> able to view the PolAdtEv key. After you set the
>> permission, you can reopen regedit (it won't work if it
>> was already open before changing permissions) and view
the
>> PolAdtEv key. It will be type REG_NONE, and have a
binary
>> entry. Please let me know if you still have questions
on
>> how to get to the key.
>>
>> And of course, let us know if you are able to collect it
>> with SMS!
>>
>> Best regards,
>> Paul
>>
>>>-----Original Message-----
>>>I understand that REG_NONE key existed . In my machines
>> there are no
>>>REG_NONE keys, I am trying to find a way to create one,
>> so that i can try
>>>different things to see if I can collect information
from
>> it.
>>>
>>>But I am stuck with not being able to create a REG_NONE
>> key in my registry.
>>>
>>>--
>>>Hope this helps!
>>>Sangeetha
>>>
>>>This posting is provided "AS IS" with no warranties, and
>> confers no rights.
>>>
>>>"James" <mosesjr74@xxxxxxxxx> wrote in message
>>>news:06fe01c536c1$e98cbd30$a501280a@xxxxxxxxxx
>>>> Hi Sangeetha,
>>>>
>>>> I did not create a new reg key. I am trying pull the
>>>> information from
>>>> HKEY_LOCAL_MACHINE\SECURITY\Policy\PolAdtEv. The name
>> of
>>>> this key is Default with a Type of reg_none.
>>>>
>>>> Note
>>>> In order to view this key you need to change the
>>>> permissions using regedt32 to allow administrators to
>> view
>>>> it. By default only the system account has rights to
>> this
>>>> key.
>>>>
>>>> Thanks again
>>>> James
>>>>>-----Original Message-----
>>>>>How did you create a REG_NONE key in the registry. I
>>>> tried to create one on
>>>>>a Win2K machine / WinNT machine and it always creates
a
>>>> default REG_SZ
>>>>>value.
>>>>>
>>>>>--
>>>>>Hope this helps!
>>>>>Sangeetha
>>>>>
>>>>>This posting is provided "AS IS" with no warranties,
and
>>>> confers no rights.
>>>>>
>>>>>"James" <mosesjr74@xxxxxxxxx> wrote in message
>>>>>news:031f01c53621$2de4d7c0$a501280a@xxxxxxxxxx
>>>>>> Sangeetha
>>>>>>
>>>>>> I think this is a win2000 issue. Do you happen
to
>>>>>> know how I could get this information? Any ideas
>>>> would
>>>>>> be great.
>>>>>>
>>>>>> Thanks for working with me on this.
>>>>>>
>>>>>> James
>>>>>>
>>>>>>
>>>>>>>-----Original Message-----
>>>>>>>Ah! I was trying it in winxp. Is this a win2000 only
>>>>>> issue. I tried to
>>>>>>>create a reg value with REG_NONE in WinXP and there
>> was
>>>>>> nothing of that
>>>>>>>type.
>>>>>>>
>>>>>>>--
>>>>>>>Hope this helps!
>>>>>>>Sangeetha
>>>>>>>
>>>>>>>This posting is provided "AS IS" with no warranties,
>> and
>>>>>> confers no rights.
>>>>>>>
>>>>>>>"James" <mosesjr74@xxxxxxxxx> wrote in message
>>>>>>>news:0a7e01c53600$917dd550$a401280a@xxxxxxxxxx
>>>>>>>> Sangeetha,
>>>>>>>>
>>>>>>>> The name is default but the type is reg_none.
SMS
>>>>>> seems
>>>>>>>> to have issues returning information if the type
is
>>>>>>>> reg_none in Windows 2000.
>>>>>>>>
>>>>>>>>
>>>>>>>>>-----Original Message-----
>>>>>>>>>Sangeetha,
>>>>>>>>>
>>>>>>>>>Your default value for PolAdtEv is type REG_SZ?
>> Like
>>>>>>>>>James, mine is also type REG_NONE. What OS are
the
>>>> two
>>>>>>>> of
>>>>>>>>>you using? I'm in Windows 2000.
>>>>>>>>>
>>>>>>>>>Thanks,
>>>>>>>>>Paul
>>>>>>>>>
>>>>>>>>>>-----Original Message-----
>>>>>>>>>>I am able to get teh default key value, but all
my
>>>>>>>>>(Default) values are
>>>>>>>>>>REG_SZ
>>>>>>>>>>
>>>>>>>>>>--
>>>>>>>>>>Hope this helps!
>>>>>>>>>>Sangeetha
>>>>>>>>>>
>>>>>>>>>>This posting is provided "AS IS" with no
>> warranties,
>>>>>> and
>>>>>>>>>confers no rights.
>>>>>>>>>>
>>>>>>>>>>"James" <mosesjr74@xxxxxxxxx> wrote in message
>>>>>>>>>>news:136001c5355d$1fd153d0$a501280a@xxxxxxxxxx
>>>>>>>>>>>
>>>>>>>>>>> Are you able to use SMS to get the default key
>>>> value
>>>>>>>>>from
>>>>>>>>>>>
>>>>>>>>>>> HKEY_LOCAL_MACHINE\SECURITY\Policy\PolAdtEv
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> James
>>>>>>>>>>>
>>>>>>>>>>>>-----Original Message-----
>>>>>>>>>>>>Sorry, What should i try? The below mentioned
key
>>>> in
>>>>>>>> the
>>>>>>>>>>> mof instance?
>>>>>>>>>>>>
>>>>>>>>>>>>--
>>>>>>>>>>>>Hope this helps!
>>>>>>>>>>>>Sangeetha
>>>>>>>>>>>>
>>>>>>>>>>>>This posting is provided "AS IS" with no
>>>> warranties,
>>>>>>>> and
>>>>>>>>>>> confers no rights.
>>>>>>>>>>>>
>>>>>>>>>>>>"Paul" <force@xxxxxxxx> wrote in message
>>>>>>>>>>>>news:11f701c53535$cced9bf0$a501280a@xxxxxxxxxx
>>>>>>>>>>>>> Sangeetha,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Are you able to get that to work? I'm also
>> very
>>>>>>>>>>>>> interested to know.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Paul
>>>>>>>>>>>>>
>>>>>>>>>>>>>>-----Original Message-----
>>>>>>>>>>>>>>Sangeetha,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>Give this one a try.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>HKEY_LOCAL_MACHINE\SECURITY\Policy\PolAdtEv
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>James
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>-----Original Message-----
>>>>>>>>>>>>>>>All the (Default) values that I see have
>> REG_SZ
>>>>>> and
>>>>>>>> I
>>>>>>>>>>>>>>guess that is why it
>>>>>>>>>>>>>>>worked for me when i tested it
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>Hope this helps!
>>>>>>>>>>>>>>>Sangeetha
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>This posting is provided "AS IS" with no
>>>>>> warranties,
>>>>>>>>>>> and
>>>>>>>>>>>>>>confers no rights.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>"James" <mosesjr74@xxxxxxxxx> wrote in
message
>>>>>>>>>>>>>>>news:0cf601c53483$69507d90
$a501280a@xxxxxxxxxx
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The problem seems that WMI does not
support
>>>> they
>>>>>>>>>type
>>>>>>>>>>>>>>>> reg_none. There is a new WMI class called
>>>> RSOP
>>>>>>>>>that
>>>>>>>>>>>>>>>> expose the information but this only works
>>>> with
>>>>>>>> XP.
>>>>>>>>>>> So
>>>>>>>>>>>>>>>> the question is how do I read reg_none
>> values
>>>>>>>> using
>>>>>>>>>>>>> WMI
>>>>>>>>>>>>>>in
>>>>>>>>>>>>>>>> Windows 2000?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>-----Original Message-----
>>>>>>>>>>>>>>>>>This got me curious, so I gave it a try on
>> my
>>>>>> own
>>>>>>>>>>>>>>>>>machine. I tried the same code James
>> posted,
>>>>>> with
>>>>>>>>>>>>>>>> several
>>>>>>>>>>>>>>>>>variations on the following:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>[PropertyContext
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>
>>
("local|HKEY_LOCAL_MACHINE\\SECURITY\\Policy\\PolAdtEv"),
>>>>>>>>>>>>>>>>> Dynamic, Provider("RegPropProv")]
>>>>>>>>>>>>>>>>>PolAdtEv;
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>AND
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>[PropertyContext
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>
>>>>
>>
("local|HKEY_LOCAL_MACHINE\\SECURITY\\Policy\\PolAdtEv|"),
>>>>>>>>>>>>>>>>> Dynamic, Provider("RegPropProv")]
>>>>>>>>>>>>>>>>>PolAdtEv;
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>AND
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>[PropertyContext
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>
>> ("local|HKEY_LOCAL_MACHINE\\SECURITY\\Policy\\PolAdtEv|
>>>>>>>>>>>>>>>>>(Default)"),
>>>>>>>>>>>>>>>>> Dynamic, Provider("RegPropProv")]
>>>>>>>>>>>>>>>>>PolAdtEv;
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>Sangeetha, does this work for you?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>Paul
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>.
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>.
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>.
>>>>>>>>>>
>>>>>>>>>.
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>.
>>>>>>>
>>>>>
>>>>>
>>>>>.
>>>>>
>>>
>>>
>>>.
>>>
>
>
>.
>
.
- Follow-Ups:
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- References:
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- From: James
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- From: Paul
- Re: PolAdtEv
- From: James
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- From: James
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- From: James
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- From: Paul
- Re: PolAdtEv
- From: Sangeetha Visweswaran[MSFT]
- Re: PolAdtEv
- Prev by Date: Re: HINV Changes are not displayed in Resource Explorer
- Next by Date: 254 character limit in hardware inventory?
- Previous by thread: Re: PolAdtEv
- Next by thread: Re: PolAdtEv
- Index(es):
Relevant Pages
|
Loading