myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


800040005 error at end of SMS image installation

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS Feature Packs >> 800040005 error at end of SMS image installation Page: [1]
Login
Message << Older Topic   Newer Topic >>
800040005 error at end of SMS image installation - 9/12/2007 12:35:41 PM   
sbond293

 

Posts: 86
Score: 2
Joined: 9/4/2006
Status: offline
Not sure if this is related to Inesta431's problem below (http://www.myitforum.com/forums/Unspecified_Error%3A80004005/m_144388/tm.htm) but since I get past that stage and essentially think I know what the problem is, I'm hoping someone can help me fix it.
I have got PXE boot working flawlessly for all my images so no problem there. The trouble is I get an 800050005 error just after the image installation sequence ('End Phase'). I got a command prompt up and found that I was unable to select drive C:. I would guess this is the reason for the error!
What I want to know is why this happens. I have perfectly adequate SATA drivers set in the package properties and looking at X:\Windows\system32 (I think this is the path) I see a folder called MASSSTORAGEDEVICES with about six folders with said drivers. Also if I OK the error boxes and let it reboot, it carries on fine, no STOP 7B error so presumably the drivers are being found somewhere. How can OSD copy a whole image to a disk and then not be able to access it right after it has finished installing it?
Have I missed something here?

Attachment (1)
Post #: 1
RE: 800040005 error at end of SMS image installation - 9/12/2007 3:53:27 PM   
deeduubleyoo

 

Posts: 9
Score: 0
Joined: 8/29/2007
Status: offline
I'm not sure your Hard Drive is being seen properly. I note the error 'We do not find an available volume to store the local data path' in your logs. Check your HD after a build to see what's on there. You might need to use compatibility mode for the drive or you might need to look at diskpart.

(in reply to sbond293)
Post #: 2
RE: 800040005 error at end of SMS image installation - 9/13/2007 5:30:11 AM   
sbond293

 

Posts: 86
Score: 2
Joined: 9/4/2006
Status: offline
On review, I believe I misunderstood how this works slightly. It would appear that the X: drive is in fact a re-mapped C: drive, not a mapping to WinPE as I originally thought, with the OS being copied to the C drive. Therefore I can rule out SATA drivers. I am still at a loss as to why it is unable to access the drive though. Since I can see the X: (C:?) drive from a command prompt why am I getting these errors?

All help gratefully received.

Simon

(in reply to deeduubleyoo)
Post #: 3
RE: 800040005 error at end of SMS image installation - 9/13/2007 8:47:31 AM   
deeduubleyoo

 

Posts: 9
Score: 0
Joined: 8/29/2007
Status: offline
X: is a RAM drive.

(in reply to sbond293)
Post #: 4
RE: 800040005 error at end of SMS image installation - 9/20/2007 12:08:47 PM   
sbond293

 

Posts: 86
Score: 2
Joined: 9/4/2006
Status: offline
OK but it appears to be a 75 Gb RAM drive! If I do a list volume while in DiskPart I get the following:

List Volume
Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
Volume 0     D                       DVD-ROM         0 B  Healthy
* Volume 1     X   OSDisk       NTFS   Partition     75 GB  Healthy    Boot

Is this right? Surely I should be able to see C (which I can't).

Thanks

(in reply to deeduubleyoo)
Post #: 5
RE: 800040005 error at end of SMS image installation - 9/24/2007 6:05:17 PM   
jarwidmark

 

Posts: 614
Score: 36
Joined: 12/12/2004
From: Halmstad, Sweden
Status: offline
Tip!

Configure the ZTI Installation CD to always wipe the disk clean (I suspect previous junk might be casuing this) using the below winbom.ini... also add the lab version of osdshell and verify that you can see the disk during deployment... (adding storage drivers to OSD via the package properties is way less than optimal)... make your own custom image (via deployment workbench), add storage drivers to it (manually), test it, and after you verified it does work, update the OSD FP with it and create a new installation cd

[Factory]
WinBOMType=WinPE
Reseal=No
[WinPE]
Quiet=Yes
Restart=No
[PnPDriverUpdate]
[PnPDrivers]
[NetCards]
[UpdateInis]
[FactoryRunOnce]
[Branding]
[AppPreInstall]

[DiskConfig]
Disk1 = Disk1.Config

[Disk1.Config]
WipeDisk = Yes
Size1 = *
PartitionType1 = Primary
FileSystem1 = NTFS
QuickFormat1 = Yes
SetActive1 = Yes

Note: Do Not update OSD with the installation CD after modifying the winbom.ini to wipe the disk (will have exiting effect on your refresh's)... and do Not add /PNP support to winpe (will break wipedisk)

_____________________________

Regards
Johan Arwidmark
Microsoft MVP - Setup/Deployment

(in reply to sbond293)
Post #: 6
RE: 800040005 error at end of SMS image installation - 9/26/2007 7:49:08 AM   
sbond293

 

Posts: 86
Score: 2
Joined: 9/4/2006
Status: offline
I have tried altering the winbom.ini in OSDWinPE.wim both with the config above and without. I have also manually added the storage drivers a la Ben Hunter and as far as I can tell all appears to be set up correctly. To clarify:

1. There is no problem when I boot from CD, all works fine, image installs, restarts, attached to domain, finishes.
2. There is no problem when I PXE boot (using the CD image), ditto above.
3. Using the above two methods I am able to see the C: drive when I bring up a command window using the lab version.

When I send an SMS job to refresh a machine, this is when I get the problem:
The job runs, and restarts the machine. WinPE starts but if I get the lab shell up, I am unable to see the C: drive ('System cannot find the drive specified'). Despite this fact, the job continues to run error free (at least on the face of things) and install the image. At this stage:

a) Using DISKPART if I run LIST DISK I get DISK 0 75Gb, Free 0B. This is clearly the C: drive which I can't 'see'.
b) Using DISKPART if I run LIST VOLUME I get:
   Volume 0, Ltr=D, Type=DVD-ROM
   Volume 1 Ltr=X, Label=OSDisk, Fs=NTFS, Type=Partition 75Gb, Status=Healthy, Info = Boot.

However as soon as the image installation has finished and it runs POSTINSTALL actions, this is where it all falls over with 80004005 and where my confusion lies re the X drive. I'm sure it is getting the error because it is trying to access C:. As Deeduubleyoo pointed out I have always been under the impression this is the RAM drive (and I'm not saying it isn't) but it is clear the OS image is being installed to this drive as well. After image installation, you can see the newly installed image including the sysprep folder on X: and if I reboot the system, the installation carries on as if nothing had happened (it is now on C:).
I have included a selection of logs in the vain hope that someone may be able to shed some light on my predicament.
As always thanks for your help.

Attachment (1)

(in reply to jarwidmark)
Post #: 7
RE: 800040005 error at end of SMS image installation - 10/1/2007 5:26:42 AM   
Or.Tsemah

 

Posts: 106
Score: 1
Joined: 11/12/2006
Status: offline
I'm getting that error (80004005) at the "End Phase" of Preinstall section in a XP\OSD Install

Can someone help me on this ?

_____________________________

Or Tsemah
or.tsemah@gmail.com

(in reply to sbond293)
Post #: 8
RE: 800040005 error at end of SMS image installation - 10/10/2007 6:45:18 PM   
radekr

 

Posts: 18
Score: 0
Joined: 2/28/2007
Status: offline
Looks like OSD WinPE is not updated.
In SMS console right click on Image Packages -> Update Windows PE and point to updated Win PE image created by BDD.

(in reply to Or.Tsemah)
Post #: 9
RE: 800040005 error at end of SMS image installation - 6/12/2008 5:54:56 PM   
padamsj

 

Posts: 1
Score: 0
Joined: 6/12/2008
Status: offline
Bump! 

   Was this ever resolved?  I'm having this exact issue and this is the only reference I can find to this perplexing problem.  It's not often that I raise my hand for help but this has been drivng me mad.  I'm using SMS 2003 SP2, lastest version of OSD and Microsoft Deployment.  Everything works end-to-end if I boot from the OSD CD and run the image, no problem.  However, if the process is initialized from WITHIN Windows using the boot disk or via SMS advertisement (i.e. PE is transferred to and booting up from the  local hard disk in both scenareos, not the CD) then ZTI fails in the postinstall phase, just as SBond describes in his post above.  I want to do my best to expand on what has already been said here.......

The events causing the failure are loggeed in the smsts.log file.  The concerning entries are as follows:

*"We do not find an available volume to store the local data path"
*"Failed to save environment to (80070057)"
*"Failed to save the current environment block. this is usually caused by a problem with the program. .... The parameter is incorrect. (Error 80070057;Source;Windows)"
*"Volume D: is not a fixed hard drive"  (true, it's a DVD-ROM)
*"Volume X: is not a fixed hard drive"  (wrong, it's got 75gb free and just took an image)
*"Fatal error is returned in check for reboot request of the action (end phase).  Unspecified error (Error 80070057;Source;Windows)"

These are things I have verified:

1. PE is up to date (using PE 2005 linked to Server 2003 SP1 OS source in Microsoft Deployment).
2. PE is customized with appropriate mass storage devices via driver .sys files and custom TXTSETUP.SIF added to Extra Files path in Microsoft Deployment
3. Custom PE has been imported into SMS from the custom PE source that was regurgitated by Microsoft Deployment
4. I have recreated my OSD boot image using appropriate NIC drivers
5. I have implemented the OSD debug executable so I have a command window available at fail. I have verified these things using the command window after fail.
      a) I have network connectivity.  I can ping stuff and "net use" to a server share, etc. etc.
      b) I can access the hard drive (the WIM was installs to it successfully, my HAL select script can access it at the beginning of postinstall, logging is happening there)
      c) I can see the volume and disk information using diskpart.  I have Disk0 as D: (DVD ROM) and Disk1 as X: (hard disk, 75gb).
6. All of the ZTI files that the Microsoft Deployment spit out for my task sequence are imported into the OSD image package via the program advanced tab, blah blah.
8. I have implemented the /debug:true switch for every phase and all logs are being written to MININT (on the local disk that smsts.log says doesn't exist, mind you!)
9. The issue is not specific to any machine type. it fails on all machine types I have tried it on including models with ide, with sata, with scsi, and virtual machines.

Some things that stand out about the issue are:

I notice a difference in the behavior of PE 2005 in this ZTI process compared to PE 2004 in my existing OSD-only process.  Maybe this is how it's supposed to be...don't know, it's just different:

* When PE 2004 (current and working proccess) boots from CD,  it assigns X: to ramdrive and C: to local hard disk.  When PE 2004 boots from hard disk, having been invoked from within Windows, it assigns C: to ramdrive and X: to local hard disk, reversing the letters.

* When PE 2005 boots from CD, the behavior is the same as 2004...X: is ramdisk and C: is hard disk, however, when it boots from hard disk (where I am having the issue) X: is local hard disk and that's it...no ramdisk.  Where did my ramdisk go?  Is this process expecting to see a ramdisk and a hard disk?  could this have anything to do with the entry in smsts.log that says it cannot find a local disk?  I do not know!

From the logging, it appears that it is executing all of the scripts that should not run until the state restore phase AFTER a reboot.  It appears that the reboot after the postinstall phase may be failing.  Of course the ZTI scripts in the state restore phase don't expect to be running in a PE environment.  Of course this would wreak havoc!

Anyone have any further insight they could offer...or, better yet, just tell me how to fix it??


(in reply to radekr)
Post #: 10
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS Feature Packs >> 800040005 error at end of SMS image installation Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.266