I'm trying to fix a ifM63x64.sys error on boot.  Luckily, the solution is to delete the following keys below.  Now, I would like to create a Preinstallation to delete these reg keys so the machine can continue to image.  So far, it's not working.  Thank you.

The Keys to delete:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\IFCoEMP]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\IFCoEVB]

The following script I'm using is this:

reg delete [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\IFCoEMP] /f
reg delete [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\IFCoEVB] /f
1 Comment   [ + ] Show Comment

Comments

  • I'm not sure I understand the question. Generally a pre install task runs before an image is deployed so why delete a registry entry on an image you plan to replace with a new one? If you are meaning you have deployed an image that gives this error on boot and you want a task to delete the registry entries after the deploy but before the boot you would need a Mid level task.
Please log in to comment

Answers

0
Where on your system is reg.exe ? Please try again specifying the full path and file extension to reg.exe.

At a command prompt, type reg delete /? and check that your syntax is correct. For example, I see HKLM and not HKEY_LOCAL_MACHINE when I try it on my WIn 7 machine.

You could also try redirecting output from your command line to a logfile so you can see any error messages.
Answered 07/29/2014 by: EdT
Red Belt

Please log in to comment
0
As a preinstall task, you are most likely targetting the registry of the KBE with a task like that.  You would need to use a VB script or something similar to load the external hive and change it.

Personally I would be trying to find out why the image is doing that in the first place.

Is this a Sysprep'd image?



Answered 07/29/2014 by: andrew_lubchansky
Black Belt

Please log in to comment
0
The following script I'm using is this:

reg delete [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\IFCoEMP] /f
reg delete [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\IFCoEVB] /f


I am not sure if you should be using the square braces in command. And also the HKLM thing mentioned by EdT:

reg delete "HKLM\SYSTEM\ControlSet001\services\IFCoEMP" /f
Answered 07/30/2014 by: mmudre@yahoo.com
Senior White Belt

Please log in to comment
Answer this question or Comment on this question for clarity