<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Local Accounts on Locodigital</title><link>https://locodigital.com.br/en/tags/local-accounts/</link><description>Recent content in Local Accounts on Locodigital</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 26 Aug 2026 08:00:00 -0300</lastBuildDate><atom:link href="https://locodigital.com.br/en/tags/local-accounts/index.xml" rel="self" type="application/rss+xml"/><item><title>Get-LocalUser: auditing local Windows accounts with PowerShell</title><link>https://locodigital.com.br/en/technology/get-localuser-audit-local-windows-accounts-powershell/</link><pubDate>Wed, 26 Aug 2026 08:00:00 -0300</pubDate><guid>https://locodigital.com.br/en/technology/get-localuser-audit-local-windows-accounts-powershell/</guid><description>&lt;p&gt;Do you know exactly how many user accounts exist on your Windows machine right now? Most people don't — and that's exactly the gap an attacker with initial access will exploit: create a hidden account with a generic name, enable it with a password, and keep quiet persistence. &lt;code&gt;Get-LocalUser&lt;/code&gt; is the cmdlet that exposes all of it in a single line.&lt;/p&gt;
&lt;h2&gt;What Get-LocalUser is&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;Get-LocalUser&lt;/code&gt; is part of the &lt;code&gt;Microsoft.PowerShell.LocalAccounts&lt;/code&gt; module, available natively since PowerShell 5.1 (Windows 10 / Server 2016 onward). It returns every local user on the machine — manually created accounts, built-in system accounts (&lt;code&gt;Administrator&lt;/code&gt;, &lt;code&gt;Guest&lt;/code&gt;, &lt;code&gt;DefaultAccount&lt;/code&gt;, &lt;code&gt;WDAGUtilityAccount&lt;/code&gt;) and accounts linked to a Microsoft account.&lt;/p&gt;</description></item></channel></rss>