Skip to content
⌘ NSIS Forum Archive

How can I get the machine-name

4 posts

stp#

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 ??
flizebogen#
Use this Code:

ReadRegStr Variable HKLM "System\CurrentControlSet\control\ComputerName\ComputerName" "Computername"
Joel#
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?
flizebogen#
I don't have a Win9x maschine anymore but i think you should replace "Windows NT" by "Windows" for Win9x/Me Systems.