Server 2003 MassStorageDriver Cleanup


hi,

i've got problem sysprep cleanup , server 2003. maybe me out.

steps:

i'm installing server 2003 x64/x86 using unattend.txt. after installation has finished, create c:\sysprep folder needed files.

i run command sysprep.exe -bmsd , add 10 addtional drivers [sysprepmassstorage].

i start sysprep following command: sysprep.exe -noreboot -reseal -mini -quiet

after 30 minutes sysprep finished , added drivers criticaldevicedatabase.

so works fine until now.

my sysprep.inf file contains sysprepcleanup section installed drivers.

after restart server of drivers still installed. why?

i tried remove massstoragesection.

this sysprep.inf during reseal

 

 

this sysprep.inf

 

[unattended]    updateinstalleddrivers=yes    driversigningpolicy=ignore    nondriversigningpolicy=ignore    installfilespath=c:\sysprep\i386    oemskipeula=yes    targetpath=\windows    [guiunattended]    adminpassword=*********    encryptedadminpassword=no    oemskipregional=1    timezone=85    oemskipwelcome=1    [userdata]    productkey=**********    fullname="myname"    orgname="mycompany"    computername=testmaschine    [licensefileprintdata]    automode=perserver    autousers=5    [branding]    brandieusingunattended=yes    [proxy]    proxy_enable=0    use_same_proxy=0    [identification]    joinworkgroup=workgroup    [networking]    installdefaultcomponents=yes    [sysprep]    buildmassstoragesection=yes    [sysprepmassstorage]  *pnp0a00=c:\windows\inf\machine.inf  *pnp0a01=c:\windows\inf\machine.inf  *pnp0a04=c:\windows\inf\machine.inf  *pnp0a03=c:\windows\inf\machine.inf  pci\cc_0604=c:\windows\inf\machine.inf  pci\cc_0601=c:\windows\inf\machine.inf  ...  pci\ven_1028&dev_0013&subsys_016c1028="c:\driver\scsi\perc\oemsetup.inf"   \scsi\percsas\oemsetup.inf"   pci\ven_1000&dev_0060&subsys_1f0c1028="c:\driver\scsi\percsas\oemsetup.inf"   ... , many more
later sysprep.inf file has sysprepcleanup section 20 drivers.

this cmdlines.txt (located c:\sysprep\i386\$oem$\cmdlines.txt <-- on server 2003 x64)


[commands]  "c:\sysprep\sysprep.exe -clean"
result in setupact.log

the external program c:\sysprep\sysprep.exe -clean returned exit code 0.

after mini setup done drivers still installed , running.

any ideas?

thanks

 

when run sysprep -reseal or sysprep -factory command, sysprep reads [sysprepmassstorage] section of sysprep.inf file , installs mass-storage controllers writing information registry before shutdown. next time computer starts, mass-storage controllers available.

 

to remove references devices present in master computer, run sysprep -clean. requires valid [cleanup] section in sysprep.inf. running command cleans out unused mass-storage drivers added [sysprepmassstorage] section of sysprep.inf , removes references phantom devices created plug , play. otherwise, these entries can cause problems when attempt install new devices. sysprep -clean removes phantom devices except:

 

htree\root\0 (the root of plug , play tree)

swenum devices (software-enumerated devices don't have hardware backing them).

because these not installed presence of hardware, best not remove them.

 

legacy devnodes (devnodes created presence of legacy services).

note

 

if [sysprepmassstorage] section exists in sysprep.inf file, , run sysprep -factory, sysprep -reseal automatically cleans device manager. (that is, sysprep removes references devices no longer present.) saves step of running sysprep -clean in cmdlines.txt file.



Windows Server  >  Setup Deployment



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file