Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 2356

Powershell script - runs successfully on PC but does not do changes

$
0
0
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

 


Viewing all articles
Browse latest Browse all 2356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>