Windows 10 Serial Auslesen



  1. Windows Lizenz Auslesen
  2. Windows 10 Serial Auslesen
  3. Windows 10 Serial Auslesen Cmd

Someone asked med a while back

Windows 10 lizenzschluessel auslesen

– Is it possible to upgrade our Windows 7,8,8.1 and unsupported Windows 10 machines to a supported version of Windows 10 without a deployment solution?

….(thinking)

Tanks, but that way of installing Win 10 doesn't work. The installer runs all the way intil it says 'installing windows to 10% or so and then stops and shows a pop-up titled 'something happened. saying 'installation failed'. Load Hive option - allows you to load the registry hive of another Windows installation. To use, put the hard drive in a working machine (must also be Windows 2000, XP, Vista, Windows 7, 8 or 10) or use Windows PE (not tested, should work) and click Load Hive. Then point it to the dead Windows install. Re: Windows 10 product key 2017-04-19, 10:18 AM Yep, since 8.1 the key is embedded in the BIOS, so you will not need to type it in during the install, so when you get to the part of the installation where is asks for the key, just click on the 'I do not have a key' link and it will continue to install, and activate automatically.

– You mean without running around to all machines?

Windows 10 Serial Auslesen

….(Thinking)

– Yes, it is possible

Before explaining how that can be done, let’s be clear, if you have ConfigMgr or Microsoft Deployment Toolkit, that is far better then doing it this way, but you could be in a situation when that is not an option but you still need to achieve the same goal, upgrade to a supported version of Windows 10. (I’ll write another post on how to combine the scripts here with MDT)

Overview:

Assuming you have a licensed version of Windows 10, the Windows 10 Media, a network and access to all the computers over the network it will be possible to push out an upgrade. This method also works if you are running an older version of Windows 10 and would like to upgrade to a never version of Windows 10. The way to do this is rather easy, we basically need to perform the following steps:

Windows 10 product key auslesen cmd

– Enable remote access for PowerShell

– Copy the media down to the computer

– Run a compatibility scan to verify that we can upgrade

– Upgrade

Create a CSV file for computers that should be upgraded:

First of all we need to create a .CSV file with the computers that should be upgraded, the file contains the 3 servers I would like to upgrade to Windows 10.


Content of computers.txt

Store the file in your computer, in my case I stored it in D:Upgrade2w10Computers.txt

Enable remote access for PowerShell:

We need to access the computers using Remote PowerShell and therefor we need to enable that. This can be done using various method and one easy/weird/fun way to to that is to use WMI. The script below will connect using WMI and execute two commands on each server:

The following PowerShell script enables WinRM (Remote Access) and Remote PowerShell.


Content of Invoke-ComputerPrep.ps1

The result after running the script is this:

Copy the media down to the computer:

Now when we have access to all the machine, we can copy the media down to each machine and we will do that in a reversed way. We will create a scheduled task on each Windows 7 machine and the scheduled task will then download the content to the local hard drive. You need to edit the settings in this file to match your environment.


Content of Invoke-ImageDownload.ps1

Here is how it looks when you run the script:

Run a compatibility scan to verify that we can upgrade:

Ok, so we have the Windows 10 image in the C:Source folder of each computer, now lets run the Compat Scan.

The script will connect to each computer, create a plain vanilla .BAT file and then we will remotely execute that:

And here is the result, as you can see all, none of the machines had any issues.

Upgrade:

Windows Lizenz Auslesen

Ok, so the final step. The only thing we need to do is fire up the install program, and for that we use PsExec, it’s old but works for this kind of work.

The script will connect to each machine, create a .BAT file and then we let PSExec execute it.


Content of Invoke-ComputerUpgrade.ps1

Here is the result of running that, as you can see all (you can only see Win-01) of the machines is returning a success (return code 0)

Ok, so, what next, well, since the return code was 0, lets restart them…

Windows 10 Serial Auslesen

The scripts can be downloaded here: https://github.com/DeploymentBunny/Files/tree/master/Tools/MassUpgradeWindows10

Windows 10 Serial Auslesen Cmd

/mike