SOLVED Windows 10 Slow boot, nearly 1 hour

Joined
Jun 20, 2019
Messages
3
Reaction score
0
I have an issue with Windows 10 Pro 1809 on a Surface Pro 4 very slow to boot, nearly 1 hour and when eventually it does start loads of Windows services are not started. I have performed a Windows performance Analysis and it looks like the issue is ntoskrnl.exe!memcpy. services.exe take loads of time of time and if I drill in it shows ntoskrnl.exe!memcpy. It feels like a driver issue, I have performed a clean boot and it still does the same thin. Stack trace is below
Line #ProcessStackCountWeight (in view) (ms)TimeStamp (s)% Weight
1Idle (0)[Idle]99199,837,939.25724674.42
2services.exe (856)30798613,079,932.67362523.30
3[Root]30798113,079,882.67492523.30
4 |- ntdll.dll!RtlUserThreadStart30797673,079,839.84342523.30
5 | |- kernel32.dll!BaseThreadInitThunk30797623,079,834.84312523.30
6 | | |- services.exe!DrvMgrWorkerThreadThunk30753183,075,392.25452223.26
7 | | | WUDFPlatform.dll!WdfLpc::RetrieveMessage30753183,075,392.25452223.26
8 | | | WUDFPlatform.dll!WdfLpcConnPort::processMessage30753183,075,392.25452223.26
9 | | | WUDFPlatform.dll!WdfLpcCommPort::processMessage30753183,075,392.25452223.26
10 | | | WUDFPlatform.dll!WdfLpcPort::processMessage30753183,075,392.25452223.26
11 | | | services.exe!DrvMgrLpcNotification::Message30753183,075,392.25452223.26
12 | | | |- services.exe!WdfDevNode::LoadProcess30752933,075,367.25442223.26
13 | | | | |- services.exe!WdfObjectList<WdfProcess,WdfProcessParameters>::Find30752913,075,365.25402223.26
14 | | | | | services.exe!WdfProcess::WdfProcess30752913,075,365.25402223.26
15 | | | | | |- profapi.dll!LoadProfileBasic30752833,075,357.24452223.26
16 | | | | | | profapi.dll!_LoadServiceProfile30752833,075,357.24452223.26
17 | | | | | | profapi.dll!_LoadHiveAndPerformFirstActions30752833,075,357.24452223.26
18 | | | | | | profapi.dll!_LoadHive30752833,075,357.24452223.26
19 | | | | | | KernelBase.dll!RegLoadKeyW30752833,075,357.24452223.26
20 | | | | | | KernelBase.dll!LocalBaseRegLoadKey30752833,075,357.24452223.26
21 | | | | | | ntdll.dll!ZwLoadKey30752833,075,357.24452223.26
22 | | | | | | |- ntoskrnl.exe!KiSystemServiceCopyEnd30752713,075,345.24542223.26
23 | | | | | | | ntoskrnl.exe!NtLoadKey30752713,075,345.24542223.26
24 | | | | | | | ntoskrnl.exe!NtLoadKeyEx30752713,075,345.24542223.26
25 | | | | | | | ntoskrnl.exe!CmLoadDifferencingKey30752713,075,345.24542223.26
26 | | | | | | | ntoskrnl.exe!CmLoadKey30752713,075,345.24542223.26
27 | | | | | | | |- ntoskrnl.exe!CmpCmdHiveOpen30752673,075,341.24502223.26
28 | | | | | | | | ntoskrnl.exe!CmpInitHiveFromFile30752673,075,341.24502223.26
29 | | | | | | | | ntoskrnl.exe!CmpCreateHive30752673,075,341.24502223.26
30 | | | | | | | | |- ntoskrnl.exe!CmCheckRegistry30746033,074,676.43652223.26
31 | | | | | | | | | |- ntoskrnl.exe!CmpValidateHiveSecurityDescriptors29709992,970,853.05622222.47
32 | | | | | | | | | | |- ntoskrnl.exe!CmpAddSecurityCellToCache29681032,967,956.65423322.45
33 | | | | | | | | | | | |- ntoskrnl.exe!memcpy29517982,951,597.57082222.33
34 | | | | | | | | | | | | |- ntoskrnl.exe!memcpy<itself>29265662,926,540.34267122.14
35 | | | | | | | | | | | | | 11.100000573.1236715000.00
36 | | | | | | | | | | | | | 11.1000001,559.6817999000.00
37 | | | | | | | | | | | | | 11.100000555.7826331000.00
38 | | | | | | | | | | | | | 11.100000809.1203451000.00
39 | | | | | | | | | | | | | 11.099900523.5812087000.00
40 | | | | | | | | | | | | | 11.099900668.7652632000.00
41 | | | | | | | | | | | | | 11.099900528.2350971000.00
42 | | | | | | | | | | | | | 11.099900668.6513113000.00
43 | | | | | | | | | | | | | 11.099800608.3199707000.00
44 | | | | | | | | | | | | | 11.099800666.6525208000.00
45 | | | | | | | | | | | | | 11.099800555.0916163000.00
46 | | | | | | | | | | | | | 11.0997002,104.8874613000.00
47 | | | | | | | | | | | | | 11.099700808.5430087000.00
48 | | | | | | | | | | | | | 11.099600555.2198789000.00
49 | | | | | | | | | | | | | 11.099600318.8706690000.00
50 | | | | | | | | | | | | | 11.099600518.3112866000.00
51 | | | | | | | | | | | | | 11.099501527.8672964000.00
52 | | | | | | | | | | | | | 11.099500115.1624819000.00
 
Joined
Jan 21, 2018
Messages
245
Reaction score
45
Firstly, what are the specs of your SP4? Does it have Intel Skylake low-voltage dual-core, m3-6Y30 900 MHz up to 2.2 GHz, 4 MB cache, 4.5 W, i5-6300U 2.4 up to 3.0 GHz, 3 MB cache, 15 W, i7-6650U 2.2 up to 3.4 GHz, 4 MB cache, 15W, has it got 4 GB, 8 GB, or 16 GB RAM? Has it got SSD: 128 GB, 256 GB, 512 GB, or 1 TB etc etc

Have you checked if your SP4 has any hardware issues? Because, your symptoms sound like hardware e.g. Battery, RAM, SSD or CPU issues.
The SP4 is known to have certain issues
  • Short battery life, overheating battery which deteriorate and stop functioning to their full capacity.
  • Wide spread flicker (or Flickergate) issues with the display.
  • Microsoft has stated that bad batteries, pens and Type Covers may be repaired under warranty.
  • The Type Cover also has connectivity issues that afflict many, often due to a Windows update. This seems to be a common issue across the Surface series, with a sudden death to the Type Cove.
Yes, I know that not all the issues above can be your problems but, I would definitely look at the battery issue (and replace it) as that could be a main culprit here. Also and firstly, I would defiantly (once the system boots up) back it up with a program called 'Macrium Reflect' its free, you can download it here: https://www.macrium.com/reflectfree then try and do a fresh install of Windows 10 and see if the boot problem persists, as that is a very easy way of analysing these sorts of software/hardware problems. Hope this helps, cheers!
 
Last edited:
Joined
Jun 20, 2019
Messages
3
Reaction score
0
Thanks for your reply, it is not a hardware issue, i have run several sets of diagnostics, all come back clean. If i boot from USB to a different OS , all hardware is functioning correctly and boot take 1 minute. I don't have the spec or SP4 in front of me but I will upload it as soon as possible.

Thanks again for the reply
 
Joined
Jan 21, 2018
Messages
245
Reaction score
45
Thanks for your reply, it is not a hardware issue, i have run several sets of diagnostics, all come back clean. If i boot from USB to a different OS , all hardware is functioning correctly and boot take 1 minute. I don't have the spec or SP4 in front of me but I will upload it as soon as possible.

Thanks again for the reply
Its good that you have done that, its the way to do things and eliminate all the probable's before doing anything drastic. If its a boot software issue, I would not try to fix it ,as you might have lost certain files and it will never ever be the same as a fresh install, try to backup all your files that you can (after that painful 1 hour boot lol) and reinstall a windows fresh install!
 
Joined
Jun 20, 2019
Messages
3
Reaction score
0
It turns out it is a MIcrosoft bug, a registry key is getting bloated HKey_Users\S-1-5-19\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Mappings

(Bloating seems to be related to pac files)

Delete the key and boot from WinPE and rename the c:\windows\serviceprofile\localservice folder, it will recreate during startup.

Microsoft are working on a fix which is expected in July 2019.
 
Joined
Jan 21, 2018
Messages
245
Reaction score
45
It turns out it is a MIcrosoft bug, a registry key is getting bloated HKey_Users\S-1-5-19\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Mappings

(Bloating seems to be related to pac files)

Delete the key and boot from WinPE and rename the c:\windows\serviceprofile\localservice folder, it will recreate during startup.

Microsoft are working on a fix which is expected in July 2019.
I don't have such a registry key in my registry "HKey_Users\S-1-5-19\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Mappings"
Below are my registry entry that you have referred to and I've never ever had that booting problem! i would suggest that you backup your OP and reinstall a fresh install of Win-10, forget about a Microsoft fix lol
 

Attachments

  • regedit.JPG
    regedit.JPG
    35.1 KB · Views: 286

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top