Re: Registry Add Commands



Here are the two keys that the Tech wants to be installed. I put them into
the .reg file, but they wouldn't load.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS\Parameters /v
ServiceDll /t REG_EXPAND_SZ /d %windir%\System32\qmgr.dll

HKey_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup

Are there are commands that I need to put in from of the keys to get them to
load?

Terry

"Puja Pandey[MSFT]" wrote:

> You can use Regedit.exe along with a .reg file to add any entry in the
> registry e.g.
>
> REGEDIT /S addsome.REG
>
>
> OR
>
> You can use Regwrite function with WScript.
> RegWrite ( "keyname" [,"valuename", "type", value] )
> Parameters
>
> keyname The registry key to write to. If no other parameters are
> specified this key will simply be created.
> valuename [optional] The valuename to write to.
> type [optional] Type of key to write: "REG_SZ", "REG_MULTI_SZ",
> "REG_EXPAND_SZ", "REG_DWORD", or "REG_BINARY".
> value [optional] The value to write.
>
>
> --
> Thanks,
> Puja
> ---------------------------------------------------------
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Terry Swift" <TerrySwift@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:67001802-ABF1-409D-B4F7-D0A7ADE1CF72@xxxxxxxxxxxxxxxx
> > I'v need to add some registry key, but forgot how to do the REG4 commands.
> > Can somebody remind me how to add keys thru the REG4 or other REG add thru
> > command line statements.
> >
> > Terry
>
>
>
.



Relevant Pages

  • MDAC Uninstall, MDAC Reinstall, Fixing Damaged MDAC Install
    ... registry keys that, when removed, would allow MDAC to be reinstalled. ... I added the registry keys to a .reg file, placing a minus at the ... Although I haven't tested this on other OS's, registry exports from XP ... or Server 2003 also list Windows Registry Editor Version 5.00 at the ...
    (microsoft.public.win2000.general)
  • Re: Dektop architect
    ... Then right-click the .REG file and open-with Notepad. ... According to ur advice i m trying to export these 2 keys for changing ... contrl panel & Printers & Faxes icons from Start Menu. ... > Ramesh, Microsoft MVP ...
    (microsoft.public.windowsxp.help_and_support)
  • The .Net Data OLE DB Provider(System.Data.OleDb) requires Microsoft Data Access Components(MDAC) ver
    ... We recently had a problem with a push install of MDAC 2.8 SP1 (latest ... registry keys that, when removed, would allow MDAC to be reinstalled. ... I added the registry keys to a .reg file, placing a minus at the ... or Server 2003 also list Windows Registry Editor Version 5.00 at the ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: RegSnap
    ... I guess they now make a snapshot in "user mode" only ... >> Gordon Smith (eMVP) wrote: ... only keys are generated in the .reg files. ... So, if you were to restore the registry with this .reg file, it ...
    (microsoft.public.windowsxp.embedded)
  • Re: Registry access questions
    ... how does one deal with hex values in keys. ... > REG file that looks like this... ... > Now it seems to me that all zeros is zero, in decimal, octal, hexadecimal, ... So I tried this in a script... ...
    (microsoft.public.scripting.wsh)