"Bryan" <(E-Mail Removed)> wrote in message
news:91643121-2DE4-4CA3-9020-(E-Mail Removed)...
> Set objSysInfo = CreateObject("ADSystemInfo")
> sTmp = objSysInfo.ComputerName
> If err <> 0 Then
> wsh.echo err.description
> End If
>
> This script echos a "Permission Denied" on some machines. I have been
> unable
> to determine the cause. I have re-registered the activeds.dll. Not sure
> what
> else to try. Anyone have any ideas?
>
Best to ask the experts in a VB Script newsgroup, e.g.
public.scripting.vbscript.
|