Trending February 2024 # How To Manually Scan Individual Files And Folders Using Microsoft Defender # Suggested March 2024 # Top 8 Popular

You are reading the article How To Manually Scan Individual Files And Folders Using Microsoft Defender updated in February 2024 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 How To Manually Scan Individual Files And Folders Using Microsoft Defender

Every Windows 10 machine comes with Microsoft Windows Defender Antivirus pre-installed. Windows Defender is a capable antimalware and antivirus software that offers real-time system protection and data security functions on demand.

This application can take care of your security needs and it also works perfectly with other antivirus and antimalware software. The background protection is robust enough, but in some situations, you may need to scan specific files and folders for malware or viruses.

Even though Microsoft Defender continuously monitors your computer system, for ransomware and similar risks, you can still ask it to scan individual files. This post will show you three ways to scan specific files and folders with Microsoft Defender.

Scan individual files & folders using Microsoft Defender

I’ll walk you through the three best ways to scan individual files and folders with Microsoft Defender. The three ways include the following:

Using File Explorer.

Using PowerShell.

Using Command Prompt.

Those are the three methods we’ll treat. Continue reading for the complete steps for carrying out these processes.

1] Scan a specific file or folder with Microsoft Defender using File Explorer

This is the most straightforward way to scan a file or folder with Microsoft Defender.

Press the Windows key + E key combination to open File Explorer.

Navigate to the directory in which the file or folder is located. You could also get here by searching for the file or folder from the Start menu.

This page shows you the progress and results of your malware scans. You’ll also find other scanning modes.

A Full scan takes the longest as it checks every file on your system, as well as running processes.

The Quick scan option is quicker because it only scans the most common malware locations.

You can add the locations to scan manually using a Custom scan, but this option doesn’t work for individual files, only folders.

2] Scan a specific file or folder with Microsoft Defender using PowerShell

To scan a folder, input the command that follows in the PowerShell window and hit the ENTER key:

Start-MpScan -ScanType CustomScan -ScanPath "C:THEFOLDERDIRECTORYPATH"

NOTE: Change theTHEFOLDERDIRECTORYPATH part of the above command to the actual path to the file for scanning.

Hence, the command will look like this:

Start-MpScan -ScanType CustomScan -ScanPath "C:THEFILEDIRECTORYPATH.extension" 3] Scan a specific file or folder with Microsoft Defender using Command Prompt

You also need to run Command Prompt as an Administrator to scan files or folders with Microsoft Defender. Therefore, press the Windows key and search for cmd.

cd c:ProgramDataMicrosoftWindows DefenderPlatform

The above command takes you to the Platform folder of Windows Defender. The next step is to determine your latest version of Microsoft Defender.

Type in the following command and press ENTER.


On running the above command, the Command Prompt displays the version number of the antivirus. Take note of this number.

The next command to run in Command Prompt will use the version number from the above step. Type cd, paste the number you copied, and press ENTER.

So, it will look like this:

cd 4.18.2011.6-0

Next, type the following command in Command Prompt and hit ENTER. This command scans the specified folder:

mpcmdrun -Scan -ScanType 3 -File "C:PATHTOFOLDER"

NOTE: Change the C:PATHTOFOLDER  area of the above command to the path to the folder you want to scan. If you wish to scan a specific file, not a folder, change the path to that of the file. In this case, the command will end with a file extension and be in the following format:

mpcmdrun -Scan -ScanType 3 -File "C:PATHTOFILE.extension"

Hope this helps.

You're reading How To Manually Scan Individual Files And Folders Using Microsoft Defender

How To Find Hidden Files And Folders On Windows

When you open a folder in Windows File Explorer, you expect to see the full contents — all the files, all the sub-folders. That isn’t necessarily true, however. If the folder you’re looking in contains hidden files or folders, Windows won’t show them unless you’ve enabled hidden file view in File Explorer. 

If you want to know how to find hidden folders on Windows 10 and any hidden files contained within, you’ll need to use some of the methods we’ve listed below. This includes using secret search tools in File Explorer and Windows PowerShell to locate them, as well as using third-party alternatives like FreeCommander.

Table of Contents

How to Find Find Hidden Files and Folders on Windows 10 Using File Explorer

In the new File Explorer window, open the folder (or drive) that you’re looking to search. Using the search bar in the top right, type attributes:H and select the enter key to begin the search. This searches for all files and folders within that folder that have the hidden file attribute applied to them in the Properties menu. 

If you want to customize the search further, you can add a file or folder name (or partial name) to the search. To do this, type the file or folder name before or after the attributes:H parameter in the search bar (eg. file attributes:H). If you want to search for partial match, you can use a wildcard (eg. fil* attributes:H) to do so.

Searching for Hidden Files and Folders Using Windows Powershell

While the File Explorer method above offers the easiest way to find hidden files and folders on Windows 10, it isn’t necessarily the quickest. If you want to quickly search through your PC for any files you’ve missed, a good alternative is to use the Windows PowerShell to do so.

You can also use the newer Windows Terminal, but PowerShell remains the default option for Windows 10 users. The commands below are PowerShell specific and won’t work with the older Command Line.

In the new PowerShell window, move to the folder or drive you wish to search. For instance, typing cd C: will move you to the root (first) folder on the main system drive, allowing you to search the entire drive. 

Typing cd C:Program Files means that the search you perform will only work through any files and sub-folders contained in the Program Files folder. Once you’ve moved folders, type ls -Force to view a list of files and folders contained within (including any hidden files or folders).

This will search for all hidden files and sub-folders in your current folder position and list them in the PowerShell window.

If you’d prefer to list a folder directory to begin the search, add -Path location to your command after Get-ChildItem, replacing location with a suitable file path. 

If PowerShell locates a large number of hidden files and folders, the PowerShell terminal output will scroll through the entries rapidly, making it difficult to analyze. To make this easier, you can save the output of the Get-ChildItem command to a text file, allowing you to search through and review at your leisure. 

If you’ve created a log file, you can view the contents in the PowerShell window directly by typing cat chúng tôi (replacing chúng tôi with the correct file path and file name). You can also open the file as normal using File Explorer and Notepad.

Locating Hidden Files and Folders Using Third-Party Apps

The best methods for finding hidden files and folders on Windows are to use File Explorer or Windows PowerShell as explained above. If these methods are too slow or don’t offer the complex search criteria that you need, you can use third-party apps to search your PC for hidden files as an alternative.

While various tools exist that support this, one good option is to use the freeware FreeCommander tool. This File Explorer replacement includes a powerful search tool that allows you to locate hidden files and folders on your PC.

In the Search files/folders window, enter the search criteria for file or folder names in the File name box, located in the Location tab. You can use full file names or find partial matches using a wildcard (eg. file or fil*).

Select the Timestamp/Size/Attr tab next and make sure to select the Hidden attribute checkbox so that a tick is visible. Leave all other checkboxes with a solid black check (ensuring that they’re included) or select them twice to uncheck them and remove any files containing those attributes from your search.

Select any other search criteria that you require in all the available search tabs. When you’re ready to begin your search, select Find to begin.

Managing Your Files on Windows 10

Knowing how to find hidden files on Windows 10 is easy — once you know where to look. Whether you use File Explorer, Windows PowerShell, or third-party apps like FileCommander to get the job done, the steps above should help you locate your previously hidden files and folders.

How To Delete Locked Files Or Folders

How to delete locked files or folders






Try Outbyte Driver Updater to resolve driver issues entirely:

This software will simplify the process by both searching and updating your drivers to prevent various malfunctions and enhance your PC stability. Check all your drivers now in 3 easy steps:

Download Outbyte Driver Updater.

Launch it on your PC to find all the problematic drivers.

OutByte Driver Updater has been downloaded by


readers this month.

Computers are designed to be smarter than the people who use them. And for the majority of times, they indeed are, helping us to execute wildly complex tasks faster and with remarkable efficiency. But sometimes they confound us by failing to complete tasks that seem straight forward even to us.

An example is when your Windows computer refuses to delete a file or folder. Other times it will also refuse to move or rename a file. The computer will give you different reasons for refusing to delete your selected file. It will tell you:

The file, its source, destination or directory may be in use by another program

Access is denied

There is a sharing violation somewhere

That the file is unreadable or is corrupted, etc.

Of course, if the computer tells you the file is open in another program, usually one you have opened yourself, closing that program first should unlock the file or folder for deletion. That should be straight forward. But there are cases, as with some background processes, where you can’t immediately tell which program currently has the file open.

How to delete locked files

Just to be sure, Windows system files are locked for a reason. In case you end up in the Registry while trying to fix something, avoid deleting any files or folders there. If unsure what to do, consult a professional. But for locally stored files that you know are safe to delete, but for some reason won’t oblige, there are a few tricks you can try;

Solution 1 — Restart your computer

Sometimes exiting the programs you are in and restarting your computer maybe all you need to delete a stubborn file. Restarting the computer reboots your system and clears it of any temporary bugs that may have locked your file.

But when it is the Windows startup program itself that is locking your file, simply restarting the computer may not unlock it. If you notice restarting the computer isn’t doing the trick, try restarting it in safe mode and deleting the file, before considering other fixes. You can switch back to normal mode after you have deleted the file.

Solution 2 — Use Windows’ Command Prompt

A quick way to force file deletion is to go the CMD route. Open the Run dialog box, type in cmd, and hit the enter key. Once you are in command prompt, type del /f file name and press enter key.

Expert tip:

Solution 3 — Use third party file deleting software

Another way to delete a locked file is by using third party software that’s specially written for the purpose. There are several options available, but Unlocker is a popular one. Some of these will also make it painless to rename and move locked files.

Most third party software for deleting locked will require you to download and install them on your computer. However, there are others, like the Process Explorer task manager, are portable and won’t require you to install them on your machine.

Process Explorer is particularly useful as it also shows you which processes are currently running at a given time, as well as the processes’ owning accounts.

The Process Explorer software gives you greater insight into the Windows OS. Among other functions, the tool can tell which process is running any open window, suspend or kill a running process, and, importantly, figure out which process has locked the file you are trying to delete.

Any one of the solutions we have discussed here should help you delete any file you may have been struggling with and, hopefully, put you back in command of your machine again. If you find this problem cropping up repeatedly, you should consider cleaning your computer. There is always a possibility a stubborn bug or virus attack could be messing with your files.


Was this page helpful?


Start a conversation

How To Hide Files And Folders On Your Android Device

Let’s explore how to do this using a trick in the Android OS as well as an app that can help.

How to Hide a File or Folder in Android

First of all, to do this trick, we need a file explorer app. Your favorite app should do the job, but before we get started, prod around the settings of the app and double-check if you have an option to “show hidden files” or “show system files.”

While not essential, it makes it easier to modify and access these hidden files and folders. For the sake of this tutorial, we’ll be using FileExplorer. Not only can it show hidden files, but it’s generally a good tool all around!

Once you finalize the naming, the file or folder may suddenly vanish. Don’t worry, it’s still around – you just hid it! If you want to see it again, go into the file explorer’s settings and enable the option to make hidden/system files visible again.

Why Does this Work?

The reason things vanish when you add a period to the start is down to how Android (and Linux) handles files. You may not have seen them before, but within your Android phone are lots of system files that are necessary to keep everything running.

To prevent users from accidentally deleting or renaming these files, Android uses a special feature where any file beginning with a period is hidden from view. Then, every system-important folder has a period appended to the start to hide it from the user.

When you rename a file or folder this way, this triggers the hiding feature used for system files. As such, Android believes it’s something that should be hidden, so it hides the file away.

Using an App to Hide Photos and Videos

If you want, you can go even further and use a third-party app to hide your photos and videos. Hide Something allows you to select the media files that you want to hide, then stash them away in a hidden section. You can still see the items via the app, but they’re hidden from the file system. Set a password for the app, and you’re good to go!

If you think someone will get suspicious of the app sitting around, you can get the premium version to hide it. The premium version disguises Hide Something so it looks like an innocent calculator app, which unlocks the real thing if you enter a passcode.

If you are really concerned about your privacy, you should also check out these privacy-focused browsers for your Android phone, and learn how to share your phone with others without compromising your privacy.

Simon Batt

Simon Batt is a Computer Science graduate with a passion for cybersecurity.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Share Files And Folders Over A Network In Windows 11/10

Windows, like any other OS, allows you to share files with other users over a network. If you want to share Files and Folders over a Network in Windows 11/10, permanently or tentatively, we will tell you exactly how you can do it with easy steps.

Share Files & Folders over a Network in Windows 11/10

To share files and folders over a Network in Windows 11/10, you can follow any one of these methods:

Use the Share Tab in File Explorer

Sharing Properties of File and Folders

Advanced Sharing

Manage all shared folders using Compmgmt.msc (Computer Management)

Make sure to keep a tab on files you share, and with whom you are sharing it.

Hover your mouse over Give access to

It will open the Network Access window where you can select a user and assign permission

Once you add a user, the default permission is Read. You can change it to Write

The process which we see here, where we assigned users and added them, it remains the same for the rest of the methods below.

2] Use the Share Tab in File Explorer

Open File Explorer

Navigate to the folder or file you want to share, and select it.

On the Ribbon menu, switch to Share

Completely stop sharing

3] Sharing Properties of File and Folders

Switch to Sharing tab. Here you have two options—Share and Advanced Sharing. The later will be dealt with in the next part.

This tab displays if the folder has been shared earlier or not.

4] Advanced Sharing

Advanced sharing offers a lot of options.

Set a name which is different than the actual folder name

Set number of simultaneous access

Permissions and Caching

Let’s talk about how you can customize it.

Permissions for Shared Folder Caching Files and Folder

Only the file and programs which users choose to be available offline

None of them is available offline

All are available offline as soon as they access it. You can choose to optimize for performance.

Remember caching is when you want the files to be available offline. If you do not want that, configure it accordingly.

5] Manage all shared folders using chúng tôi (Computer Management)

Now that you have shared folders, how do you keep track of it? One of the popular methods is going to your Network section, and find those folders; the other way is using chúng tôi (Computer Management). It will allow you to manage all files and folders centrally. However, you will need admin privileges. It also allows you to find all the shared folders by other users as well.

Type chúng tôi in the Run prompt, and open the Computer Management. Here you get access to System tools which also includes Shared Folders, Disk Management, Services, and WMI control.

It will list down all the folders which are shared from this computer. It will only display the share name, and not the real name if it’s configured.

That said, this option is not available to everyone; so here is how you can manage all shared folders.

We hope the tutorial was easy to follow, and you were able to clearly understand to share Files and Folders over a Network in Windows 11/10.

Read: How to stop Sharing a Folder in Windows 11/10.

How To Create And Scan A Spotify Code

Do you love to share music with your friends? Whether it’s a new song or your favorite mix, sharing music on Spotify is not only fun, but easy as well. 

What you might not know is that Spotify offers a super simple way to share music. You can create a Spotify code for a song, album, playlist, artist profile, band profile, or even a podcast. Then share that code with a pal who can enjoy that shared item, too.

Table of Contents

Here, we’ll show you the different ways you can create this barcode-like image and then scan Spotify codes if you receive them yourself.

Create a Spotify Code in the Mobile App

You can grab a code from the Spotify app to share with a friend via email or text message.

Open the Spotify app on your iPhone or Android device.

Navigate to the item you want to share. This can be a playlist in Your Library, an album you searched for, or a song you recently played.

Tap the three dots for the item to open More Options.

You’ll immediately see the Spotify code on the next screen. Tap the code to save it to your photos or capture a screenshot of the code (depending on your device).

You can then share the Spotify code like any other image and help your friend to listen to a song, playlist, or podcast with you!

Create a Spotify Code on the Web Obtain the Spotify URI

To create a code on the web, you’ll need to get the Spotify URI for the item you want to share. This is probably easiest if you have the Spotify Web Player open in another browser tab, although you can copy the URI from the desktop app too.

Select the three dots next to an item to display More Options.

Move your cursor to Share and choose Copy Spotify URI. If you don’t see this action, press and hold your Alt key on Windows or your Option key on Mac to display it in the pop-out menu.

With the URI copied to your clipboard, follow the next set of steps to create and customize your Spotify code.

Create the Spotify Code

With your URI ready to paste, you’ll head to a specific Spotify Codes site to create your code. You don’t have to sign into your Spotify account to create the code.

Select Get Spotify Code and you’ll see the code and customization options open on the right side.

You can choose a Background Color or enter the hex code for an exact color. Then, choose the Bar Color from white or black, enter a Size in pixels, and pick a Format for the image from JPEG, PNG, or SVG.

When you finish, hit Download to save the image to your computer. 

You can then post your code on social media, send it via email, share it in text message, or whatever you like.

Scan Spotify Codes

If you’re on the receiving end of a Spotify code, you can currently only view the item being shared with you using the mobile app. Scanning a Spotify code is similar to scanning a QR code to open an item. Follow these steps to scan and use Spotify codes.

Open the Spotify app on your iPhone or Android device.

Go to the Search tab at the bottom.

Tap the Camera icon at the top or tap inside the Search bar to select the Camera icon. You may be asked to give Spotify access to your camera first.

To scan the Spotify code, simply capture it in the frame on your screen. If you happen to save a code to your device photos, choose Select From Photos and browse for the image. You should see that item instantly pop open.

A Spotify code gives you a handy way to share the music you enjoy. Hopefully, you’ll check out this feature and maybe even receive a Spotify code in return!

Update the detailed information about How To Manually Scan Individual Files And Folders Using Microsoft Defender on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!