Windows 10: Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd

Discus and support Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd in Windows 10 Gaming to solve the problem; I move the page file from ssd drive C 128Gb where Windows 10 is installed to drive D, but doesn't fix the issue now page filei has 3 gb on drive D,... Discussion in 'Windows 10 Gaming' started by Fernando Ferreira de, Jun 17, 2023.

  1. Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd


    I move the page file from ssd drive C 128Gb where Windows 10 is installed to drive D, but doesn't fix the issue now page filei has 3 gb on drive D, which is nothing. I Normally had between 20-28 gb free space on drive C, normally varies I assume it has something to do width Windows back up, but now space clearly decreased a lot, I assume i has to do with this usmt.ppkg I never notice, and I regularly follow big files on drive C. Now I have only 15.9 gb, and this morning I started the PC with only 450mb free space which ring all my bells ,perhaps Windows installed something and then remove

    :)
     
    Fernando Ferreira de, Jun 17, 2023
    #1
  2. Conby Win User

    Windows 10 ppkg for reset failing

    Hi,

    I'm currently trying to get pbr to work with usmt/scanstate to keep apps after reset, however after following both the Microsoft documentation (and Create Provisioning Package in Windows 10).

    The machine is built in audit mode with all applications installed at this point, scanstate is run at this point aswell to capture the ppkg. I have tried in a the standard environment aswell if that would make any difference.

    The customizations folder is populated with the ppkg file (approx 1.4gb in size), and the recovery partition has winre on it.

    However, the machine fails to reset with the error message "There was a problem resetting your pc. No changes were made." In event viewer there error ID is 4502.


    Any suggestions would be massively appreciated!
     
    Conby, Jun 17, 2023
    #2
  3. MLT
    mlt Win User
    Can I create a custom recovery image for Windows 10 like recimg did in Windows 8.1?

    Overview

    For the sake of completeness here are the tools & relevant keywords one has to use to get custom recovery for Windows 10. Thanks to search engines and drastic changes on MS side, internet is flooded with badly outdated howtos.

    These days, the feature you are looking for is called Push-Button reset abbreviated as PBR. Essentially all necessary information can be found there. But basically, you are relying on built-in mechanism that uses Windows Component Store (C:\Windows\WinSxS) augmented with custom provisioning packages (ppkg).

    You'll need Windows Assessment and Deployment Kit (ADK) and USMT from there with ScanState tool. ScanTool in Windows 10 ADK was augmented with /apps to capture installed Windows desktop applications into ppkg, and, starting from Anniversary build 14393, with /diff. You can install ADK on another PC and prepare necessary files by Starting Deployment and Imaging Tools Environment and running CopyDandI.cmd amd64 d:\SppTools to get a copy of x64 version into d:\SppTools .

    Optionally one may turn installed classic apps into shortcuts (file pointers) for deferred deployment. See step 10-6. (It was always a puzzle for me when I saw a link to install Excel and alike on a brand new PC). Single instancing can be used to run application directly from provisioning packages sitting in your c:\recovery\customizations.

    You can also capture application one by one into isolated (siloed) provisioning packages essentially by diffing system state. Note that it won't work in Windows 10 editions before Anniversary (build 14393).

    Although not explicitly stated, it looks like one may still capture everything into install.wim. Although it undermines the whole idea of rebuilding OS from up-to-date components. See the first diagram named "Capturing Base App SPP" and step 4 that mentions install.wim can be a "customized push-button reset recovery image". This didn't work for me

    Windows 10 treats specially folders like C:\Recovery\Customizations (with ppkgs) and C:\Recovery\OEM (with other scripts you might create) - it copies them into recovery media you'll create using standard features.

    And here is the link for hands-on labs for training.

    Personally, after reading how many steps one should take, I settled on Sysprep built into Windows 10 and Clonezilla.

    Steps that worked for me in Anniversary edition

    Note that the following is for an "average advanced user" and is simplified as possible and isn't meant as the ultimate guide.

    1. Install ADK with USMT on a spare PC and copy tools to SppTools on a flash drive as written above, i.e. CopyDandI.cmd amd64 d:\SppTools.
    2. Then boot clean reference PC and press Ctrl+Shift+F3 from Welcome Screen to reboot into Audit mode. If you were already under normal user, use sysprep\sysprep (I had on my PC at least) from elevated console and choose reboot to Audit. Remember to delete your user once in Audit mode.
    3. Install all the stuff you want and insert that flash drive, and open command prompt followed by changing directory to SppTools.
    4. Optionally, from Admin prompt compact /compactos:always. This saved me ~2.2GB. So up to you if worth a shot.
    5. Use Disk Cleanup and delete all junk like RetailDemo Offline Content.
    6. Then scanstate /apps /ppkg C:\Recovery\Customizations\base.ppkg /telRecovery/Customizations/usmt.ppkg  suddenly occupies 5.6gb or 6% on my ssd :eek:ff This will take time. Optionally, I'd suggest to save such lines into some cmd in d:\SppTools\ for ease of use next time, if ever, so it can be used with type, more and alike for copy-pasting.
    7. Now, if you forgot another app, install it, and do scanstate /apps /diff:C:\Recovery\Customizations\base.spp /ppkg C:\Recovery\Customizations\more.spp /telRecovery/Customizations/usmt.ppkg  suddenly occupies 5.6gb or 6% on my ssd :eek:ff Don't bother with it. This captures the difference, but for whatever reasons SPP unlike PPKG isn't automatically provisioned. Also see notes.
    8. Now you can reboot to OOBE using sysprep dialog (you were in Audit mode, right?). Tick Generalize if you plan on deploying to other devices, otherwise I'm not sure it is necessary. (It caused me a message saying that Windows 10 can't be installed on my hardware, but worked fine other time.)
    9. Finally, you can create a Recovery Drive using standard tool as usuallyRecovery/Customizations/usmt.ppkg  suddenly occupies 5.6gb or 6% on my ssd :)

    If you want to keep raw image before rebooting and save some extra space you can do the following as well just before 8).

    1. Reboot into WinPE 10 on some USB flash drive instead of Out-Of-Box-Experience, I hope you have some lying around.
    2. Make it Single Instance with dism /Apply-CustomDataImage /customdataimage:c:\recovery\customizations\base.spp /imagepath:C:\ /SingleInstance. Think twice, though! Once you install updates, you'll loose twice as much space.
    3. Cleanup with md c:\temp, dism /Cleanup-Image /Image=c:\ /startComponentCleanup /ResetBase /ScratchDir:C:\Temp, rmdir c:\temp. (I have no idea how to insert code block into a list)
    4. Capture image dism /Capture-Image /ImageFile:d:\some-image-to-apply-on-another-pc-later-manually.wim /CaptureDir:C:\ /NameRecovery/Customizations/usmt.ppkg  suddenly occupies 5.6gb or 6% on my ssd :Drive-C

    Misc

    1. Note that testing PBR out will leave traces in C:\Windows\Logs\PBR as well as C:\$SysReset.
    2. I played with various options likes /config:Config_AppsAndSettings.xml, /genconfig, /i, /ue:*, /tel and they made no difference in combination with /apps options. Just in case, I keep /telRecovery/Customizations/usmt.ppkg  suddenly occupies 5.6gb or 6% on my ssd :eek:ff.
    3. I get defaultuser0 after reset. I wonder if someone can comment on how to avoid that.
    4. /apps will not work with /offlinewindir for dism.
    5. I have no idea yet how single instancing works with upgrades and uninstalls. Works well. But space is wasted.
    6. I stumbled on Visual Studio 2015 Community "prerelease license expired" issue. I'm not sure what caused that. Single Instanceing or something wasn't captured.
    7. On siloed packages, they aren't restored and dism says it doesn't know what is /Apply-SiloedPackage.

    Here are some reference numbers for free space reported by dir.

    1. Before applying custom image: 196,703,948,800 bytes free
    2. After applying: 219,435,716,608 bytes free
    3. after deleting pagefile and alike (not necessary for dism though): 226,386,108,416 bytes free
    4. After rebooting and OOBE (9.) I got somehow 223,074,557,952 bytes free.

    To see that you are truly using single instancing use fsutil wim

    And to check a particular file

     
  4. Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd

    Windows 10 new Reset feature ?


    Hi


    MSDN page suggests that


    Source : Deploy push-button reset features using ScanState (Windows Drivers)
     
    Anshad Edavana, Jun 17, 2023
    #4
Thema:

Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd

Loading...
  1. Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd - Similar Threads - Recovery Customizations usmt

  2. My keyboard has suddenly started producing odd characters. Particularly Shift+5 and Shift+6...

    in Windows 10 Software and Apps
    My keyboard has suddenly started producing odd characters. Particularly Shift+5 and Shift+6...: My keyboard has suddenly started producing odd characters. Particularly Shift+5 and Shift+6 results in double characters R% and U&. How can I resolve this?...
  3. Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd

    in Windows 10 BSOD Crashes and Debugging
    Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd: I move the page file from ssd drive C 128Gb where Windows 10 is installed to drive D, but doesn't fix the issue now page filei has 3 gb on drive D, which is nothing. I Normally had between 20-28 gb free space on drive C, normally varies I assume it has something to do width...
  4. Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd

    in Windows 10 Software and Apps
    Recovery/Customizations/usmt.ppkg suddenly occupies 5.6gb or 6% on my ssd: I move the page file from ssd drive C 128Gb where Windows 10 is installed to drive D, but doesn't fix the issue now page filei has 3 gb on drive D, which is nothing. I Normally had between 20-28 gb free space on drive C, normally varies I assume it has something to do width...
  5. Creating a pbr recovery, ppkg not being installed during reset

    in Windows 10 Installation and Upgrade
    Creating a pbr recovery, ppkg not being installed during reset: Hi,I'm currently trying to get pbr to work with usmt/scanstate to keep apps after reset, however after following the Microsoft documentation for OEM manufacturers and deployment of push button reset, the machine fails to reset with the error message "There was a problem...
  6. SCCM and USMT

    in Windows 10 Customization
    SCCM and USMT: Have just succeeded in setting up a State migration point on our SCCM and after that got USMT to make user profile backup and restore on the reinstalled PC.According to the log everything is OK and User data and desktop is there but hardly anything else , not even my Edge...
  7. Failed to install on ‎5/‎6/‎2021 - 0x8007045b 5/6/2021

    in Windows 10 Installation and Upgrade
    Failed to install on ‎5/‎6/‎2021 - 0x8007045b 5/6/2021: Hi guys today I checked for Microsoft update but suddenly an error occurred which is 0x8007045b 5/6/2021. Security Intelligence Update for Microsoft Defender Antivirus. Anyone with the same issue like me? Thank you for replies....
  8. Custom Recovery Environment

    in Windows 10 Backup and Restore
    Custom Recovery Environment: I updated my Macrium and figured it had been a while since I created my recovery USB and it was recommending I did so after the latest update. Cool. It's been so long since I initially created it that it turns out I forgot I got the image from elsewhere and I wasn't...
  9. Is USMT Redistributable

    in Windows 10 Updates and Activation
    Is USMT Redistributable: I am a developer and I am doing some research on this USMT tool. I was reading about the documentation for USMT seems to be interesting. Is this tool redistributable? Can I write a wrapper around this tool and do some research on the same?. Thought of developing something...
  10. Windows 10 on a 120GB SSD occupy 90 GBs

    in Windows 10 Network and Sharing
    Windows 10 on a 120GB SSD occupy 90 GBs: Hello there, i really need a help here! I changed my old hdd to a new ssd and it's a 120 gb ssd from Crucial, i used their software to clone windows 10 on the new ssd but that action left the ssd with only 5gbs left, so i decided to do a new installation from this option...

Users found this page by searching for:

  1. create recovery usb stick winsxs usmt.ppkg