Windows 10 users generally download and install applications from its own integrated application store, but the number of applications installed can easily cause the C drive to be strained, so many people will set the application save location to a non-system partition (such as E drive). Although this saves us time, we will not be able to directly delete the folders generated by applications (such as “E:WindowsApps”, etc.) after system reinstallation or hard drive replacement to restore the default application settings, because these folders are protected by the system by default. The following method for you can solve this problem.
First of all, we need to check which partition your application is saved to, type “Storage Settings” in the desktop search box, open the settings window and click “Change where new content is saved”, then check the window that opens Then check the actual location of the “New application will be saved to” in the window that opens, for example, the E drive in my case (Figure 1).
Figure 1 View application migration location
After completing the above operation, you should determine which folders the system will generate after changing the application save location. For example, in my case, after the application save location is set to E drive, by default, “Administrator” (i.e. the folder with the same name as the current login user name), “WpSystem”, “DeliveryOptimization”, and “DeliveryOptimization” will be created in the root directory of E drive. DeliveryOptimization”, “WUDownloadCache”, “Program Files”, “WindowsApps”, etc. “WindowsApps” and other folders (you can just sort the folders by their creation time and view the ones created at the same time, Figure 2).
Figure 2 View the newly created folders
The main reason why these folders cannot be deleted directly is that the current account does not have enough permissions, so the solution is to upgrade user permissions. In addition, to delete these folders, make sure that the applications saved in “E:WindowsApps” are uninstalled first.
To get full administrator privileges for this folder, you can open https://www.cnblogs.com/freeweb/p/4381367.html, copy the code in it to Notepad and save it as “aa.reg” file to the registry, so that you can add it to Right-click on “E:WindowsApps” and select “Get Permissions” (Figure 3). After obtaining permission, you can perform the deletion operation.
Figure 3 Getting Permissions
Take my own computer as an example, after opening the above folder, I see that the QQ application is saved here (Figure 4). Find QQ on the Start menu and uninstall it. Do the same as above to get full control over the above folders, and then use the Delete command in the context menu to delete them in turn.
Figure 4 View applications
Of course, the above operation is rather tedious, if you use the default system settings directly after reinstalling Windows 10, then you can open Explorer and delete all the folders directly using the format E drive method, just be sure to backup the relevant information before formatting.