{"id":1574,"date":"2018-07-19T11:24:55","date_gmt":"2018-07-19T11:24:55","guid":{"rendered":"https:\/\/www.iseepassword.com\/blog\/?p=1574"},"modified":"2023-10-10T10:50:02","modified_gmt":"2023-10-10T10:50:02","slug":"force-to-delete-file-folder-windows","status":"publish","type":"post","link":"https:\/\/www.iseepassword.com\/blog\/force-to-delete-file-folder-windows\/","title":{"rendered":"2 Ways to Force to Delete File or Folder on Windows 10\/8\/7"},"content":{"rendered":"<p><span style=\"font-family: arial, helvetica, sans-serif\">You have a certain folder in your computer and now when you wish to remove it hard disk, it does not seem to budge at your command. No matter how hard you try, it does not seem to be removed completely. After every deletion attempt, it comes back again without a reason. These kinds of issues are quite common when your system is heavily attacked by malwares and viruses. The files are corrupted by the viruses and every time you try to delete it, it creates a duplicate copy of itself to remain within the system. At times it might not appear to a serious issue, but with time you will realize that one single folder that you are unable to delete is creating a lot internal issue without even your knowing.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Thus it is of paramount importance to delete forcefully for the sake of your computer\u2019s safety if need be. Here in this article some essential trickeries are described which can actually help you delete the stubborn folders forcefully.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">It is only a matter of changing security permissions or sometimes renaming the long character file names to allow the deletion process.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">But you need to be an adept with the computer\u2019s technical intricacies to handle the methods mentioned below.<\/span><\/p>\n<h3><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>#1. Force to Remove Folders with Command Prompt<\/b><\/strong><\/span><\/h3>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Deleting the files and folders using cmd is sometimes more efficient than usual deletion process. Command prompt being the command line interpreter of your Windows OS can pull off many tasks just at the stroke of few commands, and this is what we are going to use cmd here for. Carry on with your reading to know its working in deletion procedure:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 1. First go to Cortana and type \u201cCmd\u201d. Click \u201cCommand prompt\u201d from the list of options shown to open a black box which is the cmd dialogue box.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1575\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/07\/command_prompt_img.jpg\" alt=\"command prompt\" width=\"350\" height=\"519\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 2. Now in the command prompt firstly type <strong><em><b><i>Del<\/i><\/b><\/em><\/strong>\u00a0and then the exact location of your file or folder, for instance: <strong><em><b><i>del c:usersJohnDoeDesktoptext.txt <\/i><\/b><\/em><\/strong><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 3. Now go check for the folder in your computer and you will find no trace of it anymore indicating that it has been removed from your system directory permanently.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">But if you wish to try out something else, then you can check out the next methods mentioned ahead.<\/span><\/p>\n<h3><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>#2. Force to Delete F<\/b><\/strong><\/span><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>iles or Folders by Changing Ownership of file\/folder<\/b><\/strong><\/span><\/h3>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Sometimes you are unable to remove or delete a file because you don\u2019t have the ownership to do so. No why you don\u2019t have the permission or ownership is a matter of detailed study. Cutting it shorter and easier terms, the only explanation is that your files or folders might have been created in the past when you had a different operating system. Thus the files are compatible with that previous version of OS but not with the current one. So you have to first earn the ownership with the currently running OS and only then can you be able to delete the peculiar files. The steps to change the ownership is detailed below, continue your reading:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 1. Choose the file or folder that you wish to delete and right click on it.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 2. Select \u201cProperties\u201d from the context menu and the property window will turn up immediately.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 3. Go to the \u201cSecurity\u201d tab and click the \u201cAdvanced\u201d button.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1576\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/07\/Security_img.jpg\" alt=\"Security open\" width=\"299\" height=\"350\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 4. When the Advanced Security Window turns up, you will detect the owner of the file.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 5. In some cases, the system name is listed as the owner name or sometimes as\u00a0\u201c<em><i>TrustedInstaller\u201d.<\/i><\/em>\u00a0Simply click on \u201cChange\u201d button adjacent to the owner\u2019s name.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1577\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/07\/delete_a_folder.jpg\" alt=\"delete a folder\" width=\"495\" height=\"113\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">NOTE: <em><i>TrustedInstaller<\/i><\/em>\u00a0is an in-built Windows account which is responsible for removal and modification of updates and other various essential components. So if you find the owner name of the file to <em><i>TrustedInstaller<\/i><\/em>, you better not change it or delete it, because that turns your file system unstable even more. So change the name from <em><i>TrustedInstaller<\/i><\/em>\u00a0to something else if you perfectly know what you are exactly doing.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 6. Enter a new username and press \u201ccheck names\u201d to verify if it okay. Finally click \u201cOK\u201d to save the change.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 7. Get back to the Advanced Security Settings and you will notice a checkbox named \u201cReplace owner on subcontainers and objects\u201d. Simply check that checkbox and click \u201cApply\u201d.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 8. Now exit the windows security properties and restart your computer.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 9. Now open the properties again by right click on that specifi<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1578\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/07\/select_user_group.jpg\" alt=\"select_user_group\" width=\"420\" height=\"221\" \/>c file and then go to \u201cAdvanced\u201d option.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 10. Next under the \u201cPermission\u201d tab, check the checkbox named \u201cReplace all child object permission entries with inheritable permission entries from this object\u201d.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 11. After this, click on \u201cEdit\u201d button beneath, and in \u201cPermission Entry\u201d window check the \u201cFull control\u201d option and click \u201cOk\u201d.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Now try to delete the file or folder again and this time it would definitely be eradicated without any doubt.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>Conclusions:<\/b><\/strong><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Since the issue arises mostly due to the interruption of viruses besides ownership problems, thus installing an anti-virus in juxtaposition with your operating system can help you scan the viruses and delete them. After which you can supposedly delete your files and folders without any difficulty. But if you are not sure or confident enough to deal with Ownership changes explained a short while ago, better not head on with such methodology without any proper expertise or guidance.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have a certain folder in your computer and now when you wish to remove it hard disk, it does not seem to budge at your command. No matter how hard you try, it does not seem to be removed completely. After every deletion attempt, it comes back again without a reason. These kinds of [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1623,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[31],"tags":[],"class_list":["post-1574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-tips"],"_links":{"self":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/1574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/comments?post=1574"}],"version-history":[{"count":2,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/1574\/revisions"}],"predecessor-version":[{"id":11817,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/1574\/revisions\/11817"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/media\/1623"}],"wp:attachment":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/media?parent=1574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/categories?post=1574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/tags?post=1574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}