/build/static/layout/Breadcrumb_cap_w.png

sysprep driver issue...

I was initally testing a sysprep image with unsigned audio drivers, which was
problematic as the first user to login post-clone has no hardware install rights
(installation of unsigned drivers is postponed until the next admin login).

I have since obtained signed drivers for the audio device - they came in an
InstallShield package called audio.exe. If I run audio.exe on the target machine
the drivers install with no prompts and device manager reports the installed
drivers as being signed. Now, if I instead extract the contents of audio.exe then
point the hardware wizard at the subdirectory containing the INF files I am once
again prompted and the install even looks for files that were not installed when
I had run audio.exe.

Any thoughts on how to trace this? I've searched the contents of audio.exe (INI
and INF files) for reference to the offending files and nothing has been found.
I also looked at the InstallShield setup.exe and it's only being called with /SMS
and /S switches - nothing that affect the files being copied/installed.

Thoughts?

Thanks.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: kick 19 years ago
Senior Yellow Belt
0
Looks like i've made a bit of progress. Even with the signed drivers in place (shipping
drivers taken straight from the original install disc that accompanied the machine) XP
was still hitting an INF located in C:\WINDOWS\inf which was pointing to the offending
file that could not be found/was not even required. So, I temporarily moved any INF's
from C:\WINDOWS\inf that referenced this file and the shipping drivers installed fine
when manually pointing to the correct INF's - no prompts. Unfortunately, one of the
driver files is not signed, but i'm getting there.
Posted by: Dr. Soup 19 years ago
Senior Yellow Belt
0
What about

[Unattended]
DriverSigningPolicy = "Ignore"

in the Sysprep.inf ?
Posted by: cdupuis 19 years ago
Third Degree Green Belt
0
Add this to your unattended answer. The full tips and tricks article I wrote can be found here: http://itninja.com/blog/view/autoexnt2

[GuiUnattended]
AdminPassword=xxxxxxx (should be your local admin password)
Autologon=Yes
AutoLogonCount=1

[GuiRunOnce]
{Path to batch file}

To get the batch file onto the local machine you must create add the file into the folders where you keep the drivers usually \$OEM$\$1\. Anything in this folder will be copied to the root of the c:\ so you will want to burry it at least one more folder deep. Then in the GuiRunOnce section you can call it as c:\{folder}\secedit.bat. At this point the file will exist locally so there should be no problem calling it. You will want to make sure that in your batch file you specify shutdown.exe -r to reboot the machine. If not then you will have a machine sitting logged in as administrator. Shutdown is in the res kit for win2k. I created a similar setup to manually change a registry setting upon reboot. Here is what my batch file looked like:

regedit.exe /s c:\drv\reg\ddhcpms.reg

c:\drv\reg\shutdown.exe /r

del /Q c:\drv\reg\*.*
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ