If the computer came pre formatted with two drives then it will be safe. If it was partitioned afterwards then it won’t
Within the factory restore is there the option to just replace the windows files