I am trying to deploy a user environment variable to computers. I have an existing package that runs regedit /s "regfile.reg" which specifies an NTLM setting for certain computers, this works via sccm. I thought well Ill just create another package and do the same thing for the user environment variable. When i execute the envar.reg file it works, when I have sccm deploy it via mandatory deployment it does not work. I thought ok ill create a powershell script that will set this value, it does not work either, but will if i execute it. Why can I not set a reg entry in the HKLU through SCCM but I can an entry in HKLM? I thought well maybe I need to deploy it to users instead of computers but I couldn't get that to work either.
Any Ideas??