Hmmmm..... when I check @PRODUCTTYPE on my system (Windows 10 Enterprise v1703) I get "Windows 10 Enterprise" as expected. Not sure what goes wrong in your situation.
Are you sure you are on Kix 4.67?

What do you see when you run this code? Just checking the contents of @PRODUCTTYPE without doing anything with it is the first this I would do to find out what is happening.

 Code:
?@kix
?@PRODUCTTYPE
sleep 5
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.