You are reading the article How To Delete Winsxs Folder On Windows 10 updated in February 2024 on the website Daihoichemgio.com. 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 Delete Winsxs Folder On Windows 10
Users who have been using Windows 10 for years are well aware that the available disk space of the OS drive reduces over time for no apparent reason. It becomes even worse if you are using your computer for a longer time without any maintenance. The culprit that you are looking for is the WinSxS folder sitting inside the OS drive. Microsoft calls it “Windows Side By Side” or loosely the component store. The folder contains all sorts of system files that are used to fix various issues on your Windows PC. However, the folder size keeps eating the crucial space and that is the pain point of most users. So in this article, I will share an easy way to delete the WinSxS folder without affecting your PC’s stability. Now having said that, let’s get started.What Exactly is WinSxS Folder?
Before moving forward, let’s go through some crucial points. First of all, you can’t delete the WinSxS Folder entirely, but you can definitely reduce its size. The reason is that the WinSxS folder contains many important libraries and components of the operating system which are required to resolve OS related issues. So, in a way, one should not touch the WinSxS folder as it’s there to keep our PC safe and sound.
However, the point is that the WinSxS folder keeps getting larger over time and if you are using a machine for years then the folder would take around 40% of your OS drive which is completely insane. So, what exactly is happening in that folder? Actually, besides OS components, Windows also keeps update files in the WinSxS folder. So, whenever you get a new update, files are downloaded and stored in case you encounter an issue in the future and want to roll back to an earlier build. Basically, every time you get an update, the files are accumulated in that folder resulting in an incredibly higher size of the OS drive.
Steps to Clean Up WinSxS Folder
We will go through a two-step process to complete this task. First, we will use an internal tool and then move to a manual cleanup method. Now having said that, let’s begin.
Reduce Folder Size Using the DISM Tool
We are going to use the DISM Tool (Deployment Image Servicing and Management) to clean up the folder. DISM tool is used to keep the Windows image intact and prepare for recovery environments.
dism /Online /Cleanup-Image /AnalyzeComponentStore
3. Now, execute the second command to finally start the cleanup process. After the process is completed, you are done. The WinSxS folder should free up considerably.
Note: The process may take some time so keep patience.dism /online /Cleanup-Image /StartComponentCleanup
Delete Update Files Using Disk Cleanup
This should sufficiently release storage on your Windows machine and make it faster. One thing to note here is that sometimes if the PC is too old, it’s better to just reset Windows 10 to get a clean start. Do remember to take a backup of your Windows 10 PC before you go through the resetting process.Delete WinSxS Folder and Regain Space
You're reading How To Delete Winsxs Folder On Windows 10
Missing storage space is always a problem in Windows 11/10. Users keep reporting about disappearing hard disk space, and even with extensive search, it becomes impossible to find what is taking space.
The funny part is that even File Explorer may show that a disk has plenty of disk space available, but the disk in Disk Management shows it is full. If there are no other files that are taking space, then it can be because of Volume Shadow Copies. In this post, we will show how to delete Volume Shadow Copies in Windows 11/10 and free up disk space.What is Volume Shadow Copy?
Volume Shadow Copy is a feature in Windows that creates snapshots or shadow copies of disk volumes. One known example is System Restore Point. Every time you create one, it will create a copy. So it is an excellent tool if you want to recover deleted files.
If you want to see how many copies you have per drive, then use the Shadow Explorer software. It is free software that offers File Explorer view and displays all the Shadow copies. You can even use it to retrieve old copies of files if you deleted some.Delete Volume Shadow Copies in Windows 11/10
Why Shadow Copies could result in more trouble, is because of leftover shadow copy files. Some backup software will create a persistent shadow copy, and after they have backed up the shadow copy to the designation, they fail to delete the original copy that is stored on the volume. If you do not need these shadow copies, then there are a couple of ways you can delete them.
VSSAdmin Delete Shadow Copies command
Limit Shadow Storage
Limit System Restore Size
Disk Cleanup Tool
Check Backup Configuration
Make sure to read all of them and follow the method which works best for you.1] Vssadmin Delete Shadow Copies command
This command displays current volume shadow copy backups and all installed shadow copy writers and providers. You can add, create, delete, even delete service providers.
Open Command Prompt with admin privileges by typing CMD in the Run prompt (Win +R) and press the Enter key
Execute the following command, where F is the drive letter where you are running out of space:Vssadmin delete shadows /For=F:
It will delete all the shadow copies from that drive.
If you want to delete only the oldest copy, use the /oldest option.2] Limit Shadow Storage
Vssadmin also offers a command to resize the shadow storage space. You can specifically maximum size for each partition on your computer. Using the vssadmin command, which we used above but with different options, you can set size by percentage or ser it exact storage space.
vssadmin Resize ShadowStorage /For=C: /On=D: /MaxSize=900MB vssadmin Resize ShadowStorage /For=C: /On=D: /MaxSize=UNBOUNDED vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=20%3] Limit System Restore Size
If the System Restore is turned on for a drive, then there is a certain percentage of the drive which is dedicated to System Restore. When the size goes beyond that, the old one gets deleted. If you are in a crunch of space, then you can choose to reduce it to the minimum possible level. Once you do that, all old copies will be automatically deleted.
Type System Restore in the Start menu search bar.
Select the drive for which you want to reduce the space occupied by shadow copy files
Do note that even if the System Restore is 5%, it could be substantial if your disk is of a large capacity.4] Disk Cleanup Tool
Select the partition for which you want to delete the Shadow Copies
In the next window, switch to more options, and it will have the option for “System Restore and Shadow Copies.”
Read: Free up disk space by deleting previous System Images and Backups.5] Check Backup Configuration
When using third-party software, these Shadow copies are also backed up. So if you recently restored from a backup, and you are running out of space for no reason, then it’s best to rerun the commands to delete those shadow copies. That said, you may also want to check if the backup-restore software offers an option to skip Shadow copies. It will also help to reduce the overall backup size.
Volume Shadow Copies are essential. They offer a way to restore files, which comes in handy, especially when you don’t have a backup software in place. However, when you are running out of space, then this post helps to delete the Shadow copies. Make sure to follow these is with admin permission.
This post will show you how to move all files from subfolders to main folder in Windows 11/10. It’s a very time-consuming process to move multiple subfolders containing files into a single folder. Fortunately, Windows offers some in-built features for moving or copying all files from subfolders to the main folder. Keep reading this post to learn about these features.Move All Files from Subfolders to Main Folder in Windows
Follow these methods to move all files from subfolders to the main folder:
Using Command Prompt
Using File Explorer
Using Batch File
Let’s now see these in detail.1] Using PowerShell
Here’s how you can move files from subfolders to the main folder using PowerShell:
Open PowerShell as an Admin.
Type this command and hit Enter. New-Item -ItemType Directory -Path "FolderPath"
This command will create a new folder where the files will be moved. Replace FolderPath with the location’s path where you want to create the folder.
Now, type this command and hit Enter: Set-Location -Path "SubfolderLocation"
This command will modify the current directory to the source folder containing subfolders to be transferred. Replace SubfolderLocation with the subfolder’s location.
Finally, run this command to copy all the files in the subfolders to a main folder. Here, replace MainFolder with the destination folder’s location.2] Using Command Prompt
Follow these steps to move or copy files and folders using Command Prompt:
Open Command Prompt as an Admin.
Type the following command and hit Enter. This will create a new folder for moving or copying the files. Make sure to replace MainFolder with the path where the folder needs to be created. md "MainFolder"
Once the destination folder has been created, you need to modify the current directory to the source folder containing the subfolders. Run this command to do so. Make sure to replace SubFolderpath with the subfolder’s path. cd /d "SubFolderpath"
Finally, run this command to copy all the files in the subfolders to a main folder. Replace MainFolderPath with the destination folder’s path. for /r %d in (*) do copy "MainFolderPath"
Note: In the final command, you can replace copy with move if you want to move the files instead of copying them.3] Using File Explorer
In this method we’ll be using the File Explorer to move files from subfolders to a main folder. Here’s how:
Open the File Explorer and navigate to the folder containing subfolders to be moved.
Type the following command in the search bar and hit Enter. This command orders the File Explorer to exclude all folders from the search results, i.e., only the files will appear. *.* NOT type:"file folder"
Now, press CTRL + A to select all the files and cut or copy these files as per your preference.
Navigate to the main folder and press CTRL + V to paste all the files.
Read: Can’t drag and drop files or folders in Windows4] Using Batch File
Creating and running a batch file will run different commands to move files and folders from one location to another. Here’s how:
Open Notepad and paste the following code: @echo off set SOURCE_FOLDER=FolderWithSubfoldersPath set DESTINATION_FOLDER=MainfolderPath if not exist "%DESTINATION_FOLDER%" ( mkdir "%DESTINATION_FOLDER%" ) for /r "%SOURCE_FOLDER%" %%f in (*) do ( move "%%f" "%DESTINATION_FOLDER%" ) echo All files have been moved to %DESTINATION_FOLDER%. pause
Now save this file with a .bat extension. Ensure to replace MainfolderPath with the destination folder path and FolderWithSubfoldersPath with the subfolders folder path.
Voila, you’ve now successfully moved all files from subfolders to the main folder in Windows.
Read: No Duplicate Warning when Copying or Moving Files and Folders
We hope this post helped you.Is there a way to move files from multiple folders at once?
Yes, Windows offers multiple features for moving files from various folders simultaneously. You can do so by running the *.* NOT type:”file folder” in file explorer and copying and pasting the files. Other than that, using Command Prompt and PowerShell can also make it work.How to remove all files from subfolders and relocate them to one folder?
You can remove all files from subfolders and relocate them to one folder simply by pressing CTRL +A to copy them and CTRL + X to cut them. Then navigate to the destination folder and press CTRL + V to paste the files.
Are you trying to delete some unwanted folders from your Windows 11 PC and getting the “Error 0x80070091: The directory is not empty” warning? Do you also see the same error message when trying to delete an empty folder? You can quickly fix the issue and get going with your work by trying the troubleshooting methods mentioned below.
There are many problems I’ve come across while working the computer help-desk. One of the common issues I’ve encountered is one that involves folders not deleting properly. When this issue occurs, an error message appears that says “Cannot Delete foldername: The directory is not empty“.
This problem can happen in Windows 11, 10, 8, 7, and other earlier operating systems. The problem can usually be solved with a chkdsk scan. However, you may also perform other troubleshooting methods if the chkdsk command doesn’t work.What Is the Directory Is Not Empty Error?
As the name suggests, this is a Windows File Explorer process that stops someone from deleting a folder or directory that might contain important files. Also, if a folder contains .DLL or other runtime files of an app and the app is running, the “Error 0x80070091: The directory is not empty” warning message will pop up. Interestingly, you might see the same error when you’re trying to delete certain folders inside the Windows installation drive.Reasons Behind the Directory Is Not Empty Error
There are many reasons behind this error but the most important ones are:
HDD or SSD or NVMe SSD bad sectors in the partition where the folder exists
An active app is using the content of the folder
The folder is empty but there are hidden runtime files used by Windows or other apps
Also read: How to Install an NVMe SSD in a Desktop and LaptopHow to Fix the Directory Is Not Empty Error in Windows 11
There are many ways to resolve the Error 0x80070091 warning message and delete the folders and files you want to delete on Windows 11. However, there’s no straightforward fix. The resolution is fully dependent on the exact reason the directory is not empty warning when trying to wipe clean some space in Windows 11.Method 1: Fix Error 0x80070091 by Running CHKDSK:
If you used a drive letter in the command above, you will get a prompt about dismounting the drive. Type Y for Yes and press Enter.
“Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)”
Type Y for Yes and press Enter on your keyboard.
Nothing will happen just yet. You’ll have to restart your computer, to let the scan run. Once the scan is completed, try to delete the folder. You should be able to delete it just fine because CHKDSK has fixed the errors preventing it.Method 2: Create a New File
You can add a new file inside the folder to remind the Windows system that you got full control over the directory or folder. Simply, go inside the folder and follow these steps:
It would show several file options. From the list, choose Microsoft Word/Excel Documents.
Give the newly-created file a random name.
Now, go back to the parent directory, select the target folder, and press Shift + Delete to erase the folder and its content.Method 3: Append ! to the Directory Name
You can try a quick workaround which is renaming the folder with an exclamation mark at the beginning. Simply select the folder and press the F2 button on the keyboard. Press the Home key and type the ! mark before the actual folder name. Press Enter to confirm the change. Now, try deleting the folder by pressing Shift + Delete or simply Delete.Method 4: Delete the Folder Using a Terminal Command
You can force delete the target folder by using a terminal app and executing some commands from the WinRe environment. Follow the steps below:
Restart the device by pressing the Shift key.
On the blue screen menu, open a Command Prompt window by following these steps:
Now, execute the following command inside the terminal:
rmdir /s “folder path”
You must replace the text folder path with the exact location of the directory or folder you want to delete. For instance:
rmdir /s “C:Test”
Hit Enter and the terminal should easily erase the folder and its content.Method 5: Force Restart the Windows File Explorer Utility
A minor bug or program code issue in the Windows File Explorer tool can stop you from performing related tasks like deleting folders and files. Execute the following steps and then try to delete the target folder:
Hit Ctrl + Shift + Esc buttons altogether to launch the Task Manager app.
The screen will become black for a few milliseconds.Method 6: Use the System File Checker Tool
Suppose the folder you want to erase is in the C: drive, you can run the System File Checker tool to fix any file system issues. Then you can attempt to delete the folder. Here’s how you can run the tool:
Open Command Prompt with administrative rights.
Now, copy and paste the following command into the terminal app and hit Enter:sfc /scannow
Once the scan is complete, go ahead and try to delete the folder you want to erase.Method 7: Change the Write Permission of the Target Folder
Though unable to delete issue when you don’t possess the write access, is different. Sometimes, Windows 11 may show the “The directory is not empty” error too. In such a situation, follow these easy steps to fix the write access issue:
Checkmark the Replace owners checkbox as well.
Try deleting the folder and this should work just fine.Method 8: Perform a System Scan Using Microsoft Safety Scanner
Safety Scanner by Microsoft empowers you to hunt down malware and wipe those trouble-makers from your Windows 11, 10, 8, and 7 PC. You can download the app for free using the given links below. Once downloaded, install the app. Run the app and follow on-screen guidance to perform a malware scan. Once the scan is complete, the tool will guide you on how to get rid of any detected malware.Method 9: Reboot Into Safe Mode
Sometimes Start Up programs and third-party apps may link their processes to certain drives, directories, folders, and files. And Windows 11 won’t let you delete any of these components if any program is already using the storage volume. The best way to fix this is to restart Windows PC in Safe Mode. Here’s how you can do this on your Windows system:
Open the Start menu and press the Shift key.
Choose Troubleshoot and go to Advanced options.
Press the number four or F4 on the next screen that shows up after the system restart.
You should now be in Safe Mode.
Go to the folder and try to delete it.
Reboot the PC to go back to normal mode.Method 10: Perform GUI HDD Error Checking
Online research suggests that many Windows 11 and earlier computer users were able to fix the issue by performing a GUI-based disk checking. Here’s how it’s done:
Go to This PC or My Computer.
Select the drive or partition on which the target folder is available.
Select the Check button under the Error checking section.Conclusion
These are some of the ways to erase an empty or unwanted folder from your Windows 11 PC when you see the “Error 0x80070091: The directory is not empty” or simply the “The directory is not empty” warning. You must try the methods following the steps mentioned and attempt to delete the folder or directory after completing each method.
Next up, resolve the request is not supported and Windows Error 0x80071160 problems on Windows 11 PCs.
When Discord was released, it changed the concept of instant messaging and group chats forever. A decade before it existed, you might have found yourself using AOL Instant Messenger, MSN Messenger, or the newer Skype—two of which no longer exist, and the latter of which has suffered greatly from Discord’s popularity.
Before Discord, we never knew what it was like to have a messaging service permanently store our conversation history in the cloud. To locally store running logs on AIM or MSN, you’d need some sort of a third-party plugin. On Skype, text logs are now kept in the cloud for just 30 days.
Table of Contents
To some, holding onto message history forever is a great thing. For others, it’s a nightmare. In January of 2023, Discord outlined how they’re able to store billions of messages in a blog post, and it seems like this policy won’t be changing any time soon. Discord also offers no way for users to mass delete their DM history on Discord.
So, what happens if you’ve sent thousands of direct messages and decide you no longer want them to exist forever? There are several solutions, but none of them are perfect.Deleting Discord DM History on Discord With Hotkeys
The most intuitive way to delete a Discord message is by
However, this requires consistent use of the mouse, slowing down the process tremendously. Therefore, you should know about the sequence of keyboard commands that mimic this procedure.
Here’s a breakdown of the sequence:
Go into a Discord DM.
Press Up once to select your most recent message.
Press Up again to activate the editor.
Press Ctrl + A to select all of the text in the field.
Press Backspace to delete the text.
Press Enter once to confirm the edit.
Press Enter again to confirm deletion on the prompt.Deleting Discord DM History With AutoHotkey
Now that we’ve established that DMs can be deleted without using the mouse, that opens up the possibility of automating the process with a simple AutoHotkey script.
We’ve covered AutoHotkey in the past, such as our HelpDeskGeek article on five of the most useful AutoHotkey scripts, and installing the application is free and only takes a minute. However, this option is only available to Windows users as AutoHotkey does not currently work on macOS.
Ideally, you’ll want the following things from your AutoHotkey script:
A toggle key for turning it on and off
The full keyboard sequence with pauses in between each step
A way to continuously load earlier messages
Here is an example script I’ve written:
This script uses the F1 key as a toggle to enable or disable message deletion. For this to work, you need to already be in an active DM window before toggling the script on. The pauses (Sleep) between each keypress are so that machines with less processing power don’t get ahead of themselves and skip a key. If you find that this script runs but is behaving strangely, try increasing the value of each Sleep at increments of 50.
There is a caveat to this script though, which is that it will break upon reaching a Discord call message. Here is what those look like:
Reaching one of these messages will prevent you from pressing the Up key to select your previous messages before it. However, improvements to the script may be possible that allow a workaround for this.Deleting Discord DM History With Bots
Let us first clarify that we will not be providing instructions on how to use a Discord bot to delete your DM history, but we are letting readers know that this is possible.
In the past few years, Discord has gone from discouraging the use of self-bots to outright labeling it as a violation of its terms.
That being said, using self-bots puts your account at risk of termination, so we cannot suggest doing it. However, many users report that using self-bots for purposes that aren’t public, disruptive, or harmful has never led to reprimand from Discord. Make a decision at your own discretion.
A self-bot is simply a user account running on a Discord API token. Today, Discord requires that bots are tracked and tagged through its Developer Portal. A self-bot circumvents this and gives a standard user account access to making API requests, allowing them to automate a wide range of tasks. Deleting messages is one of them.
The Discord API currently supports a POST request that fires a Message Delete Bulk gateway event, allowing bots to quickly delete all messages that are less than two weeks old. Older messages can be queued and deleted individually (at a rate limit).
How to get iMessage on Windows 10
iMessage needs little introduction for Apple fans.
If you’re smitten by this product and were looking for a way to incorporate it in your Windows 10 device, you will be please to know there’s a way – check it out here.
Stay up to date with all the latest tendencies thanks to our Windows Apps page.
Explore our Tutorial Guides as well for more tech tips and tricks.
INSTALL BY CLICKING THE DOWNLOAD FILE
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.
Apple fans out there know by heart what iMessage is. For those that have been die-hard Windows users from the dawn of time, suffice it to know that it is an instant messaging service developed by Apple Inc.
The service has been available for years now, and it is supported by the Messages application in iOS 5 and later and OS X Mountain Lion and later.
Many users love the design of the product and the way it handles messaging, so it goes without saying that many have attempted to bring it to Windows 10 as well.
These attempts come in the form of browser extensions that access web services or using emulators. However, these came with their own share of limitations.Zen, the iMessage client for Windows 10
Zen is the first cross-platform, amnesic-secure iMessage client and server for Windows 10 will soon be available for Windows 10 users.
The developers described the program as:
[…] the server, Zen Bridge, runs perfectly on old, outdated Apple laptops and Mac Minis collecting dust. For a more ‘cloud’ approach, we’ve also had success with visualized Macs running on genuine Apple servers (which would not break Apple’s TOS, your iCloud will happily sign into it). Some VPS providers offer this for as low as $12 a month
As you can see for yourself, the selling point of this new client and the server support that comes with it is the extremely low cost. This comes from both low-maintenance costs and the fact that you can even run it on otherwise dated hardware.
Developers were kind enough to share some screenshots of the app, and it looks extremely lean and minimalist, in keeping with iMessage’s traditional design.
Additionally, everyone is free to visit their website and test out the product, as well as see it developed.Some users expect a backlash from Apple
Unfortunately, not everyone is as enthusiastic, as some Reddit users believe that Apple will soon shut down the product:
Sadly, probably going to be shut down by Apple, just like every product of similar nature.
This is mostly because Apple has a history of shutting down any project that seems derivative of Apple’s own work. Whichever the case, the idea is bold.
More so, the fact that it is available to users of all major OSes gives it great potential and availability.
Was this page helpful?
Update the detailed information about How To Delete Winsxs Folder On Windows 10 on the Daihoichemgio.com 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!