Problem with running a vbe script which registers some keys.

A

Avi Zohary

When running a windows script file that ends with the vbe extension, I
get this error:

Script: Add.vbe
Line: 4
Char: 1
Error: Element not found.

Code: 8002802B
Source: (null)



up to line 4, this was the script:

set oReg = Wscript.CreateObject("WScript.Shell")
oReg.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap\Domains\bbb.com\ddd.jer\TemplateRev" ,0, "REG_DWORD"


Now I know that this script works fine on other PCs in my network, but
specificaly on my comp, I get this error.

Any one knows if its a problem of enabling the script somehow?

thanks.
 
Top