Solved

userinit.exe error after P2V

Posted on 2012-04-10
7
865 Views
Last Modified: 2012-04-10
I can't successfully P2V my Win2003 Terminal Servers.  

The P2V process appears to go successfully and the new virtual machine even presents me with a logon prompt.

But as soon as I attempt login, I get the error "userinit.exe: the application failed to properly initialize ..." then after a few minutes it forces a reboot.

I can boot into safe mode however.  I attempted to replace the userinit.exe and winlogon.exe and ensure the paths in the registry was correct  but nada.

The only thing different about the physical servers I'm virtualizing are two programs - one is Faronics Deepfreeze and the "User Profile Hive Cleanup Service"

I tried removing them both before virtualizing, but I still get the same error after P2V

Any ideas?

p2Fail
0
Comment
Question by:Marketing_Insists
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 10

Assisted Solution

by:George Khairallah
George Khairallah earned 167 total points
ID: 37829626
Ok, so I'm going to attempt to help you here, but I think I'll only have a partial solution, which may just guide  you in the right direction.

I have seen this issue before when the userinit.exe is replaced with another, (especially if you use a desktop management solution i.e: KACE), which would take over the GINA. I'm not sure if Terminal Services does that in some way.

I would check this registry key, and see the content:
HKLM\Software\Microsoft\Windows\NT\CurrentVersion\WinLogon\Userinit
Normally, this key should point to c:\windows\system32\userinit.exe . Is it, in your case?
0
 

Author Comment

by:Marketing_Insists
ID: 37829675
> Normally, this key should point to c:\windows\system32\userinit.exe . Is it, in your case?

Yes.  The key is pointing to that destination.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 166 total points
ID: 37829681
did you have any machine eg HP software or agents that have not been removed prior to P2V?

was this completed hot or cold?
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 1

Accepted Solution

by:
cvservices earned 167 total points
ID: 37829768
If you are able to start up the VM in safe mode, can you try to display hidden devices, and remove any grayed out devices. hopefully at that point you'll be able to start up correctly, and get VMware Tools installed.

To enable the hidden devices.. create a batch file with the following
set devmgr_show_nonpresent_devices=1
devmgmt.msc 

Open in new window



then run it. Also, make sure you check on hanccocka's suggestion regarding any agents, etc ..
0
 

Author Comment

by:Marketing_Insists
ID: 37830054
The conversion was done hot.

these are HP servers:  ProLiant BL460c G1

For these models, I disable the HP related services during the virtualization process.  (as optional in the 'VMWare Converter wizard')

I'm above attempting suggestions (agents and non-present) - will report back.
0
 
LVL 120
ID: 37830088
We always remove ALL HP software and agents before we P2V an HP server.
0
 

Author Closing Comment

by:Marketing_Insists
ID: 37830243
Thanks for all your help and getting me looking.  THe issue was out of left field:  A small disused app for dealing with timeZone issues for particular situations in TS user sessions (from AppSence).

I did notice the its presence as a 'missing device' in devmgmt.msc and had a connection to a service of similar convention.
I removed the offending app and all was well.

(
as a further note: uninstalling in safe mode is nice too if you don't want to blow your rollback:
In safe mode on the P2V'd machine, appwiz.cpl will regain its add/remove abilities after activating the MSIServer::
 REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"
 net start msiserver
)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hardware status and alerting for ESXi servers ? 6 94
VM sizing 2 44
Windows Deployment Services 6 57
Vcenter and vSphere licensing renewal question ? 10 62
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question