Link to home
Start Free TrialLog in
Avatar of BLACK THANOS
BLACK THANOSFlag for United States of America

asked on

How can I put an OS pristine machine onto a 32gig USB drive

good afternoon experts,

I am in the process of rebuilding one of my computers. I am at the stage now where I am simply doing windows updates. I used to use CloneZilla to clone pristine machines, but the current version is a bit confusing to me. I like the old version better. To my point, after I am done with this current machine, I want to put it on a USb Drive that has 32 or 64 gig on it.

It there a step by step that someone can link my to in order to achieve my goal of having a pristine operating system  ( OS, Application, Windows Updates, etc..) on a USB drive ,I want to the solution to be able to sysprep itself in order to remove the possibility of duplicate sids.

Is this possible.???

Please help
regards,
Regis
Avatar of rindi
rindi
Flag of Switzerland image

Will you be wanting to boot into Windows directly from the stick, or will that just containf the image so you can restore it to your PC's? If the first option, with Windows you can't, at least not the way you want it done.

But with Windows 8 you can use "WindowsToGo" which is included with the enterprise version. But also here your USB stick must be larger than 32 GB, and it must be included in the list of compatible sticks, of which there aren't too many currently.

What works with Windows 7 and 8 is also the following method:

http://ftanada.wordpress.com/2009/02/15/install-windows-7-on-a-usb-stickflash-drive/

But with this method (which I tried), the system ran very slowly , and windows updates didn't work properly after the OS booted from the stick. This is probably because you can't have a pagefile on the stick, and it seems that without the pagefile the updates don't work.

Either ways you need to do the installation to the stick, so you can't first install the OS with all the apps to an internal HD, and then clone it to run from the stick. But once you have installed the OS, you can of course use CloneZilla to duplicate the sticks.
Avatar of BLACK THANOS

ASKER

No rindi,

I do not want to ever boot into windows with a USB stick. I simply want to be able to install windows 7 on a clean pristine physical machine, with all of the necessary applications , including but not limited to Office 2010 and  Windows Updates. I want to put this image on a stick and use it to install of other machines. To put things into perspective , here at the Boys & Girls Clubs of Monterey County  (BGCMC), all the machines are identical, so I thought that I could immolate an install like I used to do with CloneZilla, But as I said, many changes have been
made to Clonezilla and I don't want to take the time right now to re-learn it. I will though in the future, but for now, I simply want to clone this machine that is almost done with installing the necessary updates and then I will install all my applications on it. before I would simply use a sata mounting kit with two slots and clone one drive to the other. This worked fairly well, but I had to use the same disk capacities i.e. 500 to 500 gig or 1000 gig to 1000 gig for the respective slots. If that's what I have to do , then could someone , please illuminate me on how to use the new CloneZilla. A how to would suffice. We also have Acronis and Spotmau options here at the BGCMC.  Which option is best for what I want to do?? I hope I have explained myself well enough. I am not interested in virtual machines right now unless it will help me convert the virtual to physical onto the stick and then I can install from the stick and worry about the sys preping later. I never really got the whole sysprep concept, but I know how to perform it on a machine, but I don't understand the three times limitations you can use sysprep. Please explain to my in Sysprep  for dummies fashion.
Avatar of sbrozinick
sbrozinick

I have been using Clonezilla for years as replacement for GHOST, Acronis, and others.  And have always thought that duplicate SIDs where bad; but, I came across this article (The Machine SID Duplication Myth (and Why Sysprep Matters)) by Mark Russinovich formally of Sysinsternals and now a Microsoft Employee: http://blogs.technet.com/b/markrussinovich/archive/2009/11/03/3291024.aspx 

So, what I do is create an image of the computer with the workgroup name the same as the domain name and with a generic name for the computer.  Image the system.  Then, if you really do not beleive Mr. Russinovich run sysprep with the generalize option.  Change the name of the computer to suit the primary user.  Then join the computer to the domain.

On the writing, the image to a USB drive.  Try using the beginner interface.
@sbrozinick While duplicate SIDs aren't necessarily bad, that  Mark Russinovich article still recommends running Sysprep:
http://blogs.technet.com/b/markrussinovich/archive/2009/11/03/3291024.aspx 
Note that Sysprep resets other machine-specific state that, if duplicated, can cause problems for certain applications like Windows Server Update Services (WSUS), so Microsoft’s support policy will still require cloned systems to be made unique with Sysprep
Hi,

A great link regarding sysprep is here: sysprep and MDT.

You have two options: one is clone using something like Acronis OR use Microsoft Deployment Toolkit 2012 (soon to be 2013).

There are pros and cons to each.

Cloning
Cons
static - snapshot in time i.e. updates, apps etc are frozen
hardware dependent - hardware has to be identical

Pros
Quickest - disk to disk is possible in a few minutes
Same - each disk is identical to a low level


MDT
Cons
Learning curve  - you have to learn a little but can create a simple build in 30 mins

Pros
Dynamic - it can pull down new updates automatically
Unique   - will run Sysprep for you
Flexible - you can add any step you already do manually as a step
Automated - you can automate things as much or as little as you like
Pre-prepared scripts - it includes lots of little scripts as task-sequence steps that you either want, or didn't know about until now, but now you want those too
Free - yes it's free.
Media option - you can run the deployment from a server OR create a media-based deployment which will create a bootable fully-automated build as an ISO. You can burn this to DVD or use a tool to convert it to USB.

If I were going the clone route I would use Acronis personally. It supports booting off USB as here: http://kb.acronis.com/content/1526.

However, my preference is MDT. I used cloning using Ghost for many years but find MDT better simply because if one tiny thing changes on your image, you have to start from scratch. Loading the image, adding the change, running sysprep again and capturing is NOT an option owing to the sysprep limit.

I understand you are probably lacking time to invest in yet another tool but you can learn the basics very quickly with the following book:  Deployment Fundamentals vol 1

MDT Lite-touch video walkthrough

Don't worry you don't need to read the other volumes. That's all you need. The authors speak at TechEd and are both MVPs.


Mike
drmiket wrote:



"However, my preference is MDT. I used cloning using Ghost for many years but find MDT better simply because if one tiny thing changes on your image, you have to start from scratch. Loading the image, adding the change, running sysprep again and capturing is NOT an option owing to the sysprep limit"

Good afternoon drmiket,

Please explain the sysprep limitations to me. Also, did you mean that MDT doesn't depend on sysprep and do I need to be in and Active Directory environment, because my environment is WORKGROUP ONLY.
.
Hi,

With 2000 or XP you could run sysprep many times on the same machine. With Windows 7 Microsoft re-wrote it and made some key changes to profiles and also introduced OS activation which has a limit of 3 times before entering "restricted functionality". Every time you run sysrep it uses an activation (or life of the OS). To be able to run sysprep again on the same machine, you run the command "slmgr.vbs /rearm".

Owing to the activations ceiling, you can only do this three times. If you use disk-cloning tools it matters most because you have a gold image, apply it, make changes and run sysprep again. This makes cloning Widows 7 a pain. You only have 3 "lives" before you have to rebuild the whole OS from scratch.

The alternative is an unattended build which uses a script, to build up the OS every time. There are two main ways: WDS which uses a server, the WIM file from your source DVD/ISO and any customisations you want in an answer file - unattend.xml.

This needs a server and a network though so is not suitable for many.

The other automated way is MDT. MDT simply comes with a step to run sysprep for you in the default task-sequence template - which is simply a list of steps for the machine to follow. You can have the default or add more steps for more drivers/apps.
Don't delete *anything* from the default step - only add new ones. This includes the sysprep one.

SUMMARY: The worst that can happen running sysprep is an empty eventlog
The worst NOT running sysprep is WSUS for updates failing, and other weird behaviour with licensing or drivers that only appears much later. The other big reason is to be supported by Microsoft, should you ever feel the need to contact them that is.

These things are important whether on a workgroup or a domain. It doesn't matter. Let MDT run and it will run sysprep so you don't even think about it.

Mike
PS: Reasons to run sysprep
even with MDT is there still a rearm limit of three??
Nope. You create your build and then put on DVD or USB or a network
Go to the machine, boot with the build disk and it gets built. That counts as being armed once.
If you need to start again or add something, make the change in MDT then create a *new*  by updating the distribution point. For media based (DVD or USB) this will take a while as it creates a brand new ISO file.

Now go to the target machine and boot with the build disk. It's a complete wipe disk and start again, so only gets armed once.

There may be confusion between activation and arming. Activation is when the OS calls home to Microsoft to validate the license. If your build machine never changes (i.e. no CPU or motherboard swap), then you only activate that once.
Building it with MDT will arm it once too. Make a mistake? Update your build and rebuild again and again until you're happy.

Mike
I love what you are saying drmiket, but I want to build on a network share and then kind of like the old pxe days have it get the build from the share. Is this possible?
SOLUTION
Avatar of sbrozinick
sbrozinick

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial