Archive: How can I get the machine-name


How can I get the machine-name
I want get the machine-name
of the computer, where the software is installed.

(Computer-name)

Is this possible ??


Use this Code:

ReadRegStr Variable HKLM "System\CurrentControlSet\control\ComputerName\ComputerName" "Computername"


Similar question:
I try to get the user's Organization and Owner computer. I have for NT(NT, 2k and XP) systems:


"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" "RegisteredOrganization"
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" "RegisteredOwner"

Wich is for Win9x and WinME systems?

I don't have a Win9x maschine anymore but i think you should replace "Windows NT" by "Windows" for Win9x/Me Systems.