Solved

Activate Windows 7 with a script

Posted on 2011-09-25
4
990 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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 give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now