Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

.reg file help

Posted on 2005-03-02
4
Medium Priority
?
679 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:indypung
  • 3
4 Comments
 
LVL 34

Accepted Solution

by:
sramesh2k earned 200 total points
ID: 13441284
regedit /s <filenam.reg>

/s - silent
0
 
LVL 34

Expert Comment

by:sramesh2k
ID: 13441303
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>
0
 
LVL 1

Author Comment

by:indypung
ID: 13441373
perfect. thanks.
0
 
LVL 34

Expert Comment

by:sramesh2k
ID: 13441383
Glad to help :)
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month15 days, 15 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question