{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "administrator",
  "home_page_url": "https://evotec.xyz/fr/tags/administrator",
  "feed_url": "https://evotec.xyz/fr/tags/administrator/index.feed.json",
  "description": "Evotec Main Website",
  "items": [
    {
      "id": "https://evotec.xyz/fr/blog/create-a-local-user-or-administrator-account-in-windows-using-powershell",
      "url": "https://evotec.xyz/fr/blog/create-a-local-user-or-administrator-account-in-windows-using-powershell",
      "title": "Create a local user or administrator account in Windows using PowerShell",
      "summary": "Recently I got a simple task to implement LAPS for the newly created local user instead of using the built-in local administrator account. It seemed easy at first. Go to Group Policies, create a new user, add it to an administrators group, and then follow standard steps to implement LAPS. That is until you find out it\u2019s actually not possible anymore due to password encryption key being available in the wild, which made Microsoft block that Group Policy Preference. While that road is blocked, I still need to get my user-created somehow. Let\u2019s do it with PowerShell. It\u2019s quite simple \u2013 use New-LocalUser a few parameters, some random password that I don\u2019t need to save as LAPS will overwrite it. Except it\u2019s not available on PowerShell 2.0, which is the default for Windows 7 that I have to support. Things get even more complicated if you consider that Administrators group is called differently in different countries. While I stopped supporting anything below PowerShell 5.1, I can\u2019t say if it\u2019s the project requirement.",
      "date_published": "2019-10-30T13:44:27.0000000Z",
      "tags": [
        "administrator",
        "gpo",
        "powershell",
        "Windows"
      ]
    }
  ]
}