20GB of Temporary Files, Only 50MB in Temp Folder





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







3















I recently discovered that the Settings app is showing around 20GB of space used by temporary files. But when I go to remove them I can only remove about 28MB. When I open the temp folder by using Run and then %temp% it only shows around 40-50MB of files right after boot. How can I remove these 20GB of invisible files? I only have a 240GB SSD so space is quite scarce. Here are a few photos:enter image description here



enter image description here



I run Windows 10 Home Activated. I have tried Disk Cleanup but this removed only around 30MB of files.



UPDATE: After turning on hidden items I found a folder name WINDOWS-BT, after doing some research it turned out to be a folder for the previous windows version. I deleted it using TakeOwnerShip pro and this removed around 12GB of temporary files, but 8GB still remain. I am currently downloading TreeSize free to find out where the other 8GB is.



UPDATE 2: Hi, I downloaded TreeSizeFree and I didn't really find anything there.
The biggest folder is 87GB of Program Files which mainly consists of my GTA V install. The Program Files (x86) folder was mainly made up of my Steam games (CS:GO, Besiege, etc). The 5.5GB [3 Files] location was noted as being my pagefile.



The Windows folder shows up as 25GB when in Settings it is only 18GB, this could explain where the other 8GB are coming from. What are some things I should look for in there?



FINAL UPDATE: After deleting the Windows-BT folder it reappeared a few hours later. I decided to check from system updates and surely enough one was downloaded and pending to be installed. After installing the update the Windows-BT folder disappeared on it's own and a new folder taking up 20GB called Windows.old was created. I then followed this tutorial to remove the .old folder and I had all my disk space back! NOTE: Disk Cleanup wasn't able to find the Windows.old folder, this is why I had to delete it from the settings app.



enter image description here










share|improve this question

























  • Use a tool to visualize your system usage, and provide that information as an edit to your question, how you delete the temporary files depends on where it is located.

    – Ramhound
    Jan 30 at 19:43






  • 3





    There are more locations where Temp files are stored besides your %temp% folder. Many more. Disk Cleanup will do a more thorough cleaning of your various temp locations.

    – music2myear
    Jan 30 at 19:54











  • Possible duplicate of How can I visualize the file system usage on Windows?. Since this question was encouraging answers that solutions to visualize disk usage, I went ahead, and flagged it as a duplicate for the apprpriate canonical question on the subject

    – Ramhound
    Jan 31 at 0:21













  • @Mihkel - Your disk space isn't be used by temporary files. It is being used by Program Files and Windows. The Settings application is likely counting temporary files created by Windows (required update files necessary to remove updates, that sort of thing).

    – Ramhound
    Jan 31 at 19:31


















3















I recently discovered that the Settings app is showing around 20GB of space used by temporary files. But when I go to remove them I can only remove about 28MB. When I open the temp folder by using Run and then %temp% it only shows around 40-50MB of files right after boot. How can I remove these 20GB of invisible files? I only have a 240GB SSD so space is quite scarce. Here are a few photos:enter image description here



enter image description here



I run Windows 10 Home Activated. I have tried Disk Cleanup but this removed only around 30MB of files.



UPDATE: After turning on hidden items I found a folder name WINDOWS-BT, after doing some research it turned out to be a folder for the previous windows version. I deleted it using TakeOwnerShip pro and this removed around 12GB of temporary files, but 8GB still remain. I am currently downloading TreeSize free to find out where the other 8GB is.



UPDATE 2: Hi, I downloaded TreeSizeFree and I didn't really find anything there.
The biggest folder is 87GB of Program Files which mainly consists of my GTA V install. The Program Files (x86) folder was mainly made up of my Steam games (CS:GO, Besiege, etc). The 5.5GB [3 Files] location was noted as being my pagefile.



The Windows folder shows up as 25GB when in Settings it is only 18GB, this could explain where the other 8GB are coming from. What are some things I should look for in there?



FINAL UPDATE: After deleting the Windows-BT folder it reappeared a few hours later. I decided to check from system updates and surely enough one was downloaded and pending to be installed. After installing the update the Windows-BT folder disappeared on it's own and a new folder taking up 20GB called Windows.old was created. I then followed this tutorial to remove the .old folder and I had all my disk space back! NOTE: Disk Cleanup wasn't able to find the Windows.old folder, this is why I had to delete it from the settings app.



enter image description here










share|improve this question

























  • Use a tool to visualize your system usage, and provide that information as an edit to your question, how you delete the temporary files depends on where it is located.

    – Ramhound
    Jan 30 at 19:43






  • 3





    There are more locations where Temp files are stored besides your %temp% folder. Many more. Disk Cleanup will do a more thorough cleaning of your various temp locations.

    – music2myear
    Jan 30 at 19:54











  • Possible duplicate of How can I visualize the file system usage on Windows?. Since this question was encouraging answers that solutions to visualize disk usage, I went ahead, and flagged it as a duplicate for the apprpriate canonical question on the subject

    – Ramhound
    Jan 31 at 0:21













  • @Mihkel - Your disk space isn't be used by temporary files. It is being used by Program Files and Windows. The Settings application is likely counting temporary files created by Windows (required update files necessary to remove updates, that sort of thing).

    – Ramhound
    Jan 31 at 19:31














3












3








3








I recently discovered that the Settings app is showing around 20GB of space used by temporary files. But when I go to remove them I can only remove about 28MB. When I open the temp folder by using Run and then %temp% it only shows around 40-50MB of files right after boot. How can I remove these 20GB of invisible files? I only have a 240GB SSD so space is quite scarce. Here are a few photos:enter image description here



enter image description here



I run Windows 10 Home Activated. I have tried Disk Cleanup but this removed only around 30MB of files.



UPDATE: After turning on hidden items I found a folder name WINDOWS-BT, after doing some research it turned out to be a folder for the previous windows version. I deleted it using TakeOwnerShip pro and this removed around 12GB of temporary files, but 8GB still remain. I am currently downloading TreeSize free to find out where the other 8GB is.



UPDATE 2: Hi, I downloaded TreeSizeFree and I didn't really find anything there.
The biggest folder is 87GB of Program Files which mainly consists of my GTA V install. The Program Files (x86) folder was mainly made up of my Steam games (CS:GO, Besiege, etc). The 5.5GB [3 Files] location was noted as being my pagefile.



The Windows folder shows up as 25GB when in Settings it is only 18GB, this could explain where the other 8GB are coming from. What are some things I should look for in there?



FINAL UPDATE: After deleting the Windows-BT folder it reappeared a few hours later. I decided to check from system updates and surely enough one was downloaded and pending to be installed. After installing the update the Windows-BT folder disappeared on it's own and a new folder taking up 20GB called Windows.old was created. I then followed this tutorial to remove the .old folder and I had all my disk space back! NOTE: Disk Cleanup wasn't able to find the Windows.old folder, this is why I had to delete it from the settings app.



enter image description here










share|improve this question
















I recently discovered that the Settings app is showing around 20GB of space used by temporary files. But when I go to remove them I can only remove about 28MB. When I open the temp folder by using Run and then %temp% it only shows around 40-50MB of files right after boot. How can I remove these 20GB of invisible files? I only have a 240GB SSD so space is quite scarce. Here are a few photos:enter image description here



enter image description here



I run Windows 10 Home Activated. I have tried Disk Cleanup but this removed only around 30MB of files.



UPDATE: After turning on hidden items I found a folder name WINDOWS-BT, after doing some research it turned out to be a folder for the previous windows version. I deleted it using TakeOwnerShip pro and this removed around 12GB of temporary files, but 8GB still remain. I am currently downloading TreeSize free to find out where the other 8GB is.



UPDATE 2: Hi, I downloaded TreeSizeFree and I didn't really find anything there.
The biggest folder is 87GB of Program Files which mainly consists of my GTA V install. The Program Files (x86) folder was mainly made up of my Steam games (CS:GO, Besiege, etc). The 5.5GB [3 Files] location was noted as being my pagefile.



The Windows folder shows up as 25GB when in Settings it is only 18GB, this could explain where the other 8GB are coming from. What are some things I should look for in there?



FINAL UPDATE: After deleting the Windows-BT folder it reappeared a few hours later. I decided to check from system updates and surely enough one was downloaded and pending to be installed. After installing the update the Windows-BT folder disappeared on it's own and a new folder taking up 20GB called Windows.old was created. I then followed this tutorial to remove the .old folder and I had all my disk space back! NOTE: Disk Cleanup wasn't able to find the Windows.old folder, this is why I had to delete it from the settings app.



enter image description here







windows storage temporary-files






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 15:12







Mihkel

















asked Jan 30 at 19:31









MihkelMihkel

1336




1336













  • Use a tool to visualize your system usage, and provide that information as an edit to your question, how you delete the temporary files depends on where it is located.

    – Ramhound
    Jan 30 at 19:43






  • 3





    There are more locations where Temp files are stored besides your %temp% folder. Many more. Disk Cleanup will do a more thorough cleaning of your various temp locations.

    – music2myear
    Jan 30 at 19:54











  • Possible duplicate of How can I visualize the file system usage on Windows?. Since this question was encouraging answers that solutions to visualize disk usage, I went ahead, and flagged it as a duplicate for the apprpriate canonical question on the subject

    – Ramhound
    Jan 31 at 0:21













  • @Mihkel - Your disk space isn't be used by temporary files. It is being used by Program Files and Windows. The Settings application is likely counting temporary files created by Windows (required update files necessary to remove updates, that sort of thing).

    – Ramhound
    Jan 31 at 19:31



















  • Use a tool to visualize your system usage, and provide that information as an edit to your question, how you delete the temporary files depends on where it is located.

    – Ramhound
    Jan 30 at 19:43






  • 3





    There are more locations where Temp files are stored besides your %temp% folder. Many more. Disk Cleanup will do a more thorough cleaning of your various temp locations.

    – music2myear
    Jan 30 at 19:54











  • Possible duplicate of How can I visualize the file system usage on Windows?. Since this question was encouraging answers that solutions to visualize disk usage, I went ahead, and flagged it as a duplicate for the apprpriate canonical question on the subject

    – Ramhound
    Jan 31 at 0:21













  • @Mihkel - Your disk space isn't be used by temporary files. It is being used by Program Files and Windows. The Settings application is likely counting temporary files created by Windows (required update files necessary to remove updates, that sort of thing).

    – Ramhound
    Jan 31 at 19:31

















Use a tool to visualize your system usage, and provide that information as an edit to your question, how you delete the temporary files depends on where it is located.

– Ramhound
Jan 30 at 19:43





Use a tool to visualize your system usage, and provide that information as an edit to your question, how you delete the temporary files depends on where it is located.

– Ramhound
Jan 30 at 19:43




3




3





There are more locations where Temp files are stored besides your %temp% folder. Many more. Disk Cleanup will do a more thorough cleaning of your various temp locations.

– music2myear
Jan 30 at 19:54





There are more locations where Temp files are stored besides your %temp% folder. Many more. Disk Cleanup will do a more thorough cleaning of your various temp locations.

– music2myear
Jan 30 at 19:54













Possible duplicate of How can I visualize the file system usage on Windows?. Since this question was encouraging answers that solutions to visualize disk usage, I went ahead, and flagged it as a duplicate for the apprpriate canonical question on the subject

– Ramhound
Jan 31 at 0:21







Possible duplicate of How can I visualize the file system usage on Windows?. Since this question was encouraging answers that solutions to visualize disk usage, I went ahead, and flagged it as a duplicate for the apprpriate canonical question on the subject

– Ramhound
Jan 31 at 0:21















@Mihkel - Your disk space isn't be used by temporary files. It is being used by Program Files and Windows. The Settings application is likely counting temporary files created by Windows (required update files necessary to remove updates, that sort of thing).

– Ramhound
Jan 31 at 19:31





@Mihkel - Your disk space isn't be used by temporary files. It is being used by Program Files and Windows. The Settings application is likely counting temporary files created by Windows (required update files necessary to remove updates, that sort of thing).

– Ramhound
Jan 31 at 19:31










3 Answers
3






active

oldest

votes


















3














Im not exactly sure what it constitutes as Temporary files, but theres a few places you should check.



%temp% typically points to %systemdrive%WindowsTemp - which is the default system wide temporary folder. However, its good security practise for each user to have their own temp folder which are located %systemdrive%users{USERNAME}AppDataLocalTemp (replacing "{USERNAME}" for each folder in the users folder). Also, checkout the recycle bin - anything lurking in there?



In general as @Ramhound mentioned its well worth inspecting your whole disk visually to really see whats going on, don't rely on the wizard.



Below is a screen shot from TreeSize free, which provides a graphical tree view of your drive and the background graph shows where your space is being used in each folder.



Obviously be careful with this approach, you could damage an application or windows component by deleting its files. But with a little common sense and some research you can make good space savings and uncover wastage you would probably not otherwise notice and claw back some precious storage.



enter image description here



General space saving tips



Uninstall stuff & clean up old uninstallations



Windows is much better at cleaning up after itself these days, but applications will often create temporary files, documents, media files, save games etc. Check Desktop, My Documents and Music, Pictures etc - remove any junk, default files. Also, when you uninstall a program often the installer will only delete the files it installed - so you end up with logs and crash dumps and other junk left behind even after properly removing software.



WinSxS



WARNING!! DO NOT touch/modify/delete inside C:WindowsWinSxS - use below DISM commands only - its a critical system folder.



WinSxS is a system folder may sometimes bloat (leftovers from patches or uninstalls), you can run:



Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore



If it recommends cleanup, run:



Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase



NOTE - running the above command will save some space, but prevent removal of any currently installed updates.



System Restore



May be worth checking your System restore settings by default it will reserve a percentage of your disk. I dont recommend disabling it entirely, but it can make sense to restrict its size if your space limited at the cost of having fewer restore points to roll back to in the event of an issue.



Edit Following Comment



I think theres probably lots of reasons for some drift, exactly what depends on your system. Without seeing whats using the space in your Windows folder i can only guess, but below are some of the usual suspects/fixes.



c:WindowsSoftwareDistributionDownload



Windows updates stores files here. In theory it should clean up this directory but you might have old updates that failed or became stuck for whatever reason. You can delete files from here, some of the files will return. You will probably need to use safe mode or stop both the Windows Update and BITS services to delete these files.



C:WindowsInstaller



This folder is required, but is not often used. You can safely enable compression of this folder to save a little space. (Enabling compression saves space, but requires more CPU time - i would only enable this on folders that are used infrequently).



Windows Apps



There are a load of default optional components installed that dont appear in the add remove control panel. You need to launch a Powershell window as Administrator. Run this command to list the installed packages:



Get-AppxPackage -AllUsers | select -Property Name 


Then use the following command to uninstall the package (Bing News in this case taken from the previous commands output.



Get-AppxPackage -AllUsers  | where {$_.Name -like "Microsoft.BingNews" } | Remove-AppxPackage -AllUsers


The above commands uninstalls the packages, the next set of commands removes the installation packages entirely (and c:WindowsInfusedApps will get smaller - dont edit this folder directly). Same process, list the available packages, then remove them as required. You need to have uninstalled the package before you remove it, and some packages are not removable (without ugly/unsupported hacks at least)



Get-AppxProvisionedPackage -Online | select DisplayName


To remove the xbox related packages use Microsoft.Xbox*



Get-AppxProvisionedPackage -Online | where {$_.DisplayName -like "Microsoft.Xbox*" } | Remove-AppxProvisionedPackage -Online





share|improve this answer


























  • Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

    – Mihkel
    Jan 31 at 14:16













  • I updated the OP.

    – Mihkel
    Jan 31 at 14:30



















0














You should hav additional options for cleanup, including removing Previous Windows installation(s), a prime offender -- after each Windows update, old files are kept so you can revert. On the More Options tab, you can remove Restore Points.



Disk Cleanup



There are other cleanup tools, such as Wise Disk Cleaner and CCleaner, that can remove more files, such as alternate browser (e.g. Firefox, Chrome) cache. Use these with caution, lest you delete browser passwords, etc.



Extra Windows files are also kept in the WinSxS folder. Do not attempt to delete them directly, but follow MS directions using DISM, Scheduled Tasks, etc.



Finally, use a tools such as JAMSoft's TreeSize Free to visualize the directory structure. Run it as Administrator to view inside restricted folders.






share|improve this answer


























  • The format of this answer could benefit from being improved.

    – Ramhound
    Jan 30 at 23:48











  • Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

    – Mihkel
    Jan 31 at 14:10



















-1














Reason why I propose this is when uninstalling applications local data is not always removed and left here. I would try accessing run->%appdata% folder and looking up one level and check folders:



Local
local/CrashDumps
LocalNow
Roaming


local/CrashDumps is a lovely candidate to delete unless you want music2myear to examine these in detail.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400224%2f20gb-of-temporary-files-only-50mb-in-temp-folder%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Im not exactly sure what it constitutes as Temporary files, but theres a few places you should check.



    %temp% typically points to %systemdrive%WindowsTemp - which is the default system wide temporary folder. However, its good security practise for each user to have their own temp folder which are located %systemdrive%users{USERNAME}AppDataLocalTemp (replacing "{USERNAME}" for each folder in the users folder). Also, checkout the recycle bin - anything lurking in there?



    In general as @Ramhound mentioned its well worth inspecting your whole disk visually to really see whats going on, don't rely on the wizard.



    Below is a screen shot from TreeSize free, which provides a graphical tree view of your drive and the background graph shows where your space is being used in each folder.



    Obviously be careful with this approach, you could damage an application or windows component by deleting its files. But with a little common sense and some research you can make good space savings and uncover wastage you would probably not otherwise notice and claw back some precious storage.



    enter image description here



    General space saving tips



    Uninstall stuff & clean up old uninstallations



    Windows is much better at cleaning up after itself these days, but applications will often create temporary files, documents, media files, save games etc. Check Desktop, My Documents and Music, Pictures etc - remove any junk, default files. Also, when you uninstall a program often the installer will only delete the files it installed - so you end up with logs and crash dumps and other junk left behind even after properly removing software.



    WinSxS



    WARNING!! DO NOT touch/modify/delete inside C:WindowsWinSxS - use below DISM commands only - its a critical system folder.



    WinSxS is a system folder may sometimes bloat (leftovers from patches or uninstalls), you can run:



    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore



    If it recommends cleanup, run:



    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase



    NOTE - running the above command will save some space, but prevent removal of any currently installed updates.



    System Restore



    May be worth checking your System restore settings by default it will reserve a percentage of your disk. I dont recommend disabling it entirely, but it can make sense to restrict its size if your space limited at the cost of having fewer restore points to roll back to in the event of an issue.



    Edit Following Comment



    I think theres probably lots of reasons for some drift, exactly what depends on your system. Without seeing whats using the space in your Windows folder i can only guess, but below are some of the usual suspects/fixes.



    c:WindowsSoftwareDistributionDownload



    Windows updates stores files here. In theory it should clean up this directory but you might have old updates that failed or became stuck for whatever reason. You can delete files from here, some of the files will return. You will probably need to use safe mode or stop both the Windows Update and BITS services to delete these files.



    C:WindowsInstaller



    This folder is required, but is not often used. You can safely enable compression of this folder to save a little space. (Enabling compression saves space, but requires more CPU time - i would only enable this on folders that are used infrequently).



    Windows Apps



    There are a load of default optional components installed that dont appear in the add remove control panel. You need to launch a Powershell window as Administrator. Run this command to list the installed packages:



    Get-AppxPackage -AllUsers | select -Property Name 


    Then use the following command to uninstall the package (Bing News in this case taken from the previous commands output.



    Get-AppxPackage -AllUsers  | where {$_.Name -like "Microsoft.BingNews" } | Remove-AppxPackage -AllUsers


    The above commands uninstalls the packages, the next set of commands removes the installation packages entirely (and c:WindowsInfusedApps will get smaller - dont edit this folder directly). Same process, list the available packages, then remove them as required. You need to have uninstalled the package before you remove it, and some packages are not removable (without ugly/unsupported hacks at least)



    Get-AppxProvisionedPackage -Online | select DisplayName


    To remove the xbox related packages use Microsoft.Xbox*



    Get-AppxProvisionedPackage -Online | where {$_.DisplayName -like "Microsoft.Xbox*" } | Remove-AppxProvisionedPackage -Online





    share|improve this answer


























    • Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

      – Mihkel
      Jan 31 at 14:16













    • I updated the OP.

      – Mihkel
      Jan 31 at 14:30
















    3














    Im not exactly sure what it constitutes as Temporary files, but theres a few places you should check.



    %temp% typically points to %systemdrive%WindowsTemp - which is the default system wide temporary folder. However, its good security practise for each user to have their own temp folder which are located %systemdrive%users{USERNAME}AppDataLocalTemp (replacing "{USERNAME}" for each folder in the users folder). Also, checkout the recycle bin - anything lurking in there?



    In general as @Ramhound mentioned its well worth inspecting your whole disk visually to really see whats going on, don't rely on the wizard.



    Below is a screen shot from TreeSize free, which provides a graphical tree view of your drive and the background graph shows where your space is being used in each folder.



    Obviously be careful with this approach, you could damage an application or windows component by deleting its files. But with a little common sense and some research you can make good space savings and uncover wastage you would probably not otherwise notice and claw back some precious storage.



    enter image description here



    General space saving tips



    Uninstall stuff & clean up old uninstallations



    Windows is much better at cleaning up after itself these days, but applications will often create temporary files, documents, media files, save games etc. Check Desktop, My Documents and Music, Pictures etc - remove any junk, default files. Also, when you uninstall a program often the installer will only delete the files it installed - so you end up with logs and crash dumps and other junk left behind even after properly removing software.



    WinSxS



    WARNING!! DO NOT touch/modify/delete inside C:WindowsWinSxS - use below DISM commands only - its a critical system folder.



    WinSxS is a system folder may sometimes bloat (leftovers from patches or uninstalls), you can run:



    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore



    If it recommends cleanup, run:



    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase



    NOTE - running the above command will save some space, but prevent removal of any currently installed updates.



    System Restore



    May be worth checking your System restore settings by default it will reserve a percentage of your disk. I dont recommend disabling it entirely, but it can make sense to restrict its size if your space limited at the cost of having fewer restore points to roll back to in the event of an issue.



    Edit Following Comment



    I think theres probably lots of reasons for some drift, exactly what depends on your system. Without seeing whats using the space in your Windows folder i can only guess, but below are some of the usual suspects/fixes.



    c:WindowsSoftwareDistributionDownload



    Windows updates stores files here. In theory it should clean up this directory but you might have old updates that failed or became stuck for whatever reason. You can delete files from here, some of the files will return. You will probably need to use safe mode or stop both the Windows Update and BITS services to delete these files.



    C:WindowsInstaller



    This folder is required, but is not often used. You can safely enable compression of this folder to save a little space. (Enabling compression saves space, but requires more CPU time - i would only enable this on folders that are used infrequently).



    Windows Apps



    There are a load of default optional components installed that dont appear in the add remove control panel. You need to launch a Powershell window as Administrator. Run this command to list the installed packages:



    Get-AppxPackage -AllUsers | select -Property Name 


    Then use the following command to uninstall the package (Bing News in this case taken from the previous commands output.



    Get-AppxPackage -AllUsers  | where {$_.Name -like "Microsoft.BingNews" } | Remove-AppxPackage -AllUsers


    The above commands uninstalls the packages, the next set of commands removes the installation packages entirely (and c:WindowsInfusedApps will get smaller - dont edit this folder directly). Same process, list the available packages, then remove them as required. You need to have uninstalled the package before you remove it, and some packages are not removable (without ugly/unsupported hacks at least)



    Get-AppxProvisionedPackage -Online | select DisplayName


    To remove the xbox related packages use Microsoft.Xbox*



    Get-AppxProvisionedPackage -Online | where {$_.DisplayName -like "Microsoft.Xbox*" } | Remove-AppxProvisionedPackage -Online





    share|improve this answer


























    • Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

      – Mihkel
      Jan 31 at 14:16













    • I updated the OP.

      – Mihkel
      Jan 31 at 14:30














    3












    3








    3







    Im not exactly sure what it constitutes as Temporary files, but theres a few places you should check.



    %temp% typically points to %systemdrive%WindowsTemp - which is the default system wide temporary folder. However, its good security practise for each user to have their own temp folder which are located %systemdrive%users{USERNAME}AppDataLocalTemp (replacing "{USERNAME}" for each folder in the users folder). Also, checkout the recycle bin - anything lurking in there?



    In general as @Ramhound mentioned its well worth inspecting your whole disk visually to really see whats going on, don't rely on the wizard.



    Below is a screen shot from TreeSize free, which provides a graphical tree view of your drive and the background graph shows where your space is being used in each folder.



    Obviously be careful with this approach, you could damage an application or windows component by deleting its files. But with a little common sense and some research you can make good space savings and uncover wastage you would probably not otherwise notice and claw back some precious storage.



    enter image description here



    General space saving tips



    Uninstall stuff & clean up old uninstallations



    Windows is much better at cleaning up after itself these days, but applications will often create temporary files, documents, media files, save games etc. Check Desktop, My Documents and Music, Pictures etc - remove any junk, default files. Also, when you uninstall a program often the installer will only delete the files it installed - so you end up with logs and crash dumps and other junk left behind even after properly removing software.



    WinSxS



    WARNING!! DO NOT touch/modify/delete inside C:WindowsWinSxS - use below DISM commands only - its a critical system folder.



    WinSxS is a system folder may sometimes bloat (leftovers from patches or uninstalls), you can run:



    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore



    If it recommends cleanup, run:



    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase



    NOTE - running the above command will save some space, but prevent removal of any currently installed updates.



    System Restore



    May be worth checking your System restore settings by default it will reserve a percentage of your disk. I dont recommend disabling it entirely, but it can make sense to restrict its size if your space limited at the cost of having fewer restore points to roll back to in the event of an issue.



    Edit Following Comment



    I think theres probably lots of reasons for some drift, exactly what depends on your system. Without seeing whats using the space in your Windows folder i can only guess, but below are some of the usual suspects/fixes.



    c:WindowsSoftwareDistributionDownload



    Windows updates stores files here. In theory it should clean up this directory but you might have old updates that failed or became stuck for whatever reason. You can delete files from here, some of the files will return. You will probably need to use safe mode or stop both the Windows Update and BITS services to delete these files.



    C:WindowsInstaller



    This folder is required, but is not often used. You can safely enable compression of this folder to save a little space. (Enabling compression saves space, but requires more CPU time - i would only enable this on folders that are used infrequently).



    Windows Apps



    There are a load of default optional components installed that dont appear in the add remove control panel. You need to launch a Powershell window as Administrator. Run this command to list the installed packages:



    Get-AppxPackage -AllUsers | select -Property Name 


    Then use the following command to uninstall the package (Bing News in this case taken from the previous commands output.



    Get-AppxPackage -AllUsers  | where {$_.Name -like "Microsoft.BingNews" } | Remove-AppxPackage -AllUsers


    The above commands uninstalls the packages, the next set of commands removes the installation packages entirely (and c:WindowsInfusedApps will get smaller - dont edit this folder directly). Same process, list the available packages, then remove them as required. You need to have uninstalled the package before you remove it, and some packages are not removable (without ugly/unsupported hacks at least)



    Get-AppxProvisionedPackage -Online | select DisplayName


    To remove the xbox related packages use Microsoft.Xbox*



    Get-AppxProvisionedPackage -Online | where {$_.DisplayName -like "Microsoft.Xbox*" } | Remove-AppxProvisionedPackage -Online





    share|improve this answer















    Im not exactly sure what it constitutes as Temporary files, but theres a few places you should check.



    %temp% typically points to %systemdrive%WindowsTemp - which is the default system wide temporary folder. However, its good security practise for each user to have their own temp folder which are located %systemdrive%users{USERNAME}AppDataLocalTemp (replacing "{USERNAME}" for each folder in the users folder). Also, checkout the recycle bin - anything lurking in there?



    In general as @Ramhound mentioned its well worth inspecting your whole disk visually to really see whats going on, don't rely on the wizard.



    Below is a screen shot from TreeSize free, which provides a graphical tree view of your drive and the background graph shows where your space is being used in each folder.



    Obviously be careful with this approach, you could damage an application or windows component by deleting its files. But with a little common sense and some research you can make good space savings and uncover wastage you would probably not otherwise notice and claw back some precious storage.



    enter image description here



    General space saving tips



    Uninstall stuff & clean up old uninstallations



    Windows is much better at cleaning up after itself these days, but applications will often create temporary files, documents, media files, save games etc. Check Desktop, My Documents and Music, Pictures etc - remove any junk, default files. Also, when you uninstall a program often the installer will only delete the files it installed - so you end up with logs and crash dumps and other junk left behind even after properly removing software.



    WinSxS



    WARNING!! DO NOT touch/modify/delete inside C:WindowsWinSxS - use below DISM commands only - its a critical system folder.



    WinSxS is a system folder may sometimes bloat (leftovers from patches or uninstalls), you can run:



    Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore



    If it recommends cleanup, run:



    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase



    NOTE - running the above command will save some space, but prevent removal of any currently installed updates.



    System Restore



    May be worth checking your System restore settings by default it will reserve a percentage of your disk. I dont recommend disabling it entirely, but it can make sense to restrict its size if your space limited at the cost of having fewer restore points to roll back to in the event of an issue.



    Edit Following Comment



    I think theres probably lots of reasons for some drift, exactly what depends on your system. Without seeing whats using the space in your Windows folder i can only guess, but below are some of the usual suspects/fixes.



    c:WindowsSoftwareDistributionDownload



    Windows updates stores files here. In theory it should clean up this directory but you might have old updates that failed or became stuck for whatever reason. You can delete files from here, some of the files will return. You will probably need to use safe mode or stop both the Windows Update and BITS services to delete these files.



    C:WindowsInstaller



    This folder is required, but is not often used. You can safely enable compression of this folder to save a little space. (Enabling compression saves space, but requires more CPU time - i would only enable this on folders that are used infrequently).



    Windows Apps



    There are a load of default optional components installed that dont appear in the add remove control panel. You need to launch a Powershell window as Administrator. Run this command to list the installed packages:



    Get-AppxPackage -AllUsers | select -Property Name 


    Then use the following command to uninstall the package (Bing News in this case taken from the previous commands output.



    Get-AppxPackage -AllUsers  | where {$_.Name -like "Microsoft.BingNews" } | Remove-AppxPackage -AllUsers


    The above commands uninstalls the packages, the next set of commands removes the installation packages entirely (and c:WindowsInfusedApps will get smaller - dont edit this folder directly). Same process, list the available packages, then remove them as required. You need to have uninstalled the package before you remove it, and some packages are not removable (without ugly/unsupported hacks at least)



    Get-AppxProvisionedPackage -Online | select DisplayName


    To remove the xbox related packages use Microsoft.Xbox*



    Get-AppxProvisionedPackage -Online | where {$_.DisplayName -like "Microsoft.Xbox*" } | Remove-AppxProvisionedPackage -Online






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 1 at 23:17

























    answered Jan 31 at 0:04









    MisterSmithMisterSmith

    3085




    3085













    • Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

      – Mihkel
      Jan 31 at 14:16













    • I updated the OP.

      – Mihkel
      Jan 31 at 14:30



















    • Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

      – Mihkel
      Jan 31 at 14:16













    • I updated the OP.

      – Mihkel
      Jan 31 at 14:30

















    Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

    – Mihkel
    Jan 31 at 14:16







    Ok I did all the things you recommended. Looked in both Temp folders, each containting about 60MB of data, not the issue. Recycle bin is empty. I ran the commands for WinSxs, it did not reccomend a cleanup but I ran it anyways, unfortunetly the procedure failed. I deleted all system restore points except one which only takes around 700MB. I am currently download TreeSize.

    – Mihkel
    Jan 31 at 14:16















    I updated the OP.

    – Mihkel
    Jan 31 at 14:30





    I updated the OP.

    – Mihkel
    Jan 31 at 14:30













    0














    You should hav additional options for cleanup, including removing Previous Windows installation(s), a prime offender -- after each Windows update, old files are kept so you can revert. On the More Options tab, you can remove Restore Points.



    Disk Cleanup



    There are other cleanup tools, such as Wise Disk Cleaner and CCleaner, that can remove more files, such as alternate browser (e.g. Firefox, Chrome) cache. Use these with caution, lest you delete browser passwords, etc.



    Extra Windows files are also kept in the WinSxS folder. Do not attempt to delete them directly, but follow MS directions using DISM, Scheduled Tasks, etc.



    Finally, use a tools such as JAMSoft's TreeSize Free to visualize the directory structure. Run it as Administrator to view inside restricted folders.






    share|improve this answer


























    • The format of this answer could benefit from being improved.

      – Ramhound
      Jan 30 at 23:48











    • Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

      – Mihkel
      Jan 31 at 14:10
















    0














    You should hav additional options for cleanup, including removing Previous Windows installation(s), a prime offender -- after each Windows update, old files are kept so you can revert. On the More Options tab, you can remove Restore Points.



    Disk Cleanup



    There are other cleanup tools, such as Wise Disk Cleaner and CCleaner, that can remove more files, such as alternate browser (e.g. Firefox, Chrome) cache. Use these with caution, lest you delete browser passwords, etc.



    Extra Windows files are also kept in the WinSxS folder. Do not attempt to delete them directly, but follow MS directions using DISM, Scheduled Tasks, etc.



    Finally, use a tools such as JAMSoft's TreeSize Free to visualize the directory structure. Run it as Administrator to view inside restricted folders.






    share|improve this answer


























    • The format of this answer could benefit from being improved.

      – Ramhound
      Jan 30 at 23:48











    • Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

      – Mihkel
      Jan 31 at 14:10














    0












    0








    0







    You should hav additional options for cleanup, including removing Previous Windows installation(s), a prime offender -- after each Windows update, old files are kept so you can revert. On the More Options tab, you can remove Restore Points.



    Disk Cleanup



    There are other cleanup tools, such as Wise Disk Cleaner and CCleaner, that can remove more files, such as alternate browser (e.g. Firefox, Chrome) cache. Use these with caution, lest you delete browser passwords, etc.



    Extra Windows files are also kept in the WinSxS folder. Do not attempt to delete them directly, but follow MS directions using DISM, Scheduled Tasks, etc.



    Finally, use a tools such as JAMSoft's TreeSize Free to visualize the directory structure. Run it as Administrator to view inside restricted folders.






    share|improve this answer















    You should hav additional options for cleanup, including removing Previous Windows installation(s), a prime offender -- after each Windows update, old files are kept so you can revert. On the More Options tab, you can remove Restore Points.



    Disk Cleanup



    There are other cleanup tools, such as Wise Disk Cleaner and CCleaner, that can remove more files, such as alternate browser (e.g. Firefox, Chrome) cache. Use these with caution, lest you delete browser passwords, etc.



    Extra Windows files are also kept in the WinSxS folder. Do not attempt to delete them directly, but follow MS directions using DISM, Scheduled Tasks, etc.



    Finally, use a tools such as JAMSoft's TreeSize Free to visualize the directory structure. Run it as Administrator to view inside restricted folders.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 31 at 18:42

























    answered Jan 30 at 22:37









    DrMoishe PippikDrMoishe Pippik

    10.5k21432




    10.5k21432













    • The format of this answer could benefit from being improved.

      – Ramhound
      Jan 30 at 23:48











    • Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

      – Mihkel
      Jan 31 at 14:10



















    • The format of this answer could benefit from being improved.

      – Ramhound
      Jan 30 at 23:48











    • Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

      – Mihkel
      Jan 31 at 14:10

















    The format of this answer could benefit from being improved.

    – Ramhound
    Jan 30 at 23:48





    The format of this answer could benefit from being improved.

    – Ramhound
    Jan 30 at 23:48













    Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

    – Mihkel
    Jan 31 at 14:10





    Disk Cleanup didn't show anything about previous windows installations, it was only able to remove things such as thumbnails and internet files.

    – Mihkel
    Jan 31 at 14:10











    -1














    Reason why I propose this is when uninstalling applications local data is not always removed and left here. I would try accessing run->%appdata% folder and looking up one level and check folders:



    Local
    local/CrashDumps
    LocalNow
    Roaming


    local/CrashDumps is a lovely candidate to delete unless you want music2myear to examine these in detail.






    share|improve this answer




























      -1














      Reason why I propose this is when uninstalling applications local data is not always removed and left here. I would try accessing run->%appdata% folder and looking up one level and check folders:



      Local
      local/CrashDumps
      LocalNow
      Roaming


      local/CrashDumps is a lovely candidate to delete unless you want music2myear to examine these in detail.






      share|improve this answer


























        -1












        -1








        -1







        Reason why I propose this is when uninstalling applications local data is not always removed and left here. I would try accessing run->%appdata% folder and looking up one level and check folders:



        Local
        local/CrashDumps
        LocalNow
        Roaming


        local/CrashDumps is a lovely candidate to delete unless you want music2myear to examine these in detail.






        share|improve this answer













        Reason why I propose this is when uninstalling applications local data is not always removed and left here. I would try accessing run->%appdata% folder and looking up one level and check folders:



        Local
        local/CrashDumps
        LocalNow
        Roaming


        local/CrashDumps is a lovely candidate to delete unless you want music2myear to examine these in detail.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 30 at 22:39









        Neamy VidiaNeamy Vidia

        11




        11






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400224%2f20gb-of-temporary-files-only-50mb-in-temp-folder%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            If I really need a card on my start hand, how many mulligans make sense? [duplicate]

            Alcedinidae

            Can an atomic nucleus contain both particles and antiparticles? [duplicate]