RE: OLE and access denied with Admin account

2004-11-01 Thread Ben Conrad
min account). I took out the account and put in the local Administrators group and now the script is working. -Original Message- From: Ben Conrad [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: OLE and access denied with Admin acco

OLE and access denied with Admin account

2004-11-01 Thread Ben Conrad
Hello, perl 5.8.3.809, win2k sp4. I am having a problem running a script from within the Task Scheduler, it is bombing at: $CLASS = "winmgmts:{impersonationLevel=impersonate}$Server\\Root\\cimv2"; $WMI = Win32::OLE->GetObject( $CLASS ) || return print LOGFILE "Error on $Server: ", Win32::OLE