Slow booting system, long black screen laptop with two graphics cards

Slow startup windows 10 and 11 of a laptop with two graphics cards inte and ati or amd...

I had a problem with HP Pavilion dv7-6c57ez who has Intel HD Graphics 3000 and AMD Radeon HD 7470M ...

How to solve the problem.
You need to start cmd ...

Then you should start regedit. that is, type:

regedit

At four locations in regetit you need to edit two files at each location, eight in total.
You have one at each location EnableUlps and EnableUlps_NA
All you need to edit is to set their value data to 0

These are 4 locations in regedit ...

Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\amdkmdag
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\amdkmdag
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000

For example: