Link to home
Start Free TrialLog in
Avatar of indypung
indypung

asked on

.reg file help

i have a .reg file to edit the registry on a pc as follows:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Access\Security]
"Level"=dword:00000001
"DontTrustInstalledFiles"=dword:00000000

when i run this, it pops up a box asking me if i want to add this.  is there a silent option available so when this is run, that box doesn't pop up?

thanks.
ASKER CERTIFIED SOLUTION
Avatar of sramesh2k
sramesh2k
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
Additional reference:

How To Add, Modify, or Delete Registry Subkeys and Values by Using a Registration Entries (.reg) File:
http://support.microsoft.com/kb/310516

<Quote>

Regedit.exe supports a /s command-line switch to not display these messages. For example, to silently run the .reg file (with the /s switch) from a login script batch file, use the following syntax:

regedit.exe /s path of .reg file

</Quote>
Avatar of indypung
indypung

ASKER

perfect. thanks.
Glad to help :)