Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



format from command line

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-01-2008
Pipe
 
Posts: n/a
format from command line

i am getting no where (doing my nutts in~) with this currupt/missing file .
tried the kbase
http://support.microsoft.com/default...;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?

Reply With Quote
  #2  
Old 07-01-2008
Me
 
Posts: n/a
Re: format from command line


"Pipe" <Pipe@discussions.microsoft.com> wrote in message
news:6399347F-6105-4840-A938-2621C346AC5B@microsoft.com...
>i am getting no where (doing my nutts in~) with this currupt/missing file .
> tried the kbase
> http://support.microsoft.com/default...;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:\ ?


Reply With Quote
  #3  
Old 07-01-2008
Pipe
 
Posts: n/a
Re: format from command line

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

"Me" wrote:

>
> "Pipe" <Pipe@discussions.microsoft.com> wrote in message
> news:6399347F-6105-4840-A938-2621C346AC5B@microsoft.com...
> >i am getting no where (doing my nutts in~) with this currupt/missing file .
> > tried the kbase
> > http://support.microsoft.com/default...;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:\ ?
>
>
>

Reply With Quote
  #4  
Old 07-01-2008
Jim
 
Posts: n/a
Re: format from command line


"Pipe" <Pipe@discussions.microsoft.com> wrote in message
news:728E427C-C988-4921-967E-23A69B8E7EBD@microsoft.com...
> 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
> "Me" wrote:
>
>>
>> "Pipe" <Pipe@discussions.microsoft.com> wrote in message
>> news:6399347F-6105-4840-A938-2621C346AC5B@microsoft.com...
>> >i am getting no where (doing my nutts in~) with this currupt/missing
>> >file .
>> > tried the kbase
>> > http://support.microsoft.com/default...;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:\ ?
>>
>>
>>



Reply With Quote
  #5  
Old 07-01-2008
Elmo
 
Posts: n/a
Re: format from command line

Pipe wrote:
> yes at the copy c:\windows\system32\config\system c:\windows\tmp\system.bak
> couldn't find specified file
> and yes it is c:\
>
> "Me" wrote:
>
>> "Pipe" <Pipe@discussions.microsoft.com> wrote in message
>> news:6399347F-6105-4840-A938-2621C346AC5B@microsoft.com...
>>> i am getting no where (doing my nutts in~) with this currupt/missing file .
>>> tried the kbase
>>> http://support.microsoft.com/default...;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:\ ?


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.

--
Joe =o)
Reply With Quote
  #6  
Old 08-01-2008
Pipe
 
Posts: n/a
Re: format from command line

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
"Elmo" wrote:

> Pipe wrote:
> > yes at the copy c:\windows\system32\config\system c:\windows\tmp\system.bak
> > couldn't find specified file
> > and yes it is c:\
> >
> > "Me" wrote:
> >
> >> "Pipe" <Pipe@discussions.microsoft.com> wrote in message
> >> news:6399347F-6105-4840-A938-2621C346AC5B@microsoft.com...
> >>> i am getting no where (doing my nutts in~) with this currupt/missing file .
> >>> tried the kbase
> >>> http://support.microsoft.com/default...;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:\ ?

>
> 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.
>
> --
> Joe =o)
>

Reply With Quote
  #7  
Old 08-01-2008
Elmo
 
Posts: n/a
Re: format from command line

Pipe wrote:
> 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
> "Elmo" wrote:
>
>> Pipe wrote:
>>> yes at the copy c:\windows\system32\config\system c:\windows\tmp\system.bak
>>> couldn't find specified file
>>> and yes it is c:\
>>>
>>> "Me" wrote:
>>>
>>>> "Pipe" <Pipe@discussions.microsoft.com> wrote in message
>>>> news:6399347F-6105-4840-A938-2621C346AC5B@microsoft.com...
>>>>> i am getting no where (doing my nutts in~) with this currupt/missing file .
>>>>> tried the kbase
>>>>> http://support.microsoft.com/default...;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:\ ?

>> 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.


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.

--
Joe =o)
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "format from command line"
Thread Thread Starter Forum Replies Last Post
xcopy command line together with wmplayer command line Aislinn Operating Systems 5 31-03-2010 12:13 PM
Problem: Command Line Option Syntax Error. Type Command /? For Help Nadeem MediaCenter 3 03-09-2009 05:41 PM
Command Line Ren (Rename) command broken? SixSigmaGuy Vista Help 2 18-05-2008 03:30 PM
How to change regional settings (date format) from command line ? TheTurner Window 2000 Help 2 17-10-2007 02:14 AM
autorun.inf - shell\..\command with command line parameter doesn'twork kakii Windows XP Support 1 18-05-2007 01:24 AM


All times are GMT +5.5. The time now is 01:54 PM.