PC Review


Reply
Thread Tools Rate Thread

Re: Windows 2000 Clean installation

 
 
Timo
Guest
Posts: n/a
 
      2nd Jul 2003
Hey James,
thanks for your reaction. SMS Kicks off a VBS script on the client
when an user wants to re-install his PC. This script copies a general
unattend.txt to the client. Then, the script will get some information
from the client (OS language, NetBIOS name, user name, installed
programs, domain) and manipulate the unattend.txt with this
information. After that, the script starts Windows 2000 Setup, with
the new unattend.txt.

At the end of the script, just before the command for starting the
Windows setup, i will clean up the harddisk. First what i do is a dir
commando with the output to a text file (CMD /C dir /b /l /ad C:\ >
c:\Unattend\dirlist.org). Then i manipulate this file, and delete the
WINNT entry from it. At the end i have a text file, with all the
directories on the drive, except the WINNT folder. As you say, i will
delete all directories with the RMDIR command. If i delete the WINNT
directory also, Windows 2000 Setup wont start because of missing
files... and it sounds logical to me

Set rtf = fso.OpenTextFile("c:\Unattend\dirlist.txt", 1, False)
Do while not rtf.AtEndOfStream
r = rtf.Readline
return = Shell.Run ("CMD /C RD ""C:\" & r & """ /S /Q",1, TRUE)
Loop
rtf.Close

thanks for your information, i have solved the problem with it!
Now i've got a new challenge. After Windows 2000 setup is ready with
copying the files, the system will reboot. Now the setup found a
previous version of Windows (the old winnt directory), and asks me if
i want to delete the previous version... I can switch the parameter in
the unattend.txt (NTUPGRADE = YES) to avoid the message, but that
isn't what i want, i want a clean installed system!

well, again thanks for your reaction! (and my excuse for my english)

Timo

James Williams <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> Hey Timo. I've never used SMS to deploy, but I've been working
> extensively with unattended installs for the last few months.
>
> How exactly is the SMS install kicked off? Does it toss an image down,
> then boot into Windows Setup?
>
> What I'm thinking now is that you could put a format or a deltree
> command in the autoexec-type file you distribute to clients. If you're
> kicking off the install from within Windows, I know rmdir uses a very
> handy /s flag that does recursive deletes. Just use "rmdir /q /s
> <dirname>" to supporess confirmation prompting.
>
> Give me some more info about how SMS kicks off the install process and
> we can refine that train of thought...
>
> Hope this helps!
>
> (j)
> James Williams
>
> Timo wrote:
> > Hi all,
> > after the unattended (network based) installation of Windows 2000, it
> > looks like there are some directories left from the previous
> > installation. The old Program Files and other folders still remain. Is
> > there an option to delete all of the directories on the partition
> > before the installation starts?
> > We want to install the systems with SMS 2.0. This means it has to be
> > done atomatically...
> >
> > I have set the following options:
> >
> > [Data]
> > AutoPartition=1
> > MsDosInitiated="0"
> > UnattendedInstall="Yes"
> >
> > [Unattended]
> > FileSystem=LeaveAlone
> > UnattendMode=FullUnattended
> > NoWaitAfterTextMode=1
> > NoWaitAfterGuiMode=1
> > ExtendOemPartition=1
> > OemSkipEula=Yes
> > OemPreinstall=Yes
> >
> >
> > thanks!
> > Timo

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista Clean Installation? =?Utf-8?B?Sm9zZXBo?= Windows Vista General Discussion 14 15th Feb 2007 10:55 PM
Windows XP clean Installation Daiquiri Windows XP Help 2 8th Feb 2005 10:56 AM
How to do a clean Windows XP installation? dev Windows XP General 8 28th Dec 2004 02:48 AM
Clean installation Outlook 2000 (O2K) Hugo Vandenbroele Microsoft Outlook Installation 1 24th Apr 2004 12:32 AM
Clean Installation of Windows XP Ken Windows XP Setup 0 6th Sep 2003 05:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:12 PM.