The code I'm using is as follows:
- Code: Select all
local value = win32.getRegistry("HKLM SOFTWARE\\Microsoft\\Cryptography", "MachineGuid");
but "value" always returns 'nil'. I have confirmed the value exists via RegEdit.
Can someone confirm that this function still works? Has anyone tried it on Windows 10?
Perhaps there is a permissions issue?