The following code sample used to return me windows id before, but now it doesn\'t work, and returns empty string, dunno why.
function GetWindowsID: string
Try reading it manually using RegEdit. You may get 'Access Denied' due to a permission issue, in which case look at your level and how you are accessing it.