Solved

.cmd file for system prep on home server

Posted on 2008-06-22
2
568 Views
Last Modified: 2012-05-05
I have followed the steps outlined in the OEM OPK CD from Microsoft, but for some reason when I try to run the following file"WHSSysprep.cmd" it goes directly to the following line: "echo whssysprep.cmd [path to installation DVD's i386 directory]"  Can anyone give me some assistance with this?  I have converted the cmd file to a txt file for upload and review.
WHSSYSPREP.zip
0
Comment
Question by:stevecormier
2 Comments
 
LVL 7

Accepted Solution

by:
gnurl earned 500 total points
ID: 21843961
How do you start the .cmd file? Just with a doubleclick? This will not work ...

You must open a command line (run cmd.exe from Start -> run) and than run WHSSysprep <path to where your /i386 directory is>

The batch
checks the following:

if ""=="%1" goto Usage -> if nothing is entered show the line you described (:usage
echo.
echo Usage:
echo whssysprep.cmd [path to installation DVD's i386 directory]
goto:eof)

if NOT EXIST %1\i386 goto Usage -> If you entered something and there ist no i386 direcory in this path then show usage, too.

So:
If you want to use your CD ROM (D: ??) (and there is a i386 directory on it) please try the following
press win-Key + r
type cmd
press enter -> a command line opens
change to the path where whssysprep.cmd is
enter whsysprep D:\

normally the batch should run ...

Good luck
gnurl
0
 

Author Comment

by:stevecormier
ID: 21996952
That was it I needed to have the path to the windows install files included in the command line.

Thanks alot.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
This article was originally published on Monitis Blog, you can check it  here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sour…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question