HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
The registry entries are DWORD values. A value of 1 is enabled, and a value of 0 is disabled. If the key exists set its value as appropriate, or add the key and value if it is missing.
Registry Value:"ForceStartMenuLogoff"
Value: 1
Registry Value:"StartMenuLogoff"
Value: 0
Registry Value:"NoClose"
Value: 0