Posted On March 24, 2021

PowerShell: How to Disable Users Authenticated Control (UAC)

kimconnect 0 comments
blog.KimConnect.com >> Windows >> PowerShell: How to Disable Users Authenticated Control (UAC)

This has been tested on Windows Server 2008, 2016, and 2019. Nothing fancy, just copy/paste this to get rid of that annoying UAC Prompt:

Set-ItemProperty -Path 'REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name ConsentPromptBehaviorAdmin -Value 0

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Remove Bloatware on a Windows 10 Default Installation

1. Run PowerShell as Administrator 2. Issue these commands to download the Windows10Debloater script: #…

PowerShell: Create User Accounts From CSV File

# User-input Variables $csvFile='C:\Users-finalized.csv' $newOu='CN=Users,DC=kimconnect,DC=com' $newCompany='Kim Connect' $logFile="c:\temp\createActiveDirectoryAccounts-$(get-date -f yyyy-mm-dd-hh-mm-ss).txt" function createActiveDirectoryAccounts{ param( $csvFile, $newOu,…

Quick 1-liner to Get a User’s Group Memberships

PS C:\Windows\system32> Get-ADPrincipalGroupMembership kimconnect|select name name ---- Domain Admins Enterprise Admins Cloud Admins Kimconnect Admins
Other project: DragonCoin.com