Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forcing a registry entry via logon script

Status
Not open for further replies.

fuller772

Technical User
Jan 10, 2004
49
US
I am looking for a way to force a .reg file to install via a logon script without the user having to click Yes at the prompt. The logon script will run and the prompt says "are you sure you want to add the information in () to the registry". I would like to force it to say Yes.

I have tried to force with different switches, but haven't had any luck. Thanks in advance for your help.
 
This is what we use in a BAT file called from a VBS file:
regedit /s entry.reg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top