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

Dell Inspiron M5040 fails to boot with LogonUI.exe Bad Image dialog


  • Please log in to reply
11 replies to this topic

#1 CBR954RR

CBR954RR

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 14 November 2013 - 09:35 AM

I have an Inspiron M5040 running Windows 7 Home Premium and the system will not fully boot. The machine seems to boot fine until the Logon page at which point a dialog is thrown up titled "LogonUI.exe - Bad Image" with the following text;

C:\windows\system32\RpcRtRemote.dll is either not designed to run on this Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

Clicking OK will usually bring up the Logon screen with account name showing and when I click on it, another dialog is thrown up with the following info;

"userinit.exe - Bad Image"

C:\Windows\system32\USERENV.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

After clicking on OK I am left with a black screen and the desktop never shows up and there is no way to reboot or shutdown except holding the power button until the laptop shuts off.

Booting in Safe Mode produces the same results.

My question is, since I don't have any OS Recovery media for the laptop and cant boot up to create any from the restore partition, can I use a generic Windows 7 Home Premium 64 bit DVD to boot and try and do a Startup Repair on the machine or can I only use Dell specific OS Recovery media to attempt this?

Any info greatly appreciated.

- Dan

BC AdBot (Login to Remove)

 


#2 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,714 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:08:02 AM

Posted 14 November 2013 - 10:04 AM

You could try doing a repair installation.  This will not effect your data or drivers.

 

Instructions for a Windows 7 Repair installation.
 
A Windows 7 Repair Installation will require a installation disc.
 
If you do not have a Windows 7 installation disc you can download a free legal ISO image of Windows 7 SP1 at  Windows 7 Forums.  You will need to download the same version of Windows 7 that you have installed,  This image is hosted by the Digital River store which is an official distribution partner of Microsoft.  This is a genuine untouched image which is safe to download. 
 
 
Attention:  If you do have a Windows installation disc, skip Part A and go to Part B, Step 1b.
 
 
Part A, Steps 1a - 6a
 
The ISO image will need to be burned to a DVD in order to create a bootable installation disc.
 
1a)  To burn a ISO file to a DVD please download ImgBurn and install it.
 
2a)  Insert a blank DVD into your CD/DVD drive tray, and then close the tray.
 
3a)  Open ImgBurn, and click on Write image file to disc.
 
ImgBurn1_zps715cb1c2.png
 
4a)  Click on the Browse for a file icon:
 
ImgBurn2_zpsaea72ba9.png
 
5a)  Locate the ISO file you want to burn, and click on the Open button.
 
6a)  Click on the blue arrow to start burning the bootable DVD.
 
imageburn11_zpse44f577b.png
 
 
Please note:  In order to boot from this DVD you may need to change the boot order in the BIOS so that the CD/DVD-ROM is the first device in the boot order, and the hdd is the second device.
 
 
Part B, Steps 1b - 10b
 
1b)  Place the installation disc in the tray of the CD/DVD drive, close the tray and restart the computer.
 
2b)  You will be prompted to press any key to start the installation, I find the space bar handy.
 
At this point the setup process will load files, this will take several minutes.
 
3b)  You will now need to choose the  Language, Time, currency format, and Keyboard or input method that you'd like to use.
 
After this is done click on Next.
 
w71_zps6dbda47e.png
 
4b)  Click on the Repair your computer link at the bottom-left of the Install Windows window.
 
This link will begin the Windows 7 System Recovery Options.
 
w72_zps2a656a0c.png
 
5b)  System Recovery Options will now search your hard drive(s) for any Windows 7 installations.  This will take several minutes.
 
No participation is required on your part at this time, wait till it has finished and the next window opens.
 
w73_zpsd5483f05.png
 
6b)  Choose the Windows 7 installation that you'd like to perform the Startup Repair on, then click on Next
 
w74_zps490f9a17.png
 
7b)  Click on the Startup Repair link from list of recovery tools in System Recovery Options.
 
w75_zps9941e858.png
 
For a future reference, there are several other diagnostic and recovery tools available in the Windows 7 System Recovery Options including System Restore, System Image Recovery, Windows Memory Diagnostic, and Command Prompt.
 
8b)  The Startup Repair tool will now search for problems in the system files.
 
If Startup Repair finds a problem with any system files the tool may suggest a solution which you will need to confirm, or may solve the problem automatically.
 
w76_zps3dd75d83.png
 
9b)  Startup Repair will now attempt to repair whatever problems it found with system files.  
 
Note:  If Startup Repair did not find any problems with system files you won't see this step.
 
w77_zpsd8be95eb.png
 
Important: Your computer may or may not restart several times during this repair process.  This is normal, you should allow it to continue until you see the Restart your computer to complete the repairs window. 
 
10b)  Click on Finish, this will restart your computer.
 
w78_zpsd49257fb.png
 
It is possible that the Startup Repair will not be able to fix the problem.  If the Startup Repair tool determines this, it may automatically run the the repair after your computer restarts.  If it does not automatically run the repair but you are still having problems with Windows 7 repeat these steps to run Startup Repair again manually.

Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#3 CBR954RR

CBR954RR
  • Topic Starter

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 14 November 2013 - 10:49 AM

Arachibutyrophobia

Thank you for the detailed reply.

Since my post I had tried booting and hitting F12 and then selecting diagnostics and the machine passed all the tests.
I then tried booting with a commercial Windows 7 Home Premium x64 disc and selected Repair your computer and received the following info;

Windows found problems with your computer's startup options. Do you want to apply repairs and restart your computer? I clicked on view details and this is what is displayed;

The following startup option will be repaired:

Name: Windows Boot Manager
Identifier: {9DEA862C-5CDD-4E70-ACC1-F32B344D4795}

The following startup options will be added:
Name: Windows Recovery Environment (recovered)
Path: Recovery\WindowsRE\Winre.wim
Windows Device: Partition= C: (14998 MB)

A copy of the current boot configuration data will be saved as C:\Boot\BCD.Backup.0001

I have not done the repair as I was not sure if I can use this disc to do the repairs or if I needed to have an OEM disc to do this with.

I also tried booting and hitting F8 and then selecting Repair Your Computer but get a message that states Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1. Insert your windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next".
3. Click "Repair your computer"

If you do not have this disc, contact your system administrator or computer manufacturer for assistance

Status: 0xc000000e

Info: The boot selection failed because a required device is inaccessible

So, from your message you are saying I can use any Windows 7 Home Premium disc to do the repair? It does not have to come from Dell? I assume it matters if it is 32 or 64 bit correct? Is there a way to tell for sure if 32 or 64 bit is installed without being able to boot the machine? I have noted that the root of the drive had both a Program Files and Program Files (x86) folder. Would this indicate 64 bit installation?

Thanks again for your quick assistance.

Dan

#4 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,714 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:08:02 AM

Posted 14 November 2013 - 11:39 AM

If you go to the Windows Seven Forums website you will see the different versions of Windows 7.  You will want the Windows 7 Home Premium 64-bit (x64).

 

Use the download installation disc, do not use the Dell disc.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#5 CBR954RR

CBR954RR
  • Topic Starter

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 15 November 2013 - 09:28 AM

I created a disc from the windows 7 home premium x64 iso you pointed me to. After booting from the disc and getting the following message:
Windows found problems with your computer's startup options. Do you want to apply repairs and restart your computer? I clicked on view details and this is what is displayed;

The following startup option will be repaired:

Name: Windows Boot Manager
Identifier: {9DEA862C-5CDD-4E70-ACC1-F32B344D4795}

The following startup options will be added:
Name: Windows Recovery Environment (recovered)
Path: Recovery\WindowsRE\Winre.wim
Windows Device: Partition= C: (14998 MB)

A copy of the current boot configuration data will be saved as C:\Boot\BCD.Backup.0001

I let it make the repairs and then rebooted from the disc again. This time after scanning there was no messages so I selected the OS and selected Startup Repair.

After a brief run it put up a message that Startup Repair could not detect a problem.
If you have recently attached a device to this computer, such as a camera or portable music player, remove it and restart your computer. If you continue to see this message, contact your system administrator or computer manufacturer for assistance,

So, at this point I am not sure what else to try before I decide to throw in the towel and reinstall the OS fresh from the DVD.

#6 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,714 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:08:02 AM

Posted 15 November 2013 - 10:23 AM

Did you try booting without the disc after the boot manager repair?


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#7 CBR954RR

CBR954RR
  • Topic Starter

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 15 November 2013 - 10:55 AM

Yes. Same exact results. For something to try, I replaced the RpcRtRemote.dll and USERENV.dll files with known good copies from another working Windows 7 Home Premium but the results were the same on boot up.

I also tried running chkdsk after booting from the DVD but chkdsk throws up a message about the disk being read only and aborts. I assume this means I can't run chkdsk from the DVD.

If I could boot the machine to a dos prompt I would try running chkdsk and sfc but I haven't figured out how to get it to a DOS prompt since normal or safe mode will not boot all the way up.

#8 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,714 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:08:02 AM

Posted 15 November 2013 - 11:15 AM




I also tried running chkdsk after booting from the DVD but chkdsk throws up a message about the disk being read only and aborts. I assume this means I can't run chkdsk from the DVD.

 

How did you try to run chkdsk /r?

 

If you are using the installation disc go to step 7b) and choose Command Prompt.

 

When it opens type in chkdsk /r then press Enter.  Please notice the space between chkdsk and /r.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#9 CBR954RR

CBR954RR
  • Topic Starter

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 15 November 2013 - 11:21 AM

Yes. Tried to run it from Step 7b selecting command prompt. I tried chkdsk /F /R and it gives up with error 766f6c756d652e63 3f1.

If I just run it as chkdsk with no parameters it states it cant run in read only mode.

#10 CBR954RR

CBR954RR
  • Topic Starter

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 15 November 2013 - 12:04 PM

I was able to get to the desktop and run an elevated dos prompt so I could run chkdsk. First time around it finished within seconds and stated the disk was OK so I tried again and this time it is running the full gamut. I will post results when it finishes.

I also tried running sfc /scannow but it came back with Windows Resource Protection could not start the repair service. I will try this again after chkdsk finishes its scan.

Is there a way to boot from the DVD and run sfc from there on the hard drive windows partition with a command like sfc /SCANNOW /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows

Edited by CBR954RR, 15 November 2013 - 12:12 PM.


#11 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,714 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:08:02 AM

Posted 15 November 2013 - 01:16 PM

In most computers the C: drive is the one which contains the operating system.  Are you sure yours is D:?

 

If it is the C: drive the command would be sfc /scannow /offbootdir=c:\ /offwindir=c:\windows, or just sfc c:/scannow

 

The operating system is on the hdd, the scans have to be run on the operating system, so it is running on the hdd.


Edited by dc3, 15 November 2013 - 01:17 PM.

Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#12 CBR954RR

CBR954RR
  • Topic Starter

  • Members
  • 51 posts
  • OFFLINE
  •  
  • Local time:10:02 AM

Posted 15 November 2013 - 01:29 PM

When booted from the DVD and after selecting Repair your computer, the screen shows the OS installed on D:. I believe this drive has a recovery partition and that may be labeled C:. When booted I think the OS partition is given a drive letter of C: but for the purposes of trying to run sfc when I boot from the DVD, it is showing as D: so that is why I had the command with D: and not C:.

chkdsk finished its scan and did not find anything worth mentioning.

I managed to get sfc running after booting off the DVD and will post results of that when it finishes.

sfc completed stating there were problems but it could not fix them.

So, unless there are some other things to try, it looks like the OS is botched enough that my only option might be to reinstall from scratch. Without being able to access the recovery partition from an F8 boot, I guess I will have to use the DVD I created along with the product key on the bottom of the laptop, correct? Then find all the drivers at Dell in order to get everything up and running.

Edited by CBR954RR, 15 November 2013 - 03:51 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users