Solved

userinit.exe error after P2V

Posted on 2012-04-10
7
869 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 121

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

726 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