Copy code The code is as follows:
$regkey = 'HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWdsrdpwdTdstcpPortNumber';
$shell = new COM('WScript.Shell');
var_dump($shell->RegRead($regkey));
//www.jb51.net Script House Collection
?>
http://www.bkjia.com/PHPjc/766114.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/766114.htmlTechArticleCopy the code as follows: ?php $regkey = 'HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWdsrdpwdTdstcpPortNumber'; $shell = new COM('WScript. Shell'); var...