Creating new registry key and asigning value

(imported topic written by mallika91)

I need to create new registry key by name "DelegateSentItemsStyle " in the below location and assign value 1.

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\Outlook\Preferences

I am trying the following key its not working.

regset "

http://HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\Outlook\Preferences

"DelegateSentItemsStyle"dword:00000001

In qna I got error like below.

Q: regset "

http://HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\12.0\Outlook\Preferences

“DelegateSentItemsStyle"dword:00000001”

E: The operator “delegatesentitemsstyle” is not defined.

Can anyone please sugest on this.

Thanks

(imported comment written by Shlomi91)

Hi,

first, you should know that the QnA (or RelevanceDebugger) tool is not meant for taking actions, it is meant to Query your system and help you in writing tasks / fixlets / analysis, etc.

the best way is to use the built in “Windows registry wizard” and check the checkbox “run the generated task as the currently logged on user” (provided the user has local admin rights on his machine).

Shlomi