I need a solution
Hello
So I have a powershell script (that I got online) to change the Lync2010 registry's key "AutoRunWhenLogonToWindows" to 1 so lync starts up automatically when user Logs in.
Problem: Script runs successful (task status shows successful) but the registry key to not changed, it remains "0". The same script executed locally via powershell successfully modifies the registry key.
The Executionpolicy on the test machine is already set to unrestricted.
I read in a post and they adviced to add the comment #powershell before my script, did that but still same problem.
Thank you all in advance for your assistance