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: Is this the right approach for a truly clean install?

05 Jul 2017   #41
Megahertz07

Windows 7 HP 64
 
 

Thank you Kari. Made me feel less guilty.
The command line came from Win 10 tutorial.


My System SpecsSystem Spec
.
05 Jul 2017   #42
Paul Black

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Megahertz07, I followed your instructions exactly.

Kari, I used the Sysprep.exe /audit /reboot /unattend:\relocate.xml.

On the last install it setup an extra System Reserved partition that was 100 MB.

Everything seemed to go OK. I got all the boxes and it said it was working. But I still didn't get to enter the Product Key and the Users are still on drive C:.

I checked and it is definately a 64-bit system.

I entered the sysprep lines manually in the command prompt:

C:\Users\Administrator>cd \Windows\System32\Sysprep
C:\Windows\System32\Sysprep>Sysprep.exe /audit /reboot /unattend:\Relocate.xml

And this is the Relocate.xml file I used:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>D:\Users</ProfilesDirectory>
</FolderLocations>
</component>
</settings>
</unattend>
My System SpecsSystem Spec
05 Jul 2017   #43
Kari

 

For Sysprep to run without any error messages, and Users folder not to be relocated, there are only three possible causes:
  1. Wrong bit architecture
  2. Windows setup does not find the target drive, for instance when user is pointing Users folder to drive W: but when Windows setup is run after Sysprep, drive W: is not found
  3. Target drive is not an internal NTFS formatted partition (Users folder cannot be relocated to an SD card, external USB disk, internal FAT32 formatted drive and so on)

In OP's case I suspect it's the list item 2 that is the culprit.

Kari
My System SpecsSystem Spec
.

05 Jul 2017   #44
Paul Black

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Just a thought, would skipping connecting to a wireless network during installation have anything to do with it?
This is what I have been doing because I was going to setup a wireless network later on.
I know that comes after running the Sysprep but just a thought!
My System SpecsSystem Spec
05 Jul 2017   #45
Kari

 

No, network connection or lack of it has nothing to do with your issues.
My System SpecsSystem Spec
05 Jul 2017   #46
Paul Black

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Well I have just done another installation with the same results.
It did seem however that everything worked OK, oh well!
No option to enter Product Key and the Users are still on drive C: and the only file on drive D: is the Relocate file.
I think tomorrow I will just install Windows normally and then try and relocate the User folders afterwards somehow.
I will let you know how I get on.

Thank you both so very much, it really is appreciated.
My System SpecsSystem Spec
06 Jul 2017   #47
Megahertz07

Windows 7 HP 64
 
 

Paul, where did get the Win 7 installation disk?
My System SpecsSystem Spec
06 Jul 2017   #48
Paul Black

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

It came with the laptop along with a DVD for Drivers, Manuals & Utilities and a DVD for MS Office 2010 (Pre-Installed) & Windows Live Essentials.
My System SpecsSystem Spec
06 Jul 2017   #49
Megahertz07

Windows 7 HP 64
 
 

That explains a lot, at least why you're never asked to give the Key.
You have 3 kinds of win 7 licenses:
- OEM SLP are licenses sold to big manufactures (Dell, HP, Lenovo etc). The activation code is already in the installation disk and must match a code saved on BIOS - That is the one you have.
- OEM System Builder are licenses sold to small builders and you buy them on stores. Once activated on a computer it will be tied to that computer.
- Retail licenses were sold to customers to upgrade or install on their computers. You can move the license from one computer to another.

This is a link for Win 7 HP OEM SP1 https://software-download.microsoft....de3e9ac8970c77
The link is only valid till 11.30AM Friday.
Download it NOW.
For this Installation disk you will need the COA key that came with your computer.
My System SpecsSystem Spec
06 Jul 2017   #50
Paul Black

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Hi Megahertz07, I really can't thank you enough for sticking with me on this, it is appreciated.

I reinstalled the system AGAIN this morning as normal without trying to relocate the Users.
I still didn't get to enter the Product Key but now I know why, thank you.
It was very slow indeed after the installation had finished so I flashed the BIOS, this seemed to help.
I have been doing bits on it and it has just crashed several times without any reason. I got a blue screen saying that it was saving crash information.
It is still very slow indeed now.

Anyway, I am currently downloading the file that you kindly posted.
Is it a case of just copying this file to a DVD and inserting it into my new laptop and running it and then using the Product Key on the bottom of my laptop?

When I right click computer and select properties I also have a Product ID: nnnnn-OEM-nnnnnnn-nnnnn code and it says that Windows is activated. Exactly as you have stated in your previous post.

Thanks in advance.
My System SpecsSystem Spec
Reply

 Is this the right approach for a truly clean install?




Thread Tools




Similar help and support threads
Thread Forum
Clean install error Windows cannot install required files.
This is what is happening. A friend gave me his DELL Inspririon 531 2007 Desktop. It has a pirated copy of 7 ultimate x64 (which I am not sure if this supports 64 bit). Prior to looking into how old the machine was, I was able to install 8.1 64 bit. But it wouldn't allow me to install any drivers...
Installation & Setup
How can I do a clean erase of my SSD to clean install Windows 7?
I think I have a virus or malware and have been unable to get rid of it after many tries, and I am having multiple problems with this home built computer running Windows 7Pro 64bit. I installed a retail version of Windows 7Pro 64bit and I have my original installation disk. I want to do a clean...
Installation & Setup
Clean install vs System image file install?
Could someone tell me if a re-install from a system image file on my notebook is as good as a clean install from say a retail disk. I can not format all my drive and start a fresh. Can my System image file become glitchy or infected with a virus.???:huh:
Installation & Setup
Clean Install of Win7 - Wipe Hard Drive Clean
Hi Folks, I just did a clean install of Win7 and must have done something wrong. I found a file called Windows.old.:confused: I would like to wipe my hard drive completely clean and then install a fresh copy of Windows 7 Home Premium. How do I accomplish this task? It's a good time to...
Installation & Setup
Boot config not working, tried clean install, can't install windows 7
My spouses pc all of a sudden wouldn't boot, not into safe mode or anything (vista), and so we were going to upgrade anyways to windows 7, so i bought the upgrade windows 7 and attempted to do a clean install and reformatted the c: drive which has 250gb, and each time i start the install it bogs...
Installation & Setup


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:18.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App