¿Modificar clave reg usando archivo .vbs?
Trate de modificar la siguiente clave de registro usando vbscript, los ejecute como administrador y aun desactivando el UAC sin éxito, por favor como podría hacerlo, cabe recalcar que con un archivo bat si logro mi objetivo pero por ahora por favor si se puede en vbscript... Gracias
===================================================================================
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\PeaZip]
"Lang"="es"
[HKEY_CURRENT_USER\SOFTWARE\PeaZip\Options]
"MenuIcons"=dword:00000001
"ElimDupExtract"=dword:00000000
"ContextMenu"=dword:00000323
==================================================
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\PeaZip", "Lang", "REG_SZ", "es"
WshShell.RegWrite "HKCU\Software\PeaZip\Options", "MenuIcons", "REG_DWORD", 1
WshShell.RegWrite "HKCU\Software\PeaZip\Options", "ElimDupExtract", "REG_DWORD", 0
WshShell.RegWrite "HKCU\Software\PeaZip\Options", "ContextMenu", "REG_DWORD", 803
Set WshShell = Nothing
==================================================
Set objSHL = CreateObject("WScript.Shell")
objSHL.RegWrite "HKCU\Software\PeaZip", "Lang", "REG_SZ", "es"
objSHL.RegWrite "HKCU\Software\PeaZip\Options", "MenuIcons", "REG_DWORD", 1
objSHL.RegWrite "HKCU\Software\PeaZip\Options", "ElimDupExtract", "REG_DWORD", 0
objSHL.RegWrite "HKCU\Software\PeaZip\Options", "ContextMenu", "REG_DWORD", 803
Set objSHL = Nothing
===================================================
Set objShell = CreateObject("WScript.Shell")
objShell.RegWrite "HKCU\Software\PeaZip", "Lang", "REG_SZ", "es"
objShell.RegWrite "HKCU\Software\PeaZip\Options", "MenuIcons", "REG_DWORD", 1
objShell.RegWrite "HKCU\Software\PeaZip\Options", "ElimDupExtract", "REG_DWORD", 0
objShell.RegWrite "HKCU\Software\PeaZip\Options", "ContextMenu", "REG_DWORD", 803
Set objShell = Nothing