Search notes:

Windows environment variable: COMPUTERNAME

The value of the environment variable COMPUTERNAME is set by wininit.exe.

See also

Changing the computername with WMIC.exe
HOSTNAME.EXE
Windows environment variables

Index