If you have used VMware for any length of time, you have probably done a P2V(Physical to Virtual) conversion on a Windows server, to migrate that system into a virtualized environment. If you’ve got specific NIC settings – such as Static IP, DNS, etc. – those have to be recreated on the new virtual NIC. You also have the duty of cleaning up all the non-present hardware of the system after the conversion is finished in order to get respectable boot times, and better stability inside of Windows.
There are a lot of repetitive tasks, so I decided to put all those common commands in a batch script. Things should be self-explanatory but let me know if you have questions. Note: Fully works only on Windows 2003 server