Deploy HKCU reg key through SCCM

Sarfraz Aslam 31 Reputation points
2024-04-25T08:22:43.4066667+00:00

Hello,

I am currently struggling to deploy HKCU key through SCCM, I tried it through Task Sequence via running command line, i tried it through the package but the required changes not reflected at client registry. When i execute the same Batch file on PC directly, changes reflected in registry without any issue. I have followed the steps in the below given article but nothing worked.

https://sccm2012site.wordpress.com/2017/05/11/writing-current-user-registry-keys-in-sccm-as-system/

I tried to deploy on computer as well as user collection. - Not working

My requirement is to hide "NewOutlookTogglebutton". I know this can also be done by GPO but for some reason, we have to implement this through SCCM.

Any suggestions to achieve this!

execmgr.log

Microsoft Security | Intune | Configuration Manager | Deployment
Microsoft Security | Intune | Configuration Manager | Application
Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Jindal [MVP] 10,911 Reputation points MVP
    2024-04-25T08:44:02.8266667+00:00

    To configure the HKCU hive, the execution of your setup needs to be under user context. What is the situation in your case?

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.