Solved

Activate Windows 7 with a script

Posted on 2011-09-25
4
1,013 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 ***
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

856 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