Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Altering HP OEM image before firstboot

15 Aug 2011   #1

Windows 7 Pro x64
Altering HP OEM image before firstboot

I have a case where the task is to alter 250+ HP laptops with OEM factory image before firstboot. The purpose of this is to be able to use the preinstalled image of Win 7 Pro x64 on the laptops instead of using a generic VLA installation image (don't ask why).

Is there any way to modify the SetupComplete.Cmd or any other pertinent scripts/reg keys that the Windows OEM Preinstallation Kit or sysprep is using or any custom HP firstboot scripts so the bloatware and custom HP settings (except drivers) are not being installed or applied?

My System SpecsSystem Spec
15 Aug 2011   #2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86

Newer HP machines have a recovery option called Minimised Image Recovery. Running this from the HP recovery solution leaves behind only the OS, drivers, and some minimal HP software but gets rid of most bloat. Depends on whether your machines came preloaded with this option.

Other than that, you could adopt the standard deployment route- make a template image on one machine by stripping all bloat, then sysprep, capture the image and apply. This thread has a problem similar to yours.

Sysprep'ing an OEM Windows 7 image for WDS - Spiceworks Community

Note the requirement of a VL.
My System SpecsSystem Spec
15 Aug 2011   #3

Microsoft Community Contributor Award Recipient


+1 Bill.
Nice find for HP/Compaq users.
My System SpecsSystem Spec

16 Aug 2011   #4

Windows 7 Pro x64

Thanks for the feedback so far. A follow up question is this: What tools/scripts are HP using at firstboot to install all of their crapware? Cant find much in SetupComplete.Cmd or registry files. Runonce entries? Any other sysprep scripts that can invoke post-sysprep commands/exe/bat/etc.? The point is to try to disable the HP scripts in the firstboot/sysprep/waik process. Stil bloatware in the minimal install though.
My System SpecsSystem Spec

 Altering HP OEM image before firstboot

Thread Tools

Similar help and support threads
Thread Forum
Altering Margins in Outlook email
I like to have shorter lines when typing an email. This seems problematic if I have not finished an email and visit another site. When I return I see that the lines are incomplete, i.e. may be cut short like I have just displayed here. So I have to readjust them to form proper lines. ...
Microsoft Office
BOOTMGR is missing after altering partitions
I have a Dell Inspiron 620 with windows 7. When I first got the machine I copied some stuff from an old hard drive on to the new one. I created a partition for the old stuff called "old disk". Recently I realised I was hardly using the the second partition so I decided to merge the two. I...
Hardware & Devices
Altering Windows 7 Games Statistics
My best friend inadvertently reset my statistics for Spider Solitaire; I don't have a perfect score but have played a great many games. I know what the statistics were as of last week, and would like to restore them. In Windows XP, I could edit the Registry, but do not know whether this will work...
Altering Virtual Memory
I've recently been tweeking my virtual memory after a friend told me it could help boost my comp. I'm a minimalist and barely use any of my memory. I've recently set my VM at 8G-10G of VM. I'm sure this is over doing it, but are there any dangers to over allocating hard drive space to VM?
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:40.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App