Solved

.cmd file for system prep on home server

Posted on 2008-06-22
2
564 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
Comment Utility
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
Comment Utility
That was it I needed to have the path to the windows install files included in the command line.

Thanks alot.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Learn about cloud computing and its benefits for small business owners.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Viewers will learn how to use the Hootsuite Dashboard.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now