I have often seen WMI connections fail when an IP Address is provided instead of the system's NetBIOS name. Is there no way you can use its hostname instead?
Kind regards, Mark Anderson SMS Deployment The Royal Bank of Scotland 113 Dundas Street, Edinburgh, EH3 5DE http://www.manufacturing.rbs.co.uk/GTrswi/ > -----Original Message----- > From: Harlan Carvey [SMTP:[EMAIL PROTECTED] > Sent: Monday, May 24, 2004 9:44 PM > To: [EMAIL PROTECTED] > Subject: WMI and Win32::OLE issue > > *** WARNING : This message originates from the Internet *** > > All, > > I'm running the attached Perl script in an effort to > retrieve information from a remote system via WMI. > The script works fine on the local machine. However, > when I run it against a remote system (script run from > XP against a Win2K box) after making an admin login > using "net use", I get the following error: > > Error connecting to 10.1.1.15: Win32::OLE(0.1403) > error 0x80070005: "Access is d enied" after character > 0 in > "WinMgmts:{impersonationLevel=Impersonate}!//10.1.1.15/root/cimv2" > > I've looked this up and seen that others have had this > issue, but to this point, I haven't seen any > resolutions to the issue. > > Any help would be appreciated. > > Thanks, > > Harlan << File: svc.pl >> << File: ATT588962.txt >> The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB The Royal Bank of Scotland plc is authorised and regulated by the Financial Services Authority and represents The Royal Bank of Scotland Marketing Group. The Bank sells life policies, collective investment schemes and pension products and advises only on the Marketing Group's range of these products and on a With-Profit Bond produced by Norwich Union Life (RBS) Limited. This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
