Re: Secedit - setting registry key default value

From: x y (jamescagney90210@yahoo.com)
Date: 06/10/02


From: "x y" <jamescagney90210@yahoo.com>
Date: Sun, 9 Jun 2002 18:26:51 -0400


Not sure about the exact code, but maybe you could use the GUI Security
Configuration MMC to set this code, save it and then open up the .INF file
you just created and delete what you don't want?

"ELK" <pkrum@ziplink.net> wrote in message
news:d93501c20f27$61c6b9b0$35ef2ecf@TKMSFTNGXA11...
> Want to use the command line Secedit and an .INF file to
> set a registry keys default value. Below is a test .INF
> file but the first line to set the keys defalt value does
> not work. Per the secedit log file the item is processed
> with out error but no default value is set the other two
> values are set with no problem. Have tried cominations
> or @ and (Default) but have not found the right format to
> set the keys default value. Thanks.
>
> [Unicode]
> Unicode=yes
> [version]
> signature="$CHICAGO$"
> Revision=1
> [Registry Values]
> MACHINE\SOFTWARE\1TestKey=1,G:\Test My patience
> MACHINE\SOFTWARE\1TestKey\Expand=2,%temp%\Test Files3
> MACHINE\SOFTWARE\1TestKey\TestString=1,G:\Test
> Files,Second item3



Relevant Pages

  • Secedit - setting registry key default value
    ... Want to use the command line Secedit and an .INF file to ... set a registry keys default value. ...
    (microsoft.public.win2000.security)
  • Re: Trouble creating .sld from network driver .inf
    ... The INF file imports with a number of caution on Bus Type, ... information when it installs the driver. ... I'm attempting to create a Component Designer .sld file from a network ... These keys reside in an install section that looks like this: ...
    (microsoft.public.windowsxp.embedded)
  • delreg section in INF not truly deleting registry entry
    ... I have service that creates several registry keys. ... associated INF file which has a DefaultUninstall section which is called by ... for a reboot at then end of the removal process. ...
    (microsoft.public.development.device.drivers)
  • Re: Dual Display
    ... Or little hacky way would be to change default resolution in inf file. ... inf file you deal with relative registry path so what ever PnPID that is ... assigned by OS your keys can reach correct place. ... the PNP Guid seems to ...
    (microsoft.public.windowsxp.embedded)