How To Format Laptop Windows 10 With Bootable Pendrive

Please excuse my novice status displayed in this question, but does one simply copy/paste the text in your registry update file, and does the resulting text file require the line number entries as displayed in your post?