Get Windows Key Through Script

Hi All,

I download the Script from the tecnet from following link

The problem is when i run this in remote computer in domain i getting following error in product key collum so i do some search and found that its because of Remote Registry Service so enable it and update the gpo but its not solved

Exception calling “OpenRemoteBaseKey” with “2” argument[s]: "The network path was not found.

Here with i attached my GPO Settings


Windows Remote Management is not the same as Remote Registry.

Here is a link on how to enable and start the Remot Registry service via a GPO.


I configured it as the link