Posted On April 21, 2022

Windows UAC Error This App has been blocked for your protection mmc.exe taskschd.msc

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Windows UAC Error This App has been blocked for your protection mmc.exe taskschd.msc
Error Message:
User Account Control

This App has been blocked for your protection.
A administrator has blocked you from running this app. For more information, contract the administrator.

mmc.exe

Publisher: Unknown
File origin: Hard drive on this computer
"C:\Windows\System32\mmc.exe" "C:\Windows\system32\taskschd.msc" /s
Resolution:

Option 1: Disable UAC

$uacRegKeyHive='REGISTRY::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
$keyName='EnableLUA'
$disable=0

Set-ItemProperty -Path $uacRegKeyHive -Name $keyname -value $disable
Restart-Computer -force

Option 2: Change Cryptographic Service run-as Account

$serviceName='CryptSvc'
$serviceAccount='NT AUTHORITY\NETWORK SERVICE'
$servicePassword=$null
$serviceStart='Automatic'
$service=gwmi win32_service -filter "name='$serviceName'"
$service.change($null,$null,$null,$null,$serviceStart,$null,$serviceAccount,$servicePassword)
sc.exe failure $service.name reset= 0 actions= restart/5000

Leave a Reply

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

Related Post

Script to Rename Computers in Active Directory

1. Run this PowerShell Script to rename 1 computer: $admin = "KIMCONNECT\"+ Read-Host "Enter the…

Deploying LDAP / Active Directory Self Service Password Portal

Overview: There are several choices of platforms to deploy Password Manager: Kubernetes, Docker, Windows, and…

How to Install Selenium for Python on Windows or Linux

Windows # This error would occur if pip is not up to date PS C:\WINDOWS\system32>…