Re: Registry Add Commands



"=?Utf-8?B?VGVycnkgU3dpZnQ=?="
<TerrySwift@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:9667F968-BE80-4767-8C16-BAE4F94919D1@xxxxxxxxxxxxx:

> 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\Parameter
> s /v ServiceDll /t REG_EXPAND_SZ /d %windir%\System32\qmgr.dll
>
> HKey_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\F
> ilesNotToBackup
>
> Are there are commands that I need to put in from of the keys to
> get them to load?
>
> Terry
>

Assuming you are using reg.exe version 2.0 or newer, simply put
reg add
in front of your commands at a command prompt. For help, type
"reg add /?".
So your first example would be:
reg add HKLM\SYSTEM\CurrentControlSet\Services\BITS\Parameters /v ServiceDll /t REG_EXPAND_SZ /d %windir%\System32\qmgr.dll

This is not the correct format for a ".reg" file.

HTH,
John
.



Relevant Pages

  • Re: Registry Keys to set Explorer settings
    ... so all the reg tweaks which are for the HKEY_CURRENT_USER i should put in ... HKEY_CURRENT_USER keys. ... This will load the default user's ntuser.dat, ... >>> .default is the settings for when noone is logged in. ...
    (microsoft.public.windowsxp.customize)
  • RE: Distributing an Exe file which works locally but fails via SMS
    ... accesing Local Machine keys and most users will not have access to them, ... "David Harris" wrote: ... reg add ... Use this variable to add the first registry value above e.g. ...
    (microsoft.public.sms.swdist)
  • Re: RegSnap
    ... able to repro the first problems you mentioned - the reg values are in the ... However, the second problem, exporting a .reg file from a snapshot seems to ... produce redundant keys. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Unable to install Cumulative Security Update for Internet Expl
    ... Double Click the .REG file you created and answer Yes to load. ... I had the problem on 3 servers that got updated with the bad patch automatically. ...
    (microsoft.public.windowsupdate)
  • Re: Constant Logon/Logoff 538 540
    ... Thanks for the reply Roger, I will have to see if I can ... Keys you speak of on the Homes. ... >you can manage these reg keys in the HKeyLocalMachine ...
    (microsoft.public.windowsxp.security_admin)