Windows 10
Click/tap on your desktop, press and hold the Shift + Ctrl keys and press a number key 1 to 8 until you have the view layout you want for your desktop, then release the Shift and Ctrl keys.

This will not work using the number pad. You will need to use the numbers at the top of the keyboard.
Number | View Layout |
1 | Extra large icons |
2 | Large icons |
3 | Medium icons |
4 | Small icons |
5 | List |
6 | Details |
7 | Tiles |
8 | Content |