On Mon, Mar 23, 2009 at 11:31 AM, James Rankin <[email protected]> wrote:
> I think the force switch for reg.exe is /f

  You think correctly.  :)  From "REG ADD /?", I see:

        /f       Force overwriting the existing registry entry without prompt

  So, to modify my previous example:

REG ADD "HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\IniFileMapping\Autorun.inf" /ve /t REG_SZ /d
"@SYS:DoesNotExist" /f

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to