"Nick Dakoronias" <dakoroni@newsgroup> wrote in message
> Dear forum users
> I have a customer who is using a VB Script to create one swbemrefresher
> object which works normally on Win XP and Win2003 platform,
> but on Windows Vista platform prompts with "invalid class" error.
> Has anybody experienced something similar? Is it a matter of missing
> class? If yes, where it can be found?
> Any advice or guidance will be much appreciated.
> Many thanks in advance for your time, effort and support.
> Regards, Nick.
I added microsoft.public.scripting.vbscript to you message.
I suspect the script must be run by right-clicking the *.vbs file and
selecting the option "Run as administrator". Or, the script can be run at a
command prompt, but one that has been launched by right clicking a shortcut
to cmd.exe and selecting "Run as administrator". If this doesn't solve the
problem, we need to see some code that duplicates the error.
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net