Question: how do i transfer all my photos from icloud to pc?
Answer: In a browser on your PC, navigate to iCloud.com and log in with your Apple ID credentials when requested.
Click the "Photos" icon.
Find the photos you want to download. ... 
Click the photo or photos you want to download to your PC.