Editing Windows Registry HKCU

0

0805

Hello,

I have an issue I hope some one here can help me with I need to edit
some parts of the HKCU hive on the registry. I need to create a reg
file that I can deploy useing my CA Unicenter Software Delivery
Software.

How ever I am not able to edit the reg as another user so this is not
working i would like to use the reg add command but I dont know what
syntax to use here are the keys I need to edit hopeing someone can
help.

Ken

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer
\AdvancedOptions\BROWSE\SCRIPT_ERROR_CACHE]
"RegPath"="SOFTWARE\\Microsoft\\Internet Explorer\\Main"
"RegPoliciesPath"="SOFTWARE\\Policies\\Microsoft\\Internet Explorer\
\Main"
"Text"="Display a notification about every script error"
"PlugUIText"="@inetcpl.cpl,-4832"
"Type"="checkbox"
"CheckedValue"="no"
"UncheckedValue"="no"
"ValueName"="Error Dlg Displayed On Every Error"
"DefaultValue"="no"
"HKeyRoot"=dword:80000001
"HelpID"="iexplore.hlp#50526"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap\Domains\waters.com\wlinkprod]
"*"=dword:00000002


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings]
"SyncMode5"=dword:00000003


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Zones\2]
@=""
"DisplayName"="Trusted sites"
"Description"="This zone contains Web sites that you trust not to
damage your computer or data."
"Icon"="inetcpl.cpl#00004480"
"CurrentLevel"=dword:00000000
"Flags"=dword:00000043
"1001"=dword:00000000
"1004"=dword:00000000
"1200"=dword:00000000
"1201"=dword:00000000
"1405"=dword:00000000
 
D

duber3

REG ADD /? will give you all the information you need
here the first line of your registry

REG ADD "HKLM\SOFTWARE\Microsoft\Internet
Explorer\AdvancedOptions\BROWSE\SCRIPT_ERROR_CACHE" /v regpath /d
"SOFTWARE\Microsoft\Internet Explorer\Main"

/v is for value name /d is for The data to assign to a value

by default the type of registry is reg_sz if you need to specify a type
/t The type of value: REG_BINARY, REG_DWORD, REG_SZ, REG_MULTI_SZ, etc.

EX : HKLM\software\...\test /v my_value /t REG_DWORD /d my_data /f

/f : Forces overwriting of existing values with prompting
 

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