[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

.cmd file for system prep on home server

Posted on 2008-06-22
2
Medium Priority
?
573 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 2000 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
Considering today’s continual security threats, which affect Information technology networks and systems worldwide, it is very important to practice basic security awareness. A normal system user can secure himself or herself by following these simp…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

834 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