Windows – Winlogon entry userinit Data

windows 7windows-registry

What is the difference between the two data strings

C:\Windows\system32\userinit.exe,

and

C:\Windows\system32\userinit.exe

in the context of the windows registry at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

REG_SZ Userinit

what does the comma signify or the lack of it?

Best Answer

The trailing comma is necessary. It ensures that any settings added by another piece of software or GPO are delimited as necessary. Most errors related to this occur because the installation routines are not configured to place the comma at the end of the string; the key is corrupted because it is not read properly unless it is delimited correctly.

source

So comma acts as a delimiter.If delimiter is not present key will not be read properly.

So comma will be always used to separate values in all files.

To understand better please see this tutorial.

Related Question