Windows Server 2003 EXEC with Service

I've created a small exec PHP script to stop a service.

On Windows XP (SP2) it works fine but when I transfer it to Windows Server 2003 (SP1) it doesn't work!

The PHP script:
<?php
exec(net stop SERVICENAME);
?>

Can someone help me with this problem?

(IUSR_ has the right to execute something with CMD.exe)

 

 

 

 

Top