Dim wshShell, RegKey
Set wshShell = Wscript.CreateObject("Wscript.Shell")
RegKey = "HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0"
wshShell.RegWrite RegKey & "ProcessorNameString", "Nombre de CPU", "REG_SZ"
Set objWshell = Nothing
Wscript.Quit
error
linea 20
caracter 1
error raiz no valida en la clave del registro
"HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0"
codigo 80070005
origen WshShell.RefWrite
es para modificar el nombre del procesador