1 - Abra o bloco de notas e cole este script:
'***************** I N I C I O ************************************************
'
' WMI Script - ChangeVLKey.vbs
'
' Este script altera a chave de produto no computador
'
'***************************************************************************
ON ERROR RESUME NEXT
if Wscript.arguments.count<1 then
Wscript.echo "Script can't run without VolumeProductKey argument"
Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs THMPV-77D6F-94376-8HGKG-VRDRQ"
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
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents\OOBETimer" 'delete OOBETimer registry value
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
'**************************** F I M *****************************************
2 - Salve-o com o nome: ChangeVLKey.vbs em C:\
3 - Clique em: iniciar -> Executar.
4 - Digite: ChangeVLKey.vbs THMPV-77D6F-94376-8HGKG-VRDRQ
5 - Espere um pouco e reinicie o windows.
quinta-feira, 30 de setembro de 2010
quarta-feira, 22 de setembro de 2010
Resolvendo problema de IOS paulado.
Baixar e instalar o SolarWinds TFTP Server.
Baixar e salvar na pasta C:\TFTP-Root\ o IOS que voce deseja colocar. Ex: c1700-ipbase-mz.123-6c.bin
Colocar o ip no seu micro:
IP 192.168.0.1
M: 255.255.255.0
Acessar o router via hiper terminal usando o cabo serial.
Ligar o router e precionar:
crtl + break
Quando aparecer "rommon 1 >" digite:
rommon 1 > set
rommon 2 > IP_ADDRESS=192.168.0.2
rommon 3 > IP_SUBNET_MASK=255.255.255.0
rommon 4 > DEFAULT_GATEWAY=192.168.0.1
rommon 5 > TFTP_SERVER=192.168.0.1
rommon 6 > TFTP_FILE=c1700-ipbase-mz.123-6c.bin
rommon 7 > tftpdnld
Baixar e salvar na pasta C:\TFTP-Root\ o IOS que voce deseja colocar. Ex: c1700-ipbase-mz.123-6c.bin
Colocar o ip no seu micro:
IP 192.168.0.1
M: 255.255.255.0
Acessar o router via hiper terminal usando o cabo serial.
Ligar o router e precionar:
crtl + break
Quando aparecer "rommon 1 >" digite:
rommon 1 > set
rommon 2 > IP_ADDRESS=192.168.0.2
rommon 3 > IP_SUBNET_MASK=255.255.255.0
rommon 4 > DEFAULT_GATEWAY=192.168.0.1
rommon 5 > TFTP_SERVER=192.168.0.1
rommon 6 > TFTP_FILE=c1700-ipbase-mz.123-6c.bin
rommon 7 > tftpdnld
Assinar:
Postagens (Atom)