Post P2V Guide: Step by Step Removing Ghost Hardware

Post P2VIt’s been a while since I had to P2V a Windows server but recently I found myself on a project doing P2Vs of business critical servers, again.

FYI: The new version of VMware VM Converter works great for converting a physical Windows and Linux server into a VM.

Once the conversion is completed, the new VM is online, VMtools are installed and video acceleration is set, here’s a couple more steps I learned about at a VMUG meeting that I recommend doing to finish the P2V job.

Removing Ghost Hardware for Best Performance

First – Remove Old Physical Hardware from the New Windows VM (picture shows “grayed” disk drives)

Step 1 –  Log into the VM

Step 2 –  Open a command prompt
–    Start > Run
–    CMD
–    Enter

[ad code=2 align=center]

Step 3 – At the prompt type: set devmgr_show_nonpresent_devices=1
–    Enter
–    Type: start devmgmt.msc
–    Enter

Step 4 – Wait for the Device Manager to open, then click on View > Show Hidden Devices
– Expand each category and search for “grayed” hardware
– Right click and click uninstall when “grayed” hardware is located
– Don’t worry about the System Devices category
– When all the hardware devices are gone, close the Device Manager and reboot

Second – Uninstall Old Hardware Specific Software

Step 1 – Log into the VM

Step 2- Start > Control Panel > Add/Remove Programs

Step 3 – Carefully find and uninstall programs from IBM/Dell/HP/other that are used for drive arrays, networking, ILO or any other similar application that is specific to the physical hardware.

Note: These items are not required now that the server hardware has been virtualized.

Done – When all the applications have been uninstalled, close the Control Panel and reboot

Q: Why do remove ghost hardware after a P2V?

A: The reason I do these steps is because over the years I’ve had to troubleshoot VMs that I found were P2V’d by someone else and not cleaned up. This normally causes poor performance and issues with ghost hardware devices or drivers that conflict with the virtual hardware devices, more specific – network adapters.

There – now all you need to do is make sure all your best practices are applied to the VM and it’s ready for production.

Want more tips like this? Yes!

Subscribe to www.VMinstall.com and get personal tips sent to your email inbox.

2 Responses to “Post P2V Guide: Step by Step Removing Ghost Hardware”
  1. Scott South April 27, 2011
  2. sivaiah2015 May 19, 2016

We're listening. Go ahead and share your ideas?

Udemy Training Deal Ends Soon [Click] To Get This Deal While It Lasts!
vSphere 6
8 Updates That Make vSphere 6 Better – Keith Barker
25 VMware Interview Questions: Tough & Technical (Download)
VMware jobs in Phoenix
VMware Jobs in Phoenix Arizona (Comparing Opportunities)
DevOps training
10 Reasons VMware Admins Should Boost OpenStack Skills
MSDevOps Guide
Microsoft DevOps: 25+ Power-Packed Windows SysAdmin Skills (NEW Guide!)
continuous integration tools
DevOps Training Courses That Will Give You The Edge And Make You Indispensable (This Is Perfect For Beginners Who Want Skills That Are Noticed By Companies Like Google & Facebook…)
Why DevOps Fails: How To Get Back On Track
Why DevOps Fails: How To Get Back On Track
DevOps jobs
How Listening to the David Linthicum Cloud Podcast Turned into a Goldmine of Cloud & DevOps Job Opportunities
Click here to learn how to Optimize WordPress Speed
WordPress Speed Optimization: Part 4 – VPS Case Study To Make VMinstall.com Rank Higher In Google Through Faster Hosting & High Availability @ Lower Cost
Best Hosting for WordPress
Case Study: Best VPS For Easy WordPress Migration
Cloudways Review: 12 Pros & Cons From My Deep Dive Testing (VPS Series: Part 2)
ServerPilot Review: Installing WordPress On DigitalOcean (VPS Series: Part 1)
Rise of the Robots
I’m Amazed After Reading Rise of the Robots – Best Jobs In 2017 (You won’t Guess what’s going on!)
top virtual reality jobs
30+ Awesome Virtual Reality Jobs That Take You From Boring To Amazing! (Must Read…)
Thinking Like Seth Godin
How To STOP A 300% Salary Loss Because YOU Think Like A SysAdmin: Start Thinking Like Seth Godin (Read Now!)
Resume Advice
Does Your Resume Suck? Get FREE Expert Resume Advice That Will Get You Noticed By Hiring IT Managers @ Amazon (Read Now…)
3 Open Source Storage Software Alternatives For Beginners
shades of devops
Free DevOps eBook Project (Read It Now!)
How to install Genymotion
How To Install Genymotion for Beginners (Includes Google Play)
20 Questions VMware Newbies Want Answered (Free Career Guide)