Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Embedded Windows XP crash after boot


  • Please log in to reply
8 replies to this topic

#1 uptown47

uptown47

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:03:03 AM

Posted 05 January 2016 - 09:25 AM

Hi all,

 

My work has a big TV screen that has information sent to it from a PC that runs Embedded Windows XP.

 

When the system boots up it goes through the motions, the black Windows XP splash screen briefly appears, then it redraws the screen as though windows is just about to start (mouse icon appears) but instead a message box appears with the title "winlogon.exe - Corrupt File".

 

And the text within the message says (something like) "The file or directory C:\Windows\AppPatch is corrupt or unreadable. Please run the Checkdisk utility."

 

I don't have the original disks but made a bootable USB disk from another copy of Windows XP (not 'embedded' just a normal copy?). I then booted from this and went into Recovery Console in order to try and run checkdisk.

 

When I typed chkdsk c: /r I got a message saying that "autochk.exe couldn't be located so please type in the full path to autochk".

 

I found autochk inside C:/Windows/System32/autochk.exe so typed that in as the path but it still said it couldn't be found?

(I also tried just typing C:/Windows/System32/ but to no avail).

 

I was tempted to try 'fixboot' or 'fixmbr' but I'm not 100% sure what these do and whether they would fix anything bearing in mind that the operating system does look like it's trying to start.

 

So.......... I'm stuck. So I thought I would ask the experts :-)

 

Anyone got any ideas?

 

Thanks for all/any help you can give me.

 

John :-)

 



BC AdBot (Login to Remove)

 


#2 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,090 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:11:03 PM

Posted 05 January 2016 - 10:50 AM

I'm not familiar with the Embedded version of XP.  But Microsoft says it's based on the same binaries as XP Pro:  https://msdn.microsoft.com/en-us/library/ms950428.aspx

 

Do you have the capability of making a complete image of the disk on the PC? (this is in case messing with it causes the system to stop working).

 

Have a look here for the differences between the versions:  https://www.google.com/search?q=embedded+windows+xp&ie=utf-8&oe=utf-8

 

If unable to find a downloadable copy of this, you may want to try a repair install of XP Pro ( http://www.michaelstevenstech.com/XPrepairinstall.htm )

But be aware that this might hose the system - so make sure you have a backup image to revert to if needed.

 

Good luck!


My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#3 uptown47

uptown47
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:03:03 AM

Posted 05 January 2016 - 12:37 PM

Hi usasma,

 

Unfortunately I haven't got any backup of the system and haven't got anything that will allow me to do a backup of the system in its present state.

 

Don't fancy trying repair install as, every time I've tried that in the past, it's never worked. :-(

 

What about the fixboot / fixmbr do you think they would do anything?

 

Also, do you know why chkdsk keeps asking for autochk.exe and why it won't find it when I type in the path into the Recovery Console?

 

Thanks again for your help



#4 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,090 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:11:03 PM

Posted 06 January 2016 - 07:49 AM

A backup is essential here.  If we try something and it hoses the system (which is, IMO, likely), then you'll be out of a system.

Another option is to purchase a more advanced copy of the Embedded OS - would you care to try that if the OS is hosed?

 

So, you've tried a repair install previously?  What method did you use, and what did you use to provide the OS files?  (an embeded XP disk or an XP Pro disk or something else?)

There's actually 3 things to try here:

- the repair install

- system restore

- a manual registry replacement from a backup (actually this is fairly easy once you locate a backup of the registry hives).

 

CHKDSK doesn't ask for autochk.exe.  Rather, there's an entry in the boot process that's requesting it (links below)

I would be more concerned that it's trying to run rather than it succeeding.

I'd start with a hard drive diagnostic ( http://www.carrona.org/hddiag.html ) to see if the hard drive is dead/dying.

If it is, then there's no need to run CHKDSK/autochk.exe - as you'll have to replace the hard drive anyway.

 

Links about autochk.exe:

https://technet.microsoft.com/en-us/library/cc771787.aspx?f=255&MSPPError=-2147217396

https://support.microsoft.com/en-us/kb/831426

 

The second link gives the locations that start autochk.exe - so you an stop it from running in those areas (Scheduled Tasks and the registry)

I don't have a copy of XP, so I can't see the actual entries in the registry.


My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#5 uptown47

uptown47
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:03:03 AM

Posted 06 January 2016 - 09:05 AM

Hi usasma,

 

Right I've had a breakthrough.

 

That link to autochk pointed me towards ntfschk which it said would stop autochk if it was given an /x switch.

 

Unfortunately this didn't work but I tried chkdsk again and noticed that when it asked for me to point to autochk the directory address had backslashes instead of forward slashes...

i.e C:\WINDOWS\SYSTEM32\

and not

C:/WINDOWS/SYSTEM32 ( <- this is what I had originally been trying).

 

When I tried the backslashes it found autochk and did a chkdsk.

 

It found errors on the chkdsk so I ran it again with a /r switch and it fixed them and then the system booted up fine!!

 

So my next task is to do a full backup of the system so that I've got a back up for when it eventually dies (which I don't think is that long away!).

 

A big thank you for all your help with this. :-)

 

Do you have any recommendations for good XP compatible programs for doing a full backup of the system?

 

Many thanks

 

John :-)



#6 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,090 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:11:03 PM

Posted 06 January 2016 - 09:24 AM

I used to use SyncBack for my wife's office when it was using XP.

I was so impressed by the free version that I bought the pay-for version.

I use Acronis TrueImage for my disk imaging tho' - it's not free tho'


My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#7 uptown47

uptown47
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:03:03 AM

Posted 06 January 2016 - 09:44 AM

Will the free version of SyncBack do everything or is it restricted somehow?

 

Thanks :-)



#8 usasma

usasma

    Still visually handicapped (avatar is memory developed by my Dad


  • BSOD Kernel Dump Expert
  • 25,090 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:11:03 PM

Posted 06 January 2016 - 09:55 AM

Have a look here:  http://www.2brightsparks.com/syncback/syncback-hub.html

Back when I was using it, I was proficient in crafting backups (so I knew all the special commands to get it to work as I wanted to).

I haven't used it in years, so I recall very little of the specifics.


My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

#9 uptown47

uptown47
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Local time:03:03 AM

Posted 06 January 2016 - 10:19 AM

Okeedokee will check it out.

 

Thanks again! :-)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users