Jump to content
isiTWilliams

In Place Upgrade Windows 7 to Windows 10

Recommended Posts

I've placed the code and a readme into a GitLab Repo

 

This will silently upgrade Windows 7 to Windows 10 and activate with the existing license key. I've only tested this on Windows 7 Pro machines.

When doing this, be careful if you're subject to audit because although the OS will be activated, you'll be punished by Microsoft if you're found to not have an actual Windows 10 License key.

It's simply to throw the Powershell code into an LT script. If running it outside of LabTech, then be sure to remove the top lines where the %LocationDrive% variable is declared.

 

 

I added logic to the script that will find and remove Microsoft Security Essentials if it is installed on a Windows 7 machine. This is incompatible with Windows 10 and will cause silent upgrades to fail if not removed.

Edited by isiTWilliams
Add additional info
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...