Solved

userinit.exe error after P2V

Posted on 2012-04-10
7
858 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
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 119

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 119
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Could not power on VM : msg.vmk.status.VMK_NO_SPACE. 6 92
ESXi 6 ESXTOP %C0 and %C1 Stats 8 100
VSphere Alerting 1 40
Choosing a virtualization platform, Hyper-V or VMWare? 5 27
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…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

773 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