this post was submitted on 15 Nov 2023
9 points (73.7% liked)

Selfhosted

39435 readers
3 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm planning to replace the existing SSD within my Dell Optiplex pc. When I bought it, it came with an SSD that had a windows installation with pro license activated. Now, when I replace this with a new SSD, how do I transfer the license?

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago

If you install fresh using a USB created by the Media Creation Tool, there is one detail you'll need to know. The install/OOBE setup will still prompt you to enter a key and activate. Just tell it to skip for now/activate later. Once it finishes and goes online, it will activate automatically.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (1 children)

Not at all, Windows 10 and beyond identify your hardware composition, so as long as you don't swap the mainboard, the license is automatically applied again upon internet connection (assuming you install the same windows version and do not enter another license key during installation). If you want to transfer your data though, get a cheap external USB HDD enclosure and use clonezilla to clone the drive. Edit: typos

[–] rotmulaaginskyrim 3 points 1 year ago
[–] [email protected] 10 points 1 year ago (2 children)

The system should activate itself if you only replace the disk.

But... if you ever need a license ~~use one of the activation scripts from massgravel on githu...~~ I mean buy a new license on microsoft.com and enjoy your shiny, legally activated operaring system.

...or just install Linux, if your use case allows you to do so

[–] [email protected] 2 points 1 year ago

There are a ton of $29 license sites out there as well. Yes, it’s grey market, but it’s not like anyone has gotten support from MS anyway.

[–] [email protected] 1 points 1 year ago

This is the correct answer. Dell, and other oems, have stored their windows keys in firmware on motherboards for years now. You could literally install on a fresh drive and it should auto activate. Typically at most you have to go to click activate yourself.

This is all assuming the machine came with a pro license and wasn't upgraded of course. It should have a sticker on it.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

So some fun facts:

  • If you buy enough licenses from Microsoft, instead of giving you a bunch of unique licence keys to keep track of, they will give you a license that you can install on a server, and a special "volume license key" that you use on every machine - then, instead of talking to Microsoft to activate themselves, they connect to your server which ensures that it is only activating as many machines as you have licenses for
  • These volume license keys are public knowledge to the point that Microsoft publish them on their site because they are useless unless you have a server to validate the activations
  • The server protocol is not complex, has been reverse engineered, and there are open source server implementations that forget the whole "ensure you have the right number of licenses" part
[–] [email protected] 5 points 1 year ago

The license is tied to the motherboard and hardware, so you don't need to do anything to transfer it. Just make sure you install the same version (ie; 10 Pro) if doing a fresh install.

[–] [email protected] 4 points 1 year ago

Just in case it doesn't carry over, run this first to get your Windows Pro key: https://www.nirsoft.net/utils/product_cd_key_viewer.html

[–] [email protected] 4 points 1 year ago

How new is the optiplex? If it shipped with windows 8.0 or newer then the key is embedded in the bios and there is no transferring of the key.

If it shipped with windows 7 then just activate it like normal over the phone and it should work.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

My (non-digital/non-microsoft account) windows pro license deactivated when I did ssd swap about a week ago (but I did a full bit copy then expanded the file system).

Let's just say I didn't buy a new license after that.

[–] [email protected] 3 points 1 year ago (1 children)

As far as I know, Windows 10 licenses are on the motherboard/BIOS, so changing the harddrive should just work.

I have heard some talk about the license getting disabled if you switch some hardware in machines as it no longer can identify it as the same machine.

[–] rotmulaaginskyrim 3 points 1 year ago

aha, thanks!

[–] [email protected] 3 points 1 year ago

massgrave.dev

[–] [email protected] 1 points 1 year ago (1 children)

If you're replacing, why not clone the old drive to the new and expand to fill?

[–] rotmulaaginskyrim 2 points 1 year ago (1 children)

I don't think I have the equipment necessary to clone. This PC has only one m.2 slot. I'm guessing I need to get a M.2 to USB enclosure to clone right?

[–] [email protected] 2 points 1 year ago (1 children)

Image it, store image in another drive, swap m.2, restore image

[–] rotmulaaginskyrim 2 points 1 year ago

oh, awesome! Will look into this approach.