• Welcome to Peterborough Linux User Group (Canada) Forum.
 

Windows 10 repair/reinstall disk question

Started by fox, August 20, 2019, 02:02:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fox

After my disaster a few weeks ago in removing Ubuntu to get my old Dell ready for sale, I decided to be proactive for my new Dell (though I don't intend to sell it anytime soon.) What I did was to prepare a Windows 10 repair/reinstall usb disk. Which I did with no problem. My understanding is that I could use it to reset the computer to factory settings, including removal of the Linux and grub partitions. Of course I've done Windows 10 updates since I made that disk, including the latest upgrade to version 1903. So here is my question. Would I have to re-prepare the repair/reinstall usb disk to get those updates onto the computer I would want to reset?
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

#2
In other words, the disk will restore Windows to the state it was in st the time the disk was created, but without a user. So it will start the process a new buyer of the computer goes through to create a user, set wifi, etc?

In my case, I also have a recovery partition installed on the laptop. Does the recovery partition update itself as a result of applying Windows updates? If so, can I reset the computer through the recovery partition instead of through the usb stick? This wouldn't have been an option in my old xps 13 because something I did not only made it unbootable, but it also destroyed both the Windows and recovery partitions.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

Quote from: fox on August 20, 2019, 02:47:45 PM
In other words, the disk will restore Windows to the state it was in st the time the disk was created, but without a user. So it will start the process a new buyer of the conputer goes through to create a user, set wifi, etc?

That I'm not sure about. Whenever I've created install media inside of Windows and I reinstalled, the user was something that was asked about during the install. I think what you're talking about is an OEM install done by the manufacturer. That would likely be on the recovery partition that you mentioned next.

QuoteDoes the recovery partition update itself as a result of applying Windows updates? If so, can I reset the computer through the recovery partition instead of through the usb stick?

I don't believe so but there is an option in Windows to make your own recovery partition. Honestly, you're selling a laptop, people are not going to expect it to have the latest updates. They wouldn't get that if they bought it new from a store unless it's one of the independent stores that is particularly kind to their customers. So if I was you, I'd just use the existing recovery partition. You're basically putting the machine back the state that it was in when you bought it.

* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

Quote from: Jason Wallwork on August 20, 2019, 03:05:35 PM
Quote from: fox on August 20, 2019, 02:47:45 PM
In other words, the disk will restore Windows to the state it was in st the time the disk was created, but without a user. So it will start the process a new buyer of the conputer goes through to create a user, set wifi, etc?

That I'm not sure about. Whenever I've created install media inside of Windows and I reinstalled, the user was something that was asked about during the install. I think what you're talking about is an OEM install done by the manufacturer. That would likely be on the recovery partition that you mentioned next.
So if I understand correctly, I could make a recovery usb disk near the time of sale and use it to remove Linux and return Windows to its recent state, but I'll probably still have my own account on it. If so, I could make a new user account and delete mine.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

Quote from: fox on August 20, 2019, 03:19:47 PM
Quote from: Jason Wallwork on August 20, 2019, 03:05:35 PM
So if I understand correctly, I could make a recovery usb disk near the time of sale and use it to remove Linux and return Windows to its recent state, but I'll probably still have my own account on it. If so, I could make a new user account and delete mine.

I believe that's correct. Note there are different kinds of media you can create.

For example if you do a search for the microsoft media creation tool, you can create a fresh install of Windows 10 but with the 1903 update (which would include all the other updates before it). But I think when you do the install, you will have to create a user account as a part of the install process. You're stuck with that no matter what you do, unless you use the restore partition which I think you said has the manufacturer-installed Windows so it won't have all the updates.

Under Recovery in Settings there is also an option for Reset This PC which can remove all your personal settings and files but you will have the most recent updates. There's also a Refresh option which I think is the same thing.

So I'm not sure which way you're trying to do it. As far as I know the repair disk option doesn't actually have Windows 10 on it. How did you create the usb stick before?
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

#6
Quote from: Jason Wallwork on August 20, 2019, 03:47:31 PM
...
For example if you do a search for the microsoft media creation tool, you can create a fresh install of Windows 10 but with the 1903 update (which would include all the other updates before it). But I think when you do the install, you will have to create a user account as a part of the install process. You're stuck with that no matter what you do, unless you use the restore partition which I think you said has the manufacturer-installed Windows so it won't have all the updates.

Under Recovery in Settings there is also an option for Reset This PC which can remove all your personal settings and files but you will have the most recent updates. There's also a Refresh option which I think is the same thing.

So I'm not sure which way you're trying to do it. As far as I know the repair disk option doesn't actually have Windows 10 on it. How did you create the usb stick before?
[/quote]

All of these options look good to me, and even if I have to create an account, that's no problem. I did that for the buyer, with his first name and a simple password that he could change.

The repair disk I created for my first sale, the Acer, used a Microsoft tool, and it had the option to install system files. It took a long time. That one worked. As I recall, I didn't delete any partitions until it was created. I then deleted the Linux and grub partitions, started up the computer with this disk, and it restored the Windows bootloader. I was then able to expand the Windows partition to take up the whole disk. I don't remember whether I was able to do that from within Windows or by using a Parted Magic usb disk.

I saved that Acer usb repair disk for the old Dell xps restore operation. I first destroyed the ext 4 partitions on the xps, but there were a bunch of small partitions on it and I wasn't sure which was the bootloader so I stopped there, figuring that the repair disk would restore the Windows boot. But I had done one other thing prior, which was to move the Linux partitions to the back of the drive to allow the Windows restore partition to be moved to the right and the regular Windows partition to be expanded. I did these things in gparted with a Parted Magic disk. Messing with those Windows partitions might have been the problem. After that, I couldn't restore the Windows bootloader and I couldn't find a Windows partition with that disk. That's how I got snookered.

For the current xps 13, I actually found a Dell tool to make the restore/repair usb disk from. I tried booting from it and it works, but I didn't take it any further, as I don't want anything done to my laptop now. But I had the Dell tool copy system files from the Windows restore or Windows partitions, so it took more than an hour to make.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

buster

I think I read somewhere that once a computer has an oem install, and it has been in contact with the Microsoft servers (or not?), the fact that it is legitimate is known somehow. So you can download from Microsoft the latest up to date iso and install it. Maybe a few updates from there. The computer is 'recognized'.

Dougal knows more about this stuff. And try looking for it on web.

I didn't use this method because it hadn't got out of 7 yet, and secondly, I didn't know anything about this method.  :)

Worth reading about. Save a lot of trouble.
Growing up from childhood and becoming an adult is highly overrated.

fox

There is one kicker with Dell. It has its own specific Windows drivers that I don't think are picked up in a standard Windows install. But they would be picked up in any of the restore methods we have been talking about. They can also be downloaded from Dell's website after a Windows install.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

#9
Quote from: buster on August 20, 2019, 04:58:58 PM
I think I read somewhere that once a computer has an oem install, and it has been in contact with the Microsoft servers (or not?), the fact that it is legitimate is known somehow. So you can download from Microsoft the latest up to date iso and install it. Maybe a few updates from there. The computer is 'recognized'.

Yes, that's a digital entitlement. It's pretty standard on any machine that has been upgraded from a previous version of Windows or already has a Windows 10 license. I've also read that you can use Windows 7/8/8.1 license keys for Windows 10.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

Jason

#10
Mike, I just used Microsoft's media creation tool from my existing desktop which has 1903. It takes a while to do. After that, I booted up the laptop with it and successfully installed Windows 10 Pro and I checked and it is the 1903 version. The things I do for you. :) I was curious, to be honest what it would look like, the 1903 install looks very different.

But a word of warning, when it asks you to create a login and password in this edition it forces you to choose 3 security questions and answers in case you forgot your password. I saw no way of getting out of this. However, I note that with the first reboot after installing Windows but before doing the setup steps (keyboard, wireless, user account, privacy settings), you no longer need the USB stick. So you could sell in that condition and the user will set everything up to their liking. It only added about 15 minutes extra. After a couple of more reboots, it's done.

That won't help you with the drivers obviously. However, what drivers does the Dell laptop actually need that aren't supplied by Windows?
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

Thanks for testing this, Jason; that’s above and beyond! I can’t recall all of the Dell-specific drivers, but there were about 5.
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

Were they needed drivers or just nice-to-have drivers? I know that my Toshiba has a bunch of extras that I can install for Windows 10 but I haven't bothered because it seems to work fine as is.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

I'm pretty sure that they were performance-optimizing drivers. But I'll say this for Dell. They included several utilities that made it easy to optimize performance and find and install firmware and updated Dell drivers, and make a repair/reinstall disk. (This on Windows 10 of course.) These must be relatively recent additions; I don't think those utilities were available with the 2015 xps 13 that I sold. Bill, does your xps have such utilities?
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

dougal

this piece from wikipedia on updates may be what Buster was pointing to:
On the general availability build of Windows 10 Version 1507, to activate and generate the "digital entitlement" for Windows 10, the operating system must have first been installed as an in-place upgrade. During the free upgrade, a genuineticket.xml file is created in the background and the system's motherboard details are registered with a Microsoft Product Activation server. Once installed, the operating system can be reinstalled on that particular system via normal means without a product key, and the system's license will automatically be detected via online activation - in essence, the Microsoft Product Activation Server will remember the system's motherboard and give it the green light for product re-activation.[147][163][164] Due to installation issues with Upgrade Only installs, in November 2015, Windows 10 Version 1511 was released with additional activation mechanisms. This build treated Windows 7 and Windows 8/8.1 product keys as Windows 10 Product Keys, meaning they could be entered during installation to activate the free license, without the need to upgrade first to "activate" the hardware with Microsoft's activation servers.[165] For major Original Equipment Manufacturers (OEMs), Windows 8/8.1 and Windows 10 OEM Product Keys are embedded in the firmware of the motherboard and if the correct edition of Windows 10 is present on the installation media, they are automatically inputted during installation. Since the release of Windows 10 version 1709, Microsoft decided to release multi-edition installation media, to alleviate installation and product activation issues users experienced due to accidentally installing the wrong Edition of Windows 10. Despite the 1-year free upgrade offer having long expired, all activation mechanisms involving Windows 7 and Windows 8 keys still work with all subsequent builds of Windows 10, even Windows 7 and Windows 8/8.1 product keys that have never been used for a previous Windows 10 installation.
you still have OEM additions to play with separately i  assume.