Tips and Tricks: Unable to create Lync 2013 client “Automatically start Lync when I log on to Windows” registry settings in [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]

By default Lync 2013 client doesn’t pop up automatically on user machines when they log off or restart their workstations. For deploying company wide policy to start Lync client automatically upon Windows start, you have to deploy a registry for enabling the Lync feature for “Automatically start Lync when I log on to Windows”.

This registry entry needs to be created in [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run], which holds all the auto-start-up program records which needs to kick off while Windows starts. Lync related automatically start-up registry entries settings are as follows:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
“Lync”=”\”C:\\Program Files (x86)\\Microsoft Office\\Office15\\lync.exe\” /fromrunkey”

Problem:
I recently happened to see a problem where, you are not allowed to create any registry entry in [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]. Initially I was thinking that its a permission problem, but later I could find that it is McAfee Virus Scan which is installed on the client PCs which has restricted me to create anything in this container.

Solution:
You can add regedit.exe as the allowed programs in the Access Protection rules within McAfee VSE or in EPO in case your centrally managing McAfee VSE for all clients. You can alternatively also do by export McAfee VSE access protection rule registry and then import it into all users using Group Policy preferences.

Cheers,

The GeekShell Blog Team