Jump to content

Sysprep with Sata Almost done - help?


Guimenez

Recommended Posts

Hello

i'm trying to make a XP universal image with sata drivers, but i'm having some problems.

When i make the sysprep, and run in another machine with sata it works, but after 5 or 6 reboots the windows gives

BlueScreen errors and restart. Sometimes it ask for ntfs.sys file. now i'm stock, but i've made lots of progress.

i will explain how i've done it, and hope someone help me.

1º i've download the BTS Masstorage pack and extract to c:\windows\drivers

2º create a folder called sysprep on c:\ and put the files needed

3º i've created a file called drivers.bat tha copy all the info from the drivers to the section [sysprepMassStorage] of Sysprep.inf

5º run the drivers.bat

6º run sysprep -mini -reseal

-------------------------------------------------Drivers.bat-------------------------------------------------------

setlocal enabledelayedexpansion

Echo Creating MassStorageSection of Sysprep.inf

Call :HWID c:\windows\drivers

copy sysprep.hold /a +hwids.txt /a sysprep.inf

GOTO EOF

:HWID

rem %1 is path to MassDriverPacks Folder

IF "%1"=="" GOTO EOF

IF NOT EXIST %1 GOTO EOF

SETLOCAL ENABLEDELAYEDEXPANSION

SET STDOUT=%cd%\HWIDS.TXT

TYPE>%STDOUT% 2>NUL

::traverse drivers path

CALL :TRAVERSAL %1

GOTO EOF

:TRAVERSAL

PUSHD %1

for /f %%f in ('Dir /b *.inf') do (

for /f "eol=- tokens=2 delims=," %%i in ('find /i "pci\ven" %%f') do (

for /f "tokens=*" %%j in ("%%i") do (

for /f "tokens=1* delims=_" %%k in ("%%j") do (

if /i "%%k" EQU "PCI\VEN" (

for /f "usebackq tokens=1* delims=; " %%a in ('%%j') do (

echo %%a=%cd%\%%f>>%STDOUT%

)

)

)

)

)

)

FOR /F %%I IN ('DIR /AD /OGN /B') DO (

CALL :TRAVERSAL %CD%\%%I

)

POPD

GOTO EOF

-----------------------------------------------------end file----------------------------------------------------------

------------------------------------------------sysprep.inf---------------------------------------------------------

;SetupMgrTag

[unattended]

OemSkipEula=Yes

InstallFilesPath=C:\sysprep\i386

DriverSigningPolicy=Ignore

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=85

OemSkipWelcome=1

[userData]

FullName="Windows XP"

OrgName="Windows XP"

ComputerName=*

[TapiLocation]

CountryCode=351

AreaCode=21

[setupMgr]

DistFolder=C:\sysprep\i386

DistShare=windist

[identification]

JoinWorkgroup=WorkGroup

[Networking]

InstallDefaultComponents=Yes

[sysPrep]

BuildMassStorageSection = Yes

[sysprepMassStorage]

----------------------------------------------------end file----------------------------------------------------------

----------------------------------------------------end everthing --------------------------------------------------------

Link to comment
Share on other sites


If it works on your initial boot but dies subsquently during use/testing I don't think it has anything to do with your imaging/sysprep procedures or steps.

Is it always ntfs.sys? or do other files come up when you are getting the blue screens? Have you tried it on another SATA hard drive or system? It may be failing hardware.

Link to comment
Share on other sites

thanks for answering.

i've tesded on 4 machines with sata, sometimes it give me the ntfs.sys file, and almost always, it restart. it's very strange because at the first time the windows works fine, just after the second boot that apens.

and i'm using the sysprep driver scanner too.

i'm getting tired to try this.

Link to comment
Share on other sites

Okay, let's tackle this one step at a time.

1) What kind of machine did you do your base(sysprep) image on?

2) What kind of machine are you moving it to?

It might be a HAL problem but that can be fixed depending on what tools you have available to you. I fixed mine with add-on images via zenworks imaging but I've seen other ways on different forums.

Link to comment
Share on other sites

thanks for help me

the HAL is compatible because i have i little experience with deployment. but the syspreped pc it's a PIV and the clone pc it's PIV too.

and if i sysprep an ide it's work

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...