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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top