Solved

.cmd file for system prep on home server

Posted on 2008-06-22
2
567 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

860 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