Re: wmi or vbscript help
- From: "TDM" <rpuffd@xxxxxxxxx>
- Date: Tue, 24 Jul 2007 15:53:33 -0700
<D> wrote in message news:OHKAbPfzHHA.3448@xxxxxxxxxxxxxxxxxxxxxxx
Yes, I am using ghost. Unfortunately, when you sysprep, one of the many
settings that sysprep restores to defaults is the boot configuration that
I need to disable. So I can disable it before sysprep until I'm blue in
the face, but once I sysprep the image, it's reset to it's default
settings. I know that I could manually edit the boot.ini file as was
suggested, however, this would only take care of the first option of show
a list of operating systems... while actually the most important one in
this case is the recovery options menu. We don't want our users to be
confronted with that screen. I was hoping to be able to run a script to
disable both properties after deploying the image. I'm sure there's got
to be a way, but I just can't seem to find it.
Thanks,
Doug
I see now, good old sysprep. Just to validate, the second setting you
wish to change is indeed in the bootstat.dat file. I used a binary editor
to change the file. The byte you want is byte 9(0 based). I wonder if
you could use ADODB.stream to edit a binary file in VBS to change the
value ?
TDM
.
- Follow-Ups:
- Re: wmi or vbscript help
- From: Paul Randall
- Re: wmi or vbscript help
- References:
- Re: wmi or vbscript help
- From: TDM
- Re: wmi or vbscript help
- Prev by Date: Re: Hiding a user password in VB Scripting
- Next by Date: Re: wmi or vbscript help
- Previous by thread: Re: wmi or vbscript help
- Next by thread: Re: wmi or vbscript help
- Index(es):
Relevant Pages
|
Loading