Solved

Activate Windows 7 with a script

Posted on 2011-09-25
4
1,048 Views
Last Modified: 2012-08-14
Hi

How can we run the activation from Windows 7 with a script? All the clients have Retail software.

Thanks,
0
Comment
Question by:*** Hopeleonie ***
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
Pete Long earned 250 total points
ID: 36596200

This will change the key (if required)

cscript //b c:\windows\system32\slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX <-----Windows 7 VL / MAK key

This will activate

cscript //b c:\windows\system32\slmgr.vbs /ato
0
 
LVL 3

Assisted Solution

by:hrr1963
hrr1963 earned 250 total points
ID: 36596661
Also this other way works.

In a batch run (.bat) :

slmgr.vbs -ipk <type your product key here>
slmgr.vbs -ato
0
 
LVL 19

Author Comment

by:*** Hopeleonie ***
ID: 36600619
Hi

I will try this and let you know.

Thanks a lot you both!
0
 
LVL 19

Author Closing Comment

by:*** Hopeleonie ***
ID: 36817304
Hi PeteLong

both solutions are working.

Thanks to both!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question