Solved

Help with reboot and format.

Posted on 2006-11-19
9
149 Views
Last Modified: 2010-04-05
Hi all i was working on a automatic format solution. Like Dell,Gatway You can insert the CD it would auto reformat the machine. That said I am looking for a solution where from my Delphi application i can choose an option to reboot and auto format. It can run a batch file or ,asm, or scripting . This is probably a hard thing.
Thanks
Grant
0
Comment
Question by:Grant Fullen
[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
  • 4
  • 4
9 Comments
 
LVL 9

Accepted Solution

by:
bernani earned 500 total points
ID: 17977473

Hi,

This is probably a hard thing.....  Yes, it is.

The major problem you have is the preparation of the boot install Cd.

It needs to contains all the stuff required to install properly as well the OS and it's service pack(s) as well the drivers for each of the devices for that machine and then create the image to burn on the CD.

You can try to see how to prepare such a disk with existing solutions and the steps required:

http://www.computerhope.com/boot.htm
http://www.nu2.nu/pebuilder/
http://www.nu2.nu/bootcd/wxp/
http://www.tech-recipes.com/rx/528/create_bootable_windows_xp_cd_rom
http://nightowl.radified.com/bootcd/started.html
http://www.ubcd4win.com/index.htm
http://www.ultimatebootcd.com/resources.html
and last
http://www.bootdisk.com/




0
 
LVL 19

Expert Comment

by:MerijnB
ID: 17977824
don't forget http://www.nliteos.com/ :)
0
 

Author Comment

by:Grant Fullen
ID: 17978970
Thanks for the post. I am aware of the Bart's PE cd, and Useing Microsofts SysPre tools to do Unatnened installs. I had some delphi code a while back that i called a batch file it would ON REBoot would formaty the C: drive. SO once exacuted when the computer  rebooted it would thebn reformat the drive . I am looking for something like this to do from delphi.
Thanks
Grant
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:bernani
ID: 17979800
Hi,

I don't know where you had this code, but I believe (and be nearly sure) that nobody here at Experts-Exchange will give or show you the necessary code to format a drive at startup (except maybe the one related to a floppy disk A). Not me, for sure, as this is related to a OS security issue.

I hope you can understand my opinion.
0
 

Author Comment

by:Grant Fullen
ID: 17983749
Hey Bernani . I understand. But has anyone else worked on a cd to reboot and auto reformat like, Dell,Gatway,HP. Compaq. I would like to put one together. I have some friends that are not that great at formating there own computer. I have some other Registry tweeks and stuff in a delphi app and I would like to make  a unattended CD to reformat and put the os on. But I want to strat the from my delphi app.
Thanks for all comments and reading my post.
Grant
0
 

Author Comment

by:Grant Fullen
ID: 17983986
Hey I was wondering does anyone know of a alternative to using Microsoft's SysPrep Tool . Something to help make an unattended install.
Thanks
Grant
0
 
LVL 9

Expert Comment

by:bernani
ID: 17984229
Hey Grant,

I understand what you mean: a bootable restore disk from the whole computer's OS and applications.

If you know how to prepare and burn a bootable CD (it will start automatically at system boot), I don't see where is your problem to write your application.

If I understand well, your Delphi application create a bootable CD , launch the HD formatting procedure, initialise the system and reinstall the whole bunch of system files + applications without the least intervention of the user.

In this case, you need to write yourself all the steps of the installation, to call the various required soft and install them calling their setup or .inf file , do the necessary checkings ... and so on.

See the installation files of many applications in your system folder (.inf file).

And if you want do a restore CD for a particular machine, you absolutely need all the infos related to all the drivers installed for that particular machine (easy to determine with a little utility - Drivers backup) and be sure that no important data are 'forgotten' before deletion. For example, ask your users to show you the exact location of the outlook dbx.files (to avoid to export and reimport the whole ...)

You say : I have some other Registry tweeks and stuff in a delphi app and I would like to make  a unattended CD to reformat and put the os on. I don't believe it's sufficient to create an application that will begin to sweep the whole OS ...

It's my own opinion.



 
0
 

Author Comment

by:Grant Fullen
ID: 17984256
Hey Bernani. Thanks for the info. I have about 10 to 15 system tweaks for windows. Some are registry and others are not. I want to make a nice app to tweak you OS and all so be able to reformat as stated above. And I have some other things besides just tweaks I have worked on . I now want to bring it all together.
Thanks  for posting and reading my post.
Grant
0
 
LVL 9

Expert Comment

by:bernani
ID: 18092254
Hi,

If you're still working on your project, here are some useful links:

http://www.dancemammal.com/cdburn1.htm (with sources)

and also

CD Burning Library v.1.2 http://www.torry.net/pages.php?id=249 (with sources)

and also:

http://www.911cd.net/forums//index.php?showforum=2

and a doc dscribing how to create a bootable CD (it's or Win2000)

http://www.willowhayes.co.uk/windows2000/custom.doc

and regarding formatting

http://www.magsys.co.uk/delphi/magdskfmt.asp

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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