format from command line

P

Pipe

i am getting no where (doing my nutts in~) with this currupt/missing file .
tried the kbase
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q307545 below

md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

typed first line <enter> and it couldn't find specified file

what is the worst if i can type format /q, will I lose XP off machine?
 
M

Me

Pipe said:
i am getting no where (doing my nutts in~) with this currupt/missing file .
tried the kbase
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q307545 below

md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

typed first line <enter> and it couldn't find specified file

what is the worst if i can type format /q, will I lose XP off machine?


Which line you having issues with?

md tmp

or

copy c:\windows\system32\config\system c:\windows\tmp\system.bak


is the prompt at c:\ ?
 
P

Pipe

yes at the copy c:\windows\system32\config\system c:\windows\tmp\system.bak
couldn't find specified file
and yes it is c:\
 
J

Jim

Pipe said:
yes at the copy c:\windows\system32\config\system
c:\windows\tmp\system.bak
couldn't find specified file
and yes it is c:\
Perhaps the registry hive \windows\system32\system does not exist. XP can't
start without it.
Perhaps you should look in the folder where it must be located to see what
else is missing.
Jim
 
E

Elmo

Pipe said:
yes at the copy c:\windows\system32\config\system c:\windows\tmp\system.bak
couldn't find specified file
and yes it is c:\

System is the missing registry section, so you can't copy it. Just do
the last part where you copy the original system file from the Repair
folder.

When SP2 isn't recognized, yet it's shown to exist, remove it from
Add/Remove, then reinstall.
 
P

Pipe

Elmo no can do, the system cannot find the file specified, that was the the
first line
copy c:\windows\repair\system c:\windows\system32\config\system
 
E

Elmo

Pipe said:
Elmo no can do, the system cannot find the file specified, that was the the
first line
copy c:\windows\repair\system c:\windows\system32\config\system

So it's missing from both c:\windows\system32\config\ and
c:\windows\repair\system ?

You need it from c:\windows\repair\ as the working copy in
c:\windows\system32\config\ is damaged or lost. (That's why you're
getting the error during Windows Startup.)

If you don't have it in c:\windows\repair\ you'll have to get a copy
from another computer or from a CD with the same version of Home, Pro,
etc. I think that would work. You would want a copy from the same
\Repair folder; it would be generic and, as mentioned, since the
original file is missing, and you can't import from it later, you'll
have to reinstall SP2 unless the OS included it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top