Link to home
Start Free TrialLog in
Avatar of mac_g
mac_gFlag for Saudi Arabia

asked on

how to edit windows registry using a script

Can you please advice how to edit windows registry for the below item details

Location :
"HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security"


Insert a new item with :

- Value name: ExtensionHardening
- Value type: REG_DWORD
- Value data: 0
Avatar of mac_g
mac_g
Flag of Saudi Arabia image

ASKER

using script only
Hello Mac_g,

Can you please tell me why do you want to edit the registry ?
ASKER CERTIFIED SOLUTION
Avatar of Haresh Nikumbh
Haresh Nikumbh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mac_g

ASKER

while opening office doc from A application at end-user PC, it is asking for user confrmation before  opening doc.  End user doesnot want to see these kind of intermediate message. hence we solved that issue refering  from URL -  

http://www.extracomm.com/Extracomm/FAQ.NSF/0/3ACF4AF056A7790848257AD400279396,

the solution we want to implement from script rather manul intervention.

please advice how to develop the script for the above required solution
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mac_g

ASKER

i have resolve issue
- created a .REG file
- added below code in it  
- thus resolved the issue

however thanks for your support

------------------
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security]

"ExtensionHardening"=dword:00000000

------------------
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial