Another way to test if Server Core is running is to check the registry under HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion for the value of InstallationType. If it is set to "Server Core", then the Server Core installation option is installed.