Do you have another drive with enough free space to hold the entirety of your current OS drive?
Not necessarily "512GB", but just the consumed space.
If so, easy.
----------------------------------
1x m.2 slot with an Image
Assuming you have another drive (any type of drive) with sufficient free space to hold the entirety of your current m.2 drive:
- Download and install Macrium Reflect
- Run that, and create a Rescue CD or USB (you'll use this later). "Other Tasks". Create this on a small USB flash drive or DVD.
- In the Macrium client, create an Image to some other drive. External USB HDD, maybe. Select all partitions. This results in a file of xxxx.mrimage
- When done, power OFF.
- Swap the 2 drives
- Boot up from the Rescue USB you created earlier.
- Restore (on the toolbar), and tell it where the Image is that you created in step 3, and which drive to apply it to...the new m.2
- Go, and wait until it finishes.
- That's all...this should work.