Logged in user should have permissions to HKCU hive, but some areas may need elevated permissions. May I know which key are you trying to create?
Registry edit script to run with system account and edit current user registry hive
I am unable to figure out how should I resolve the below
I have a requirement to set a registry key value for the HKCUrrentUser
I need to do this via Intune
I tried running this through the Scripts feature in Intune, but when I configure the script to run with logged-in user credential it does not create the registry key at all - maybe because user does not have permission to edit the registry
And when I configure the Script to run with system account it does create the registry as it does not know the HKCUrrent User registry hive
Am I doing something wrong in the configuration
Need your expert advise on this
Many thanks in advance guys
2 answers
Sort by: Newest
-
-
Rudy Ooms 596 Reputation points MVP
2022-06-27T12:15:24.153+00:00 Hi... Maybe do the same as I did in part 4
I needed to change some permissions on a hkcu key