Since Windows 8, Microsoft has introduced a new way to reset your computer to the factory settings. But this function will work only if you have a recovery partition on your disk or recovery drive.

For Microsoft Surface, every device has a recovery partition from the factory by default. However, If you can’t access the partition or it has been deleted for any reason. You can still download a specific recovery image for your Surface tablet from the Microsoft Surface support website.