I have modified the script so that it should work with x64 Windows. I simply relocated the awking of some output to use findstr instead of a third party application which does not work under 64 bit Windows.
There are several other modifications:
By default, this will create a directory under the %systemdrive% (normally C:) \admin with the same name as the script. The output files are placed in here, including the list of removed devices.
For the time being (until I get access to a x64 platform), you will need to replace the devcon.exe with the 64bit version and name it the same. When I get the opportunity, I'll use wmic to get the actual os version correctly, and use the appropriate 32|64 bit.
I've included contact information in the output screen as well - please use this if there are errors or improvements, as I don't monitor this post
Don't forget to award points where appropriate
Anyone able to get this script to work under Windows XP? I would love if it would!
I just converted a physical WS2003 that had two procesors, and I reomved on, I let the VM with onkly one procesor. DO I have to do all this you specified here ?
Sorry for the delay but I have updated the version of the script significantly.
It will now:
- Work on all flavours of Windows including 32 and 64 bit. So XP, Windows 2008 x64.
- Based on feedback, have added some new device classes that it will remove
- Creates a list of removed devices in the output folder (%systemdrive%\admin\Don't forget to award points where appropriate
Thank you very much for this update Snapper !
nice looks like the tool I was looking for
thanks a lot snapper
Just updated packages to v 3.2 as well.
Only differences: Updated the Windows HAL toggle script to the package, and as a stand alone as well.
All up on vmuse.info<http://vmuse.info> under script repository.
Does someone have a copy of the latest version of this package referred to as "v3.2" in the previous post? The vmuse.info site listed does not appear to have any scripts uploaded. I need the version that supports 2008 R2 server.