Windows 10: Cannot delete tmp folders

Discus and support Cannot delete tmp folders in Windows 10 Support to solve the problem; Hi, small annoying problem, when I go to 'My PC' somehow I have a lot of temporary folders on my C: drive, and cannot get rid of them. Says that 'You... Discussion in 'Windows 10 Support' started by metro5053, May 31, 2016.

  1. metro5053 Win User

    Cannot delete tmp folders


    Hi,
    small annoying problem, when I go to 'My PC' somehow I have a lot of temporary folders on my C: drive, and cannot get rid of them. Says that 'You require permission from the administrator to make these changes. I have tried using the command prompt with:net user administrator /active:yes says the command completed successfully, but still cannot delete the folders.
    Example of the 50 folders below:

    MSI6b9cd.tmp

    Help appreciated please
    Regards
    Bob

    :)
     
    metro5053, May 31, 2016
    #1

  2. Hundreds of MSI####.tmp files in C:/ Drive

    Here's what helped me:

    The ICACLS command.

    Imagine my Windows ID is Joseph and I have hundreds of MSI*.tmp empty folders on c:\. I'm not going to change the security properties of each one, giving JOSEPH-AND-MARY\Joseph the ability to delete MSI1234.tmp and all the other MSI*.tmp folders.

    No, I need a miracle! The ICACLS command is that miracle.

    Step 1:

    icacls c:\MSI*.tmp /grant JosephCannot delete tmp folders :(F,DE)

    Step 2:

    Now you can delete those pesky folders in Windows Explorer or any utility that deletes empty folders.

    (Note: I did run TAKEOWN c:\MSI*.tmp first, so I'm not sure if that was necessary.)
     
    SWalkerELT, May 31, 2016
    #2
  3. Print spooler

    Documents freeze in my print spool. I clear the spool using %windir%\system32\spool\printers, however, there are .tmp files in the folder that I cannot delete. The printer freezes every time I print. What is solution?
     
    TerryHolliday72, May 31, 2016
    #3
  4. jds63 Win User

    Cannot delete tmp folders

    Are they in the C:>Users>(Name)>Local>Temp Folder or just on C: Drive and it looks like a temp file not a folder.
    I find nothing on this file researching, some software must be doing this.
     
    jds63, May 31, 2016
    #4
  5. CountMike New Member
    Did you try with Disk cleanup ?
     
    CountMike, May 31, 2016
    #5
  6. Hydranix Win User
    These are temporary directories created by .MSI files. MSI files are used to install applications. Have you installed any old software lately?

    Using the root drive for temp files is a method used back before Windows XP SP3 was released.

    To delete the files, you'll probably have to take ownership of the directories and their contents.

    This command should do so. Careful though, this command should be used with caution as it will pretty much destroy any folders in the root of C: which start with "msi", which on a properly maintained system should not exists.

    You will need to open the cmd prompt as admin.

    Code: FOR /F "delims=*" %I IN ('DIR /B "C:\msi*"') DO ( TAKEOWN /F "%I" /R && RD /Q /S "%I" )[/quote]
     
    Hydranix, May 31, 2016
    #6
  7. aftend89 Win User
    IF you load OS in safe mode you can delete these files without troubles
     
    aftend89, May 31, 2016
    #7
  8. jds63 Win User

    Cannot delete tmp folders

    Also a good description. Wonder why they would end up on there instead of the user folder, if that is where they are.

    MSI is an installer package file format used by Windows. Its name comes from the program’s original title, Microsoft Installer, which has since changed to Windows Installer. MSI files are used for installation, storage, and removal of programs. The files are contained in a package, which is used with the program’s client-side installer service, an .EXE file, to open and install the program.
     
    jds63, May 31, 2016
    #8
  9. metro5053 Win User
    OK, tried to delete them in the Safe mode, still says I need administrator permission to carry out the action.
    They are on the C drive not in any folder just listed one after another in amongst Program files, Program files(x86), Windows etc.
    Hydranix, sorry don't really understand what to do, so have not tried it.
    Disc cleanup did not work, unfortunately. Haven't got a clue how they appeared there, being tmp files would have thought I could have deleted them.
    Really appreciated the advice
    Thanks and Regards
    Bob
     
    metro5053, Jun 1, 2016
    #9
  10. axe0 New Member
    Could you make a screenshot of what files/folders you mean with the directory visible in the address balk and post it please.

    Example of directory in the address balk:
    Attachment 82913
     
  11. axe0 New Member
Thema:

Cannot delete tmp folders

Loading...
  1. Cannot delete tmp folders - Similar Threads - Cannot delete tmp

  2. What are these tmp folders for: is it ok to delete them?

    in Windows 10 Network and Sharing
    What are these tmp folders for: is it ok to delete them?: I have multiple tw-xxxx-xxxx-xxxxx.tmp folders inC:\Windows\System32\config\systemprofile\AppData\Local folder.They contain 299 files, 6,295 folders with a size of 34.4 MB. Most of the folders are tmp's such as tw-1b18-21dc-dfb5a.tmp. The ones I have checked have 0 bytes This...
  3. Cannot Delete a folder

    in Windows 10 BSOD Crashes and Debugging
    Cannot Delete a folder: [ATTACH] New drive is created automatically [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/cannot-delete-a-folder/5aacf868-efc9-473e-bea1-7a5b0fd9c9c7
  4. Is it safe to delete the $WINDOWS.~TMP folder itself, not just the files in the folder?

    in Windows 10 Network and Sharing
    Is it safe to delete the $WINDOWS.~TMP folder itself, not just the files in the folder?: I understand that I can delete the folders and files inside it, but will Windows 10 be unhappy if that folder isn't there, or will it just recreate it as needed?...
  5. Cannot delete folders

    in Windows 10 Ask Insider
    Cannot delete folders: I have a bunch of folders which either are empty or I want to delete it. But when I try to delete it, it says the folder’s in use (even though it’s not) or it just doesn’t pop any of windows or confirmation window out. So what exactly is happening? submitted by /u/kolbyng...
  6. Cannot delete folder

    in Windows 10 Network and Sharing
    Cannot delete folder: I am the administrator and I cannot delete a folder. When I try to Change Ownership from SYSTEM [ATTACH] the window modal blinks and then Change is greyed out. [ATTACH] I've tried deleting from command prompt as well, but I get Access Denied....
  7. cannot delete folder

    in Windows 10 Network and Sharing
    cannot delete folder: At my desktop, I create a folder but when I am going to delete the folder it shows an error message -"could not find this item". How can I solve this issue? Though I find an article on a website it does not fic my problem....
  8. Cannot delete folder

    in Windows 10 Network and Sharing
    Cannot delete folder: I have seen a few posts about how to delete a file or folder when 'Item Not Found' and 'Could not find this item' dialogue appears, but the thread is locked. I have tried to follow the answer given, re command prompt, but could not make it work. I am not a skilled user in...
  9. Cannot Delete a Folder

    in Windows 10 Performance & Maintenance
    Cannot Delete a Folder: When I try to delete the remaining folder after uninstalling a software in Program Files I get a message: "You require permission from SYSTEM to make changes to this folder", although I'm the administrator. Please help me to fix this problem. 43032
  10. Deleting TMP Files In System profile folder

    in Windows 10 Support
    Deleting TMP Files In System profile folder: I would like to know if TMP files in System Profile folder can safely be deleted ? Actual location..C:/ Users/Windows/System32/Config/Systemprofile.. I have about 10,000 or so ! Thank you 76758

Users found this page by searching for:

  1. msi.tmp folders appearing in my c drive