TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Geo
from: Antti Kurenniemi
date: 2006-07-03 15:02:00
subject: Re: Xandros Wins the Golden Kneepads at ZD

From: "Antti Kurenniemi" 

"Geo"  wrote in message news:44a8153a{at}w3.nls.net...
>> Two of the 3 programs I've just downloaded and tried allow you to modify
> the
>> CD Key in the registry.  I don't know if that would have helped your
>> experience below or not.
>
> Imagine if a virus decided to go and change the key..

Here's a VBScript script for you to change a volume license key to whatever you want:


ON ERROR RESUME NEXT

if Wscript.arguments.count<1 then
Wscript.echo "Script can't run without Key argument" Wscript.echo
"Correct usage: Cscript ChangeVLKey.vbs
ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX"
Wscript.quit
end if

Dim VOL_PROD_KEY
VOL_PROD_KEY = Wscript.arguments.Item(0) VOL_PROD_KEY =
Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any

for each Obj in
GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf
("win32_WindowsProductActivation")

result = Obj.SetProductKey (VOL_PROD_KEY)

if err  0 then
WScript.Echo Err.Description, "0x" & Hex(Err.Number) Err.Clear
end if

Next


...and here's how to use it:

c:\changekeyscript.vbs ab123-123ab-ab123-123ab-ab123


How's that for a light trigger, eh?


Antti Kurenniemi

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.