قالب وردپرس درنا توس
Home / Tips and Tricks / How to scan mapped network drives using Windows Defender

How to scan mapped network drives using Windows Defender



  Windows 10 logo

If you have set up a mapped network drive in Windows 10, Windows Defender does not scan it for viruses or malware by default during the scheduled scans. This is how you ensure that your network drives are scanned.

Home users: Enable scanning of mapped network drives via the registry.

If you have Windows 1

0 Home, you'll need to edit the Windows registry – or use PowerShell we're using – I'll go into that later – to make this change. You can also do this this way if you have Windows 10 Professional or Enterprise, but unlike the Group Policy Editor, feel more comfortable in the registry. (However, if you have Windows 10 Pro or Enterprise, we recommend using the simpler Group Policy Editor, as described in the next section.)

Here's our standard warning: Registry Editor is a powerful tool, and if used improperly, you can Your system is unstable or even inoperable. This is a fairly simple hack. As long as you follow the instructions, you shouldn't have any problems. If you've never worked with it, read how to use Registry Editor before you start. Be sure to back up the registry (and your computer!) Before making changes.

CONNECTION: Backing up and restoring the Windows registry

You should also see a system restore point before proceeding. Windows will likely do this automatically when you install an update, but it can't hurt to create one manually. So if something goes wrong, you can roll back at any time.

When you're ready, open Registry Editor. Press Windows + R on your keyboard, type "regedit" in the box, and press Enter.

 Press Windows + R to open

. Navigate to the following button in the left sidebar:

  Computer  HKEY_LOCAL_MACHINE  SOFTWARE  Policies  Microsoft  Windows Defender  Scan 

If no "Scan" key (folder) is displayed under the Windows Defender folder Right-click the Windows Defender folder and choose New> Key. Call it "scan".

 If you don't see the key . "Width =" 650 "height =" 221 "src =" / pagespeed_static / 1.JiBnMqyl6S.gif "onload =" pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon (this); "onerror =" this.onerror = null; pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon (this); "/>

Right-click the" Scan "(folder) button and right-click it Select New> DWORD Value (32-bit).

 Click right-click on the DWORD value (32-bit) . "width =" 650 "height =" 221 "src =" / pagespeed_static / 1.JiBnMqyl6S.gif "onload =" pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon ( this); " onerror = "this.onerror = null; pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon (this);" />

Name the value "DisableScanningMappedNetworkDrivesForFullScan". Double click on it and set the value data to "0".

 Double-click the DWORD and set the value data to

. You can now close Registry Editor and restart your computer to apply Windows Defender settings.

Download our one-click registration hack

Instead of editing the registration yourself, you can download our registration hack "Activate Mapped Network Drive Scan". Simply open the downloaded ZIP file, double-click the "EnableMappedNetworkDriveScan.reg" file and agree to add the information to your registry. We also added a "DisableMappedNetworkDriveScan.reg" if you want to disable it again.

These REG files only change the registry settings described above. If you want to see what this or another .reg file does before you run it, you can right-click the .reg file and select "Edit" to open it in the editor. You can easily create your own registration hacks.

 Download our registration hack with one click.

Home users: Enable scanning of mapped network drives using PowerShell

If you do not feel comfortable while editing With the keys in the Windows registry, you can activate the option to scan network drives with PowerShell instead. There is less risk using PowerShell and you don't have to worry about critical system settings being made. Simply copy and paste the ready-made cmdlets that we have prepared for this guide.

First, open an elevated instance of PowerShell. To do this, click the Start button and enter "Powershell". Right click on "Windows PowerShell" and then select "Run as Administrator" from the menu.

CONNECTION: 9 Ways to Open PowerShell in Windows 10

] Enter

. At the prompt that appears, click Yes to allow access to your computer.

In the PowerShell window, type the following cmdlet:

  Set-MpPreference -DisableScanningMappedNetworkDrivesForFullScan 0 

 Type the command in the PowerShell window and press Enter.

Press Enter to execute the command. The PowerShell console does not confirm that the option is selected, but you can check it yourself. Enter the following command, look for the DisableScanningMappedNetworkDrivesForFullScan value and ensure that it is set to False.

  Get-MpPreference 

 The

If you want to disable the mapped network Run the drive scan again, enter the command again, but enter a "1" instead of one "0" before pressing Enter.

 Disable mapped network drive scans for Defender in PowerShell

You can now safely close PowerShell.

Pro and Enterprise users: Enabling the mapped network drive scan using Group Policy

If you are using Windows 10 Professional or Enterprise, the easiest way to enable the mapped network drive scan is by using the Local Group Policy Editor. It is a pretty powerful tool. So if you've never used it before, it's worth taking some time to learn what it can do. If you are on a corporate network, do everyone a favor and contact your administrator first. If your worker machine is part of a domain, it is likely part of a domain group policy that replaces the local group policy.

You should also set a system restore point before proceeding. Windows will likely do this automatically when you install the anniversary update. Still, it couldn't hurt to create one manually – this way, if something goes wrong, you can roll back at any time.

CONNECTION: Using Group Policy Editor to Optimize Your PC

First, start Group Policy Editor by pressing Windows + R, "gpedit.msc" in Enter the field and press the Enter key.

 Press Windows + R and type

Navigate to Computer Configuration> Administrative Templates> Windows Components> Windows Defender Antivirus> Scan.

Find and double-click the "Run full scan on mapped network drives" window on the right.

 Double-click

. Set "Run full scan on mapped network drives" to "Enabled" and click "OK" to save the changes. [19659005]   Activate the setting and click on

. All changes have been saved and take effect immediately. You can now close the Group Policy Editor and do not have to restart your PC.

To disable mapped network drive scans, return here, double-click the "Run full scan on mapped network drives" setting and change it to "Not Configured" or "Disabled".




Source link