How to give permission to a registry key for a user?

Chakraborty, Soumavo (IT) 21 Reputation points

How to give permission to a registry key for a user?
Device is Azure AD joined intune managed. when i am trying to give permission it says no names found

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,957 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,577 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Crystal-MSFT 44,931 Reputation points Microsoft Vendor

    @Chakraborty, Soumavo (IT) , Based on my test, we can use Powershell commands to add the permission for Azure AD user. Here is my test for the reference:

    Powershell commands: Add user with full control permission on "HKLM:\SOFTWARE\7-Zip"
    Note: Please click Powershell ISE and choose “Run as administrator to run these commands。Meanwhile, change the user and the registry key as your reference.

    $acl = Get-Acl HKLM:\SOFTWARE\7-Zip  
    $rule = New-Object System.Security.AccessControl.RegistryAccessRule ("AzureAD\","FullControl",@("ObjectInherit","ContainerInherit"),"None","Allow")  
    $acl |Set-Acl -Path HKLM:\SOFTWARE\7-Zip  

    Hope it can help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. Hadar Haim 1 Reputation point

    Need to take ownership before this Article

    0 comments No comments