Solved

.cmd file for system prep on home server

Posted on 2008-06-22
2
569 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

A list of useful business intelligence software.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

705 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