Dear Team
Could you please tell me why this script is reporting error 1060 (this means
the specified service is installed) even though this service is there and
running fine on the server. Please look into it.
use Win32::Lanman;
if(!Win32::Lanman::QueryServiceStatus("\\\\hotnt006", "", 'server',
\%status))
{
print "Sorry, Failed error: ";
print Win32::Lanman::GetLastError();
}
foreach $key(%status)
{
print "$key = $status{$key} \n" ;
}
One more thing I want to know is whether this function requires any special
privilege (like SeSecurityPrivilege). Because I have one tool in NT 4.o
resource kit (NETSVC.EXE) which is reporting ACCESS DENIED error.
ThanQ very much for your HELP and Suggestions.
With Regards
Raju
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]