{"id":75151,"date":"2023-06-05T13:09:38","date_gmt":"2023-06-05T17:09:38","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=75151"},"modified":"2024-01-30T12:54:57","modified_gmt":"2024-01-30T17:54:57","slug":"find-names-of-local-accounts-on-devices","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/find-names-of-local-accounts-on-devices","title":{"rendered":"Find Names of Local Accounts on Devices"},"content":{"rendered":"\n

When you add devices to JumpCloud and you want to take over existing local accounts, you need to match the JumpCloud username or the local user account field with the name of the local account. If they don\u2019t match, a new profile is created on the device. Use this article to learn about the different methods you can use to find the name of existing local accounts on devices.<\/p>\n\n\n\n

Manually Finding the Names of Local Accounts on Devices<\/h2>\n\n\n\n

If you have a small set of devices, you can manually find the name of existing accounts on Windows, Linux, and Mac devices. <\/p>\n\n\n\n

Linux<\/h3>\n\n\n\n

To manually find the name of an existing account on a Linux device: <\/p>\n\n\n\n

    \n
  1. Go to Settings<\/strong> > Users<\/strong>. All users are listed horizontally at the top.<\/li>\n\n\n\n
  2. Select one and unlock to change settings and\/or add users. <\/li>\n<\/ol>\n\n\n\n

    <\/p><\/div>

    Tip:<\/strong> \n

    Another option to find local user names for each Linux device is to use the following command: cat \/etc\/passwd<\/code>.<\/p>\n <\/div><\/div><\/div><\/div>\n\n\n\n

    Mac<\/h3>\n\n\n\n

    To manually find the name of an existing account on a macOS device:<\/p>\n\n\n\n

      \n
    1. Go to\u00a0System Settings\u00a0<\/strong>>\u00a0Users & Groups<\/strong>.<\/li>\n\n\n\n
    2. Select a user, right-click, then choose\u00a0Advanced Options…<\/strong>.\u00a0<\/li>\n<\/ol>\n\n\n\n

      <\/p><\/div>

      Note:<\/strong> \n

      Account Name<\/strong> is the name of the local account. On macOS Ventura, this field is called User Name. <\/strong><\/p>\n <\/div><\/div><\/div><\/div>\n\n\n\n

      Windows<\/h3>\n\n\n\n

      To manually find the name of an existing account on a Windows device, go to Control Panel<\/strong> > Administrative Tools <\/strong>> Computer Management <\/strong>> Local Users and Groups <\/strong>> Users<\/strong>.<\/p>\n\n\n\n

      <\/p><\/div>

      Note:<\/strong> \n

      Name<\/strong> is the local account\u2019s name. <\/p>\n <\/div><\/div><\/div><\/div>\n\n\n\n

      Using the Device Agent to Query and Find Local Account Profiles<\/h2>\n\n\n\n

      If you have plans to take over existing accounts on a large number of devices, automate the process and use the device agent to query and find local account profiles. <\/p>\n\n\n\n

      Prerequisites<\/strong>:<\/p>\n\n\n\n