Hi,
I am trying to modify a Windows Defender parameter due to performance problems on Windows Server 2012, but when I execute the Set-MpPreference command, it gives me the error:
PS C:\Windows\system32> Set-MpPreference -DisableCpuThrottleOnIdleScans $false
Set-MpPreference : The term 'Set-MpPreference' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Set-MpPreference -DisableCpuThrottleOnIdleScans $false
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-MpPreference:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
How can I resolve this error?
Thanks in advance