Worth updating, why not? after all is knowledge for others too.
Acting on the assumption that the extended start up times I am experiencing (almost 5 minutes from entering pin or password until START screen appears) might be due to disk fragmentation I decided to defrag my Windows drive.
Of course a major obstacle in that exercise is the pagefile so I decided to set up a page partition on the disk that I use for online backups and file history since that disk is lightly used.
All well and good but then I spot SWAPFILE.SYS which apparently always gets on to the Windows drive no matter where the pagefile is located.
How can I move that file to another location?
First, forget about the swapfile.sys, you will go almost nuts trying to get rid of it, or the issues that come after somehow removing it. This is a SEPARATE file needed for universal apps. This means there is not just one unique-one-and-only swap file used by Windows.
Second, if we focused on what the original issue seems to be (speed after entering pin or password), you should look at the following:
1. Mechanical drive vs SSD (it matters a lot)
2. Startup items being executed (there are plenty of places, don't rely only on "startup items" list on the task manager, I suggest using Autoruns to find out what's being executed, you can disable them as needed.
3. Task Scheduler, check what actions are triggered and executed on system unlock, when starting up, starting a session, etc. You may be surprised.
4. Yes, remove bloatware as needed
5. Add RAM if possible
6. Play with different virtual memory settings, and consider reinstalling Windows, or a diff version (I don't mean 8, 10, 11, I mean a diff windows 8 ISO, there are other flavors, and stock... the one coming originally with some devices is different, this is the case of the Surface coming with Windows 8 and other devices).
Old post but this warning is not out-dated.
[...]
*I still haven't figured out how to undo this!
*I should probably point out that ...
Nice info. I don't have all the details right now at the top of my brain, but I suggest being careful when you change these settings, as not all the results are definitive. This means you can change something, revert, and being unable to go back to previous states, or just end up lost in unpredictable results.
Many times with Windows (but specially 10 while not exclusively), I've faced the boring task of changing the virtual memory settings and restart only to find out Windows did something else, as it won't always do what you tell the OS to do. This means you can do something and think "oh, this didn't work", but it was actually Windows failing to obey.
Other than that, virtual memory can be set off, on automatic, or exclusively on one drive. I've had great luck storing virtual memory on a secondary drive, but I also faced some problems with certain hardware forcing me to just leave it on automatic on the same OS drive.
Additionally, you may want to try third party apps that change your virtual memory settings, sorry I don't remember right now exact names, but some tweakers do this.