Questions tagged [windows-defender]

Use with Windows Security which was formally called Windows Defender Security Center

References:
Help protect my device with Windows Security

Related tag:
Windows-Security

125 questions
0
votes
1 answer

Error Calling .jar from Excel VBA Using Call Shell()

I'm trying to call a simple Java program from Excel VBA using the following command: Call Shell("java -jar C:\TestMessage.jar arg0 arg1", vbNormalFocus) I receive the error: "Run-time error'5': Invalid procedure call or argument" along with a…
Rich_Foley
  • 41
  • 7
0
votes
1 answer

GetValueNames() of protected registry in vb.net

I have the following folder in registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths But how can I show their value name to listbox? Here is my code: Dim FontKey As RegistryKey =…
user9933170
0
votes
0 answers

Windows Defender (on Win 10) breaking System Restore

When I do a system restore in Windows 10 1607 (Anniversary Update), I get this error: Based on the error, it looks like Windows Defender isn't playing well with System restore -- and lo and behold, when I disable Windows Defender, the System…
Bob
  • 247
  • 2
  • 18
0
votes
1 answer

Using a ping response to restart a power shell script

Good afternoon! I have the following script to automate the process of running Update-MpSignature and then running the defender offline scan with Start-MpWDOScan. I use ping 120 to run a short term ping to verify that the computer goes down but have…
0
votes
0 answers

cannot install to My Documents with Windows 10 Defender real time protection turned on

My question: Is this a known quality of Windows 10 Defender? I made two changes to Example1.iss which ships with INNO setup. DefaultDirName={userdocs}\My Program and add PrivilegesRequired=lowest. With these changes I run setup in a standard user…
user3142056
  • 159
  • 8
0
votes
0 answers

The term 'Set-MpPreference' is not recognized as the name of a cmdlet when running through C#

I am trying to set the preference DisableRealtimeMonitoring to false with the following runspace: try { Runspace runspace = RunspaceFactory.CreateRunspace(); runspace.Open(); Pipeline pipeline = runspace.CreatePipeline(); Command…
0
votes
0 answers

Windows defender removing vba code from Word Document

We have a large word application with around 100 forms, 50 modules and 20 classes. Over 100 people get into this application and some of them are seasonal which means that they will use different computers. We are running into an issue where…
dluck
  • 89
  • 1
  • 5
0
votes
3 answers

Does Add-MpPreference work with Windows 8.1?

I have a powershell script that adds file exclusions to Windows Defender on a computer running Windows 10. But I run the same script with Windows 8.1 but I get an error message saying: Add-MpPreference : The 'Add-MpPreference' command was found in…
M. Simon
  • 81
  • 1
  • 12
0
votes
0 answers

Windows Defender increases file write times

On a Windows 10 machine, I seem to be running into substantially increased write times on our cache files. Below I have included timing operations for our writes with/without Defender's intervention. For this test, we are writing 32KB blocks to a…
LeoVannini
  • 95
  • 1
  • 10
0
votes
0 answers

Gradle build failed: Failed to create MD5 hash for file, Windows defender finds A threat

I'm trying to build my android app. It was working fine when suddenly windows defender gave me a message that it had found a threat, and directly after I get an error message: Error:Failed to capture snapshot of output files for task…
Yeonsan
  • 21
  • 5
0
votes
1 answer

Windows Defender API to scan a directory for malwares

Using Windows Defender API , I'm trying to do a scan for malwares on a folder. Following The documentation I wrote the code: MPRESOURCE_INFO ResourceInfo = { 0 }; MPSCAN_RESOURCES ScanResource = { 0 }; PMPRESOURCE_INFO ResourceInfoArray =…
macro_controller
  • 1,209
  • 1
  • 11
  • 24
0
votes
0 answers

Windows defender blocks SQLite database on connection Close

Inside Windows 10 UWP project used Microsoft.Data.SQLite 1.0.0 package as data provider for Sqlite V3 Database And when I'm performing any kind of Insert or Update operations and closing sqlite connection starts working Windows Definder and seems…
Maxim Nikonov
  • 674
  • 4
  • 12
-1
votes
1 answer

Retrieving Windows Defender Status remotely

I am using the following script to retrieve Windows Defender status remotely. $password = ConvertTo-SecureString “myPassword” -AsPlainText -Force $credentials = New-Object System.Management.Automation.PSCredential (“myUserNamer”,…
BKS
  • 1,323
  • 13
  • 29
-1
votes
1 answer

How Can I Find The Current Windows Defender Executable Location? And Why Are There Many?

Microsoft has multiple versions of the Defender executable (MpCmdRun.exe) installed on my computer. There is an obvious one in "C:\Program Files\Windows Defender\MpCmdRun.exe" but then two others in "C:\ProgramData\Microsoft\Windows…
BoCoKeith
  • 595
  • 6
  • 14
-1
votes
1 answer

Behavior/Win32/Execution

Guys i have a c++ exe that is the sources #include #include #include int main() { char* appdata = std::getenv("APPDATA"); if(appdata) { std::cout << "Appdata: " << appdata << '\n'; std::string…
Onur Kaya
  • 9
  • 5
1 2 3
8
9