How can I enable the SET command from command prompt?

S

Sam Cooke

Hi

My pc won't load windows (I've got a virus I think) and I am working from
the recovery console, loaded from my xp cd, at the command prompt.

I want to copy some files from the CD to the PC but I get an "access is
denied" message when I try and do this. I think this is because the
environment option AllowAllPaths is set to FALSE. I am trying to set this to
TRUE using the SET command, but the system won't let me do it.

I have found several knowledge base articles (310497, 235364 307654)
which say how to enable the SET command from within windows, but given
that I can't load windows, they are not much help!

Can anyone tell me how to enable the SET command from the recovery
console command prompt?

Thanks and regards
Sam
 
B

Brian Abernathy

Where are you trying to copy files? The Recovery Console is specifically
limited in regards to which folders can be accessed or modified.

Hi

My pc won't load windows (I've got a virus I think) and I am working from
the recovery console, loaded from my xp cd, at the command prompt.

I want to copy some files from the CD to the PC but I get an "access is
denied" message when I try and do this. I think this is because the
environment option AllowAllPaths is set to FALSE. I am trying to set this
to
TRUE using the SET command, but the system won't let me do it.

I have found several knowledge base articles (310497, 235364 307654)
which say how to enable the SET command from within windows, but given
that I can't load windows, they are not much help!

Can anyone tell me how to enable the SET command from the recovery
console command prompt?

Thanks and regards
Sam
 
G

Guest

When I ty to boot the pc without the recovery console, i get a message
telling me a system file or files are missing.

So I'm trying to use the expand command to restore the missing file(s) by
taking the compressed files from the xp install cd to the windows\system
directory, but I get access is denied. I also want to access and hopefully
copy files from the c:\documents and settings\.. directory.
 
A

Alex Nichol

Sam said:
My pc won't load windows (I've got a virus I think) and I am working from
the recovery console, loaded from my xp cd, at the command prompt.

I want to copy some files from the CD to the PC but I get an "access is
denied" message when I try and do this. I think this is because the
environment option AllowAllPaths is set to FALSE. I am trying to set this to
TRUE using the SET command, but the system won't let me do it.

The recovery console has a very restricted set of commands: go to Help
and Support on a working system and search on "Recovery Console
Commands" including the quotes. In this case you may find the ATTRIB
command is needed, or you may (if these are compressed files in the
\i386 directory of the CD ) need to use the EXPAND command
 
B

Brian Coats

I ended up just reinstalling xp after I download an update for xp sp1
home that was not for Xp sp1 home. It messed up my activation
status. I tried the tips suggested by Microsoft using
The recovery console. The recovery console would not let you change
or use to the i386 directory folder. It would not let you do what the
Microsoft tips suggested either.


If you need data. Sometime you can get into safe mode by press F8
twice
 
C

cquirke (MVP Win9x)

Sam Cooke wrote:
The recovery console has a very restricted set of commands: go to Help
and Support on a working system and search on "Recovery Console
Commands" including the quotes. In this case you may find the ATTRIB
command is needed, or you may (if these are compressed files in the
\i386 directory of the CD ) need to use the EXPAND command

There's some specific issues here - you have to FIRST add settings to
the registry (either directly or via some other UI; I find RegEdit
easier than "what dialog box do you want to hunt for today?") else the
four Set commands supported by RC will not work.

IOW, if your XP gets shafted and you then find out you need these
things, you're screwed. Isn't it nice to have a system that's sooo
secure, even *you* can't get access to your data (when some drive-by
virus drills straight through all that "security" and bites your ass)?

You need to enable the four Set commands to:
- access drives other than C: (AllowAllPaths)
- use wildcard selection (doesn't work with Copy, either way)
- can't remember, sorry
- can't remember, sorry

Doing so doesn't cause RC to start with these enabled. You still have
to type out the commands each time, for that RC session.


-------------------- ----- ---- --- -- - - - -
Running Windows-based av to kill active malware is like striking
a match to see if what you are standing in is water or petrol.
 

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