Re: 80041021 error - GetObject stdRegProv
- From: tjlumpkin@xxxxxxxxxxx
- Date: 5 Jul 2006 17:47:59 -0700
Michael Harris (MVP) wrote:
tjlumpkin@xxxxxxxxxxx wrote:
I've got a script that works beautifully on 90% of the machines in our
enterprise environment. On a very small number of machines I see this
error code 80041021, with no further explanation. The line of script
it references is the WMI GetObject where I grab the stdRegProv.
Anyone have any ideas how to fix those few PCs (WinXP SP1 & SP2).
Maybe not much help but...
WMI Error Constants constant [WMI]
<http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_error_constants.asp?frame=true>
WBEM_E_INVALID_SYNTAX
0x80041021
Query is syntactically invalid
--
Michael Harris
Microsoft MVP Scripting
I did see that in a few searches. But the script runs flawlessly on
thousands of machines. So I'm puzzled by how it could be syntax.
Where are the WMI components located, and how can I reload/reregister
them if they are broke?
.
- References:
- 80041021 error - GetObject stdRegProv
- From: tjlumpkin
- Re: 80041021 error - GetObject stdRegProv
- From: Michael Harris \(MVP\)
- 80041021 error - GetObject stdRegProv
- Prev by Date: Re: Advice to access multiple inquiries?
- Next by Date: Bulk OU creation from csv file?
- Previous by thread: Re: 80041021 error - GetObject stdRegProv
- Next by thread: browse each site in ie favorites list
- Index(es):
Relevant Pages
|
Loading