"Nick Dakoronias" <dakoroni@newsgroup> wrote in message
news:AF5BC5A9-873A-447E-9FD4-F75E0F89655D@newsgroupI added microsoft.public.scripting.vbscript to you 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 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.
--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


