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
Categories: