#admin
27 solutions
Flip fDenyTSConnections to 0 to allow RDP connections to this PC.
Skip antivirus scanning for a build folder or a trusted process using the Defender module's Add-MpPreference.
Open the hosts file in Notepad as administrator, or append an entry with Add-Content.
Test admin elevation in PowerShell with the WindowsPrincipal role check.
Use a Docker-compatible CLI that runs containers without a root daemon.
cmdkey /list shows everything stored in Windows Credential Manager — the forgotten CLI for stale logins and RDP entries.
Trigger the UAC prompt and launch an admin-level process from a non-elevated PowerShell session.
Reset a local user's password from an elevated prompt without typing it in plain text.
The built-in logoff command ends a session by ID — the standard fix for stuck disconnected RDP sessions on servers.
Execute script blocks on one or many hosts in parallel.
Scan protected Windows files and restore corrupted copies.
Once unlocked, a BitLocker data drive stays open — manage-bde -lock is the forgotten command that re-secures it without rebooting.