Windows takes two hours to boot every reboot. Goes to spinning circles

Page 24 of 48 FirstFirst ... 14222324252634 ... LastLast

  1. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #231

    @OldMike65
    There are different ways of how to use DISM. One way is to mount the ISO to a virtual CD drive and work directly with install.wim/install.esd which in turn will also expand it in a temp folder and use the syntax as follows:
    with install.wim: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:1 /limitaccess
    With install.esd: DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:X:\sources\Install.esd:1 /LimitAccess
    NOTE: install.esd will work with new version of DISM so you can use either with tech bench or MCT and X is the drive letter of the virtual drive.

    Another way is to mount it to a folder on desktop which will in fact expand the install.wim/install.esd into a folder structure similar to C:\Windows so the /Source option is to point to the Windows folder as shown below:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:%USERPROFILE%\Desktop\mount\windows /LimitAccess
      My Computer


  2. Posts : 134,300
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #232

    topgundcp said:
    @OldMike65
    There are different ways of how to use DISM. One way is to mount the ISO to a virtual CD drive and work directly with install.wim/install.esd which in turn will also expand it in a temp folder and use the syntax as follows:
    with install.wim: Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:1 /limitaccess
    With install.esd: DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:X:\sources\Install.esd:1 /LimitAccess
    NOTE: install.esd will work with new version of DISM so you can use either with tech bench or MCT and X is the drive letter of the virtual drive.

    Another way is to mount it to a folder on desktop which will in fact expand the install.wim/install.esd into a folder structure similar to C:\Windows so the /Source option is to point to the Windows folder as shown below:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:%USERPROFILE%\Desktop\mount\windows /LimitAccess
    Ahhh Ok think I got it now!! Just so you know, I made a copy of your instructions long time ago, saved to notepad. Still use it sometimes to help folks. Actually was going to use yours for Rob .....had it all ready to post to him. When he wants to try.
    Thanks Topgun !!! As always. Mike. :)
      My Computers


  3. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #233

    You're welcome.
      My Computer


  4. Posts : 165
    Windows 10 Version 1511 (10586.164)
    Thread Starter
       #234

    Hey, I'm following this so when I'm free I can perform it. I'm swamped not but will return.
      My Computer


  5. Posts : 134,300
    Windows 11 Pro (x64) 23H2 Build 22631.3296
       #235

    RobH2 said:
    Hey, I'm following this so when I'm free I can perform it. I'm swamped not but will return.
    Glad that you are Rob, if you have trouble using DISM just give us a shout! :)
      My Computers


  6. Posts : 165
    Windows 10 Version 1511 (10586.164)
    Thread Starter
       #236

    OldMike65 said:
    Glad that you are Rob, if you have trouble using DISM just give us a shout! :)
    10-4
      My Computer


  7. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #237

    Don't restart even if prompted, wait until you do as much cleaning as you can

    Try disabling the Windows Customer Experience Improvement Program (CEIP)
    1. Control Panel > Action Center
      Left pane > Change Action Center settings
      Bottom section, Related Settings: select No, I don't want to participate in the program
      Press the [Save changes] button

    2. Control Panel > Administrative Tools > Task Scheduler
      (Local) pane > Task Scheduler Library > Microsoft > Windows > Application Experience
      Disable AITAgent
      Disable ProgramDataUpdater

      (Local) pane > Task Scheduler Library > Microsoft > Windows > Customer Experience Improvement Program
      Disable Consolidator
      Disable KernelCeipTask
      Disable UsbCeip



    If hibernation is on
    turn it off
    Cmd (admin) > powercfg /h off


    Clean up filesystem
    Disk cleanup, extended: Disk Cleanup - Open and Use in Windows 10 - Windows 10 Forums - select everything, including System Protection/Restore Points ... or try restoring to an earlier point in time (probably too long ago though)
    -- AND --
    TFC - Temp File Cleaner by OldTimer Download - Geeks to Go Forum - Admin privileges req'd
    -- OR --
    cCleaner portable: CCleaner - Builds

    Also look for Windows 10 'build' folders on C:\
    Windows.old Folder - Delete in Windows 10 - Windows 10 Forums
    There might also be $~BT or $~Windows folders (you need to view hidden and system folders in explorer)
    edit: you should delete those folders to reclaim space.
    One other thing to check: paging file size and related memory dumps. Only a full dump requires the page file to equal physical memory.

    Set your page file to 2048 MB (yeah, I know ... my page file size is smaller)

    Windows takes two hours to boot every reboot. Goes to spinning circles-pagefile.png

    Set your dump size to small

    Windows takes two hours to boot every reboot. Goes to spinning circles-memdump.png
    end edit



    Your choice what to do next: Follow TopGun's Dism instructs or reboot, then follow dism instructs.
    Last edited by Slartybart; 18 Mar 2016 at 02:36.
      My Computer


  8. Posts : 14,903
    Windows 10 Pro
       #238

    For the best practice with some things it is best to set the page file to at least the size of the physical memory (let the system handle it)
      My Computers


  9. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #239

    axe0 said:
    For the best practice with some things it is best to set the page file to at least the size of the physical memory (let the system handle it)
    The machine has 32 GB physical mem, the 128 Gb SSD is 76% full.
    Matching page file to phys mem means that ~25% of the drive is already allocated.

    With 32 GB Phys mem, there shouldn't be very much paging at all - if Rob feels that 2 GB is too little, he can of course increase the page file or let the system handle it.




    Paging is always a good debate
    The How-To Geek said:
    Understanding the windows pagefile-Lifehacker
    Mark Russinovich, the well-known Windows expert and author of the Sysinternals tools, says that if you want to optimize your pagefile size to fit your actual needs, you should follow a much different formula: The Minimum should be Peak Commit – Physical RAM, and the Maximum should be double that.

    For example, if your system has 4GB of RAM and your peak memory usage was 5GB (including virtual memory), you should set your pagefile to at least 1GB and the maximum as 2GB to give you a buffer to keep you safe in case a RAM-hungry application needs it. If you have 8GB of RAM and a max 3GB of memory usage, you should still have a pagefile, but you would probably be fine with a 1 GB size. Note: If your system is configured for crash dumps you'll need to have a larger pagefile or Windows won't be able to write out the process memory in the event of a crash—though it's not very useful for most end-users.
    I'll defer to Mark for some hard info:
    Mark Russinovich said:
    How Big Should I Make the Paging File?

    Perhaps one of the most commonly asked questions related to virtual memory is, how big should I make the paging file? There’s no end of ridiculous advice out on the web and in the newsstand magazines that cover Windows, and even Microsoft has published misleading recommendations. Almost all the suggestions are based on multiplying RAM size by some factor, with common values being 1.2, 1.5 and 2. Now that you understand the role that the paging file plays in defining a system’s commit limit and how processes contribute to the commit charge, you’re well positioned to see how useless such formulas truly are.

    Since the commit limit sets an upper bound on how much private and pagefile-backed virtual memory can be allocated concurrently by running processes, the only way to reasonably size the paging file is to know the maximum total commit charge for the programs you like to have running at the same time. If the commit limit is smaller than that number, your programs won’t be able to allocate the virtual memory they want and will fail to run properly.

    So how do you know how much commit charge your workloads require? You might have noticed in the screenshots that Windows tracks that number and Process Explorer shows it: Peak Commit Charge. To optimally size your paging file you should start all the applications you run at the same time, load typical data sets, and then note the commit charge peak (or look at this value after a period of time where you know maximum load was attained). Set the paging file minimum to be that value minus the amount of RAM in your system (if the value is negative, pick a minimum size to permit the kind of crash dump you are configured for). If you want to have some breathing room for potentially large commit demands, set the maximum to double that number.

    Some feel having no paging file results in better performance, but in general, having a paging file means Windows can write pages on the modified list (which represent pages that aren’t being accessed actively but have not been saved to disk) out to the paging file, thus making that memory available for more useful purposes (processes or file cache). So while there may be some workloads that perform better with no paging file, in general having one will mean more usable memory being available to the system (never mind that Windows won’t be able to write kernel crash dumps without a paging file sized large enough to hold them).

    Paging file configuration is in the System properties, which you can get to by typing “sysdm.cpl” into the Run dialog, clicking on the Advanced tab, clicking on the Performance Options button, clicking on the Advanced tab (this is really advanced), and then clicking on the Change button:

    You’ll notice that the default configuration is for Windows to automatically manage the page file size. When that option is set on Windows XP and Server 2003, Windows creates a single paging file that’s minimum size is 1.5 times RAM if RAM is less than 1GB, and RAM if it’s greater than 1GB, and that has a maximum size that’s three times RAM. On Windows Vista and Server 2008, the minimum is intended to be large enough to hold a kernel-memory crash dump and is RAM plus 300MB or 1GB, whichever is larger. The maximum is either three times the size of RAM or 4GB, whichever is larger. That explains why the peak commit on my 8GB 64-bit system that’s visible in one of the screenshots is 32GB. I guess whoever wrote that code got their guidance from one of those magazines I mentioned!

    A couple of final limits related to virtual memory are the maximum size and number of paging files supported by Windows. 32-bit Windows has a maximum paging file size of 16TB (4GB if you for some reason run in non-PAE mode) and 64-bit Windows can having paging files that are up to 16TB in size on x64 and 32TB on IA64. Windows 8 ARM’s maximum paging file size is is 4GB. For all versions, Windows supports up to 16 paging files, where each must be on a separate volume
      My Computer


  10. Posts : 14,903
    Windows 10 Pro
       #240

    I am aware of it, I only mentioned it
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:39.
Find Us




Windows 10 Forums