in reply to Re: Installing Win32::KillProcess using PPM3
in thread Installing Win32::KillProcess using PPM3
The error I am getting is this;use Win32::KillProcess qw( connectServer startProcess ); $server="sn02gev14a"; $user="MOD\blackadder_sup"; $pass="Perlmonks2004"; my $c = connectServer( $server, $user, $pass ); startProcess( $c, 'cmd.exe /c start \\oywps01\snp108');
Although my domain admins account ‘MOD\blackadder_sup’ and my user account are in the local admins group on the remote machine, however I still get the above error!C:\Perl>proc_start.pl Can't access WMI on remote machine sn02gev14a: OLE exception from "SWb +emLocator": Access is denied. Win32::OLE(0.1701) error 0x80070005: "Access is denied" in METHOD/PROPERTYGET "ConnectServer" at C:/Perl/site/lib/Win32/Ki +llProcess.pm line 30.
|
|---|