Can't copy files to folders in Program Files

L

Larc

I need to copy a couple of updated .dll files to a folder a couple of levels
down from C:\Program Files, but Windows can't be running when I do it.
Unfortunately, Recovery Console won't permit copying to Program Files or any of
its subfolders.

Both files I need to copy are running when XP Pro is running. That's also true
in safe mode. I can't seem to find any way to stop them, so the only way I can
see of copying the new files over them is to do it when Windows isn't running.

Thanks for any ideas.

Larc
 
P

Pegasus \(MVP\)

Larc said:
I need to copy a couple of updated .dll files to a folder a couple of
levels
down from C:\Program Files, but Windows can't be running when I do it.
Unfortunately, Recovery Console won't permit copying to Program Files or
any of
its subfolders.

Both files I need to copy are running when XP Pro is running. That's also
true
in safe mode. I can't seem to find any way to stop them, so the only way
I can
see of copying the new files over them is to do it when Windows isn't
running.

Thanks for any ideas.

Larc

If you run Windows XP Professional then you can give yourself full access to
all folders under the Recovery Console by doing this:
- Click Start / Run / gpedit.msc{OK}
- Local Computer Policy / Computer Configuration / Windows Settings /
Security Settings /
Security Options / Recovery Console: Allow floppy disk access
- Set this policy to "Enabled".
 
P

Patrick Keenan

Larc said:
I need to copy a couple of updated .dll files to a folder a couple of
levels
down from C:\Program Files, but Windows can't be running when I do it.
Unfortunately, Recovery Console won't permit copying to Program Files or
any of
its subfolders.

Both files I need to copy are running when XP Pro is running. That's also
true
in safe mode. I can't seem to find any way to stop them, so the only way
I can
see of copying the new files over them is to do it when Windows isn't
running.

Thanks for any ideas.

Larc

You can attach the drive to another system, or use a Linux boot CD.

HTH
-pk
 
L

Larc

|
| | >I need to copy a couple of updated .dll files to a folder a couple of
| >levels
| > down from C:\Program Files, but Windows can't be running when I do it.
| > Unfortunately, Recovery Console won't permit copying to Program Files or
| > any of
| > its subfolders.
| >
| > Both files I need to copy are running when XP Pro is running. That's also
| > true
| > in safe mode. I can't seem to find any way to stop them, so the only way
| > I can
| > see of copying the new files over them is to do it when Windows isn't
| > running.
| >
| > Thanks for any ideas.
| >
| > Larc
|
| If you run Windows XP Professional then you can give yourself full access to
| all folders under the Recovery Console by doing this:
| - Click Start / Run / gpedit.msc{OK}
| - Local Computer Policy / Computer Configuration / Windows Settings /
| Security Settings /
| Security Options / Recovery Console: Allow floppy disk access
| - Set this policy to "Enabled".

Thanks, but I had already done that along with enabling "Allow auto
administrative login" for good measure. I also used the set commands to
"AllowAllPaths" and "AllowRemovableMedia" once I started Recovery Console. But
I always get the warning "The parameter is not valid" no matter how I try to
copy the files.

I tried each of the following and got the same warning each time:

copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk
copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\
copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\MXPM.dll
copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\MXPM.dll\
copy a:\mxpm.dll c:\program files\vcom\powerdesk [etc.]
copy c:\program files\vcom\mxpm.dll c:\program files\vcom\powerdesk [etc.]

I shouldn't have had to try different file sources and all those input strings,
but available MS instructions and Recovery Console help info on copy aren't
sufficiently detailed about input strings.

Larc
 
L

Larc

|
| | >I need to copy a couple of updated .dll files to a folder a couple of
| >levels
| > down from C:\Program Files, but Windows can't be running when I do it.
| > Unfortunately, Recovery Console won't permit copying to Program Files or
| > any of
| > its subfolders.
| >
| > Both files I need to copy are running when XP Pro is running. That's also
| > true
| > in safe mode. I can't seem to find any way to stop them, so the only way
| > I can
| > see of copying the new files over them is to do it when Windows isn't
| > running.
| >
| > Thanks for any ideas.
| >
| > Larc
|
| You can attach the drive to another system, or use a Linux boot CD.

Thanks for that. I may have to resort to it if I can't find a simpler method.

Larc
 
P

Pegasus \(MVP\)

Larc said:
|
| | >I need to copy a couple of updated .dll files to a folder a couple of
| >levels
| > down from C:\Program Files, but Windows can't be running when I do it.
| > Unfortunately, Recovery Console won't permit copying to Program Files
or
| > any of
| > its subfolders.
| >
| > Both files I need to copy are running when XP Pro is running. That's
also
| > true
| > in safe mode. I can't seem to find any way to stop them, so the only
way
| > I can
| > see of copying the new files over them is to do it when Windows isn't
| > running.
| >
| > Thanks for any ideas.
| >
| > Larc
|
| If you run Windows XP Professional then you can give yourself full
access to
| all folders under the Recovery Console by doing this:
| - Click Start / Run / gpedit.msc{OK}
| - Local Computer Policy / Computer Configuration / Windows Settings /
| Security Settings /
| Security Options / Recovery Console: Allow floppy disk access
| - Set this policy to "Enabled".

Thanks, but I had already done that along with enabling "Allow auto
administrative login" for good measure. I also used the set commands to
"AllowAllPaths" and "AllowRemovableMedia" once I started Recovery Console.
But
I always get the warning "The parameter is not valid" no matter how I try
to
copy the files.

I tried each of the following and got the same warning each time:

copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk
copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\
copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\MXPM.dll
copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\MXPM.dll\
copy a:\mxpm.dll c:\program files\vcom\powerdesk [etc.]
copy c:\program files\vcom\mxpm.dll c:\program files\vcom\powerdesk
[etc.]

I shouldn't have had to try different file sources and all those input
strings,
but available MS instructions and Recovery Console help info on copy
aren't
sufficiently detailed about input strings.

Larc

There are several ways to access the file system while Windows is inactive:
- Run the disk as a slave disk in some other WinXP/2000 machine.
- Put it into a USB enclosure.
- Boot the machine with a Bart PE boot CD (a very powerful tool!)
- Boot the machine with a Nordahl boot CD and get into its Linux shell.

You could also use inuse.exe to replace locked files a boot time
(http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp).
 
T

Terry R.

The date and time was Thursday, January 15, 2009 6:14:11 PM, and on a
whim, Larc pounded out on the keyboard:
|
| | >I need to copy a couple of updated .dll files to a folder a couple of
| >levels
| > down from C:\Program Files, but Windows can't be running when I do it.
| > Unfortunately, Recovery Console won't permit copying to Program Files or
| > any of
| > its subfolders.
| >
| > Both files I need to copy are running when XP Pro is running. That's also
| > true
| > in safe mode. I can't seem to find any way to stop them, so the only way
| > I can
| > see of copying the new files over them is to do it when Windows isn't
| > running.
| >
| > Thanks for any ideas.
| >
| > Larc
|
| You can attach the drive to another system, or use a Linux boot CD.

Thanks for that. I may have to resort to it if I can't find a simpler method.

Larc

Hi Larc,

Do you have Powerdesk set as your Explorer replacement? If so, try
setting Windows Explorer (or uncheck the option in PD) back as the
default and then try copying the files again.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
L

Larc

|
| | > On Fri, 16 Jan 2009 00:55:59 +0100, "Pegasus \(MVP\)" <[email protected]>
| > wrote:
| >
| > |
| > | | > | >I need to copy a couple of updated .dll files to a folder a couple of
| > | >levels
| > | > down from C:\Program Files, but Windows can't be running when I do it.
| > | > Unfortunately, Recovery Console won't permit copying to Program Files
| > or
| > | > any of
| > | > its subfolders.
| > | >
| > | > Both files I need to copy are running when XP Pro is running. That's
| > also
| > | > true
| > | > in safe mode. I can't seem to find any way to stop them, so the only
| > way
| > | > I can
| > | > see of copying the new files over them is to do it when Windows isn't
| > | > running.
| > | >
| > | > Thanks for any ideas.
| > | >
| > | > Larc
| > |
| > | If you run Windows XP Professional then you can give yourself full
| > access to
| > | all folders under the Recovery Console by doing this:
| > | - Click Start / Run / gpedit.msc{OK}
| > | - Local Computer Policy / Computer Configuration / Windows Settings /
| > | Security Settings /
| > | Security Options / Recovery Console: Allow floppy disk access
| > | - Set this policy to "Enabled".
| >
| > Thanks, but I had already done that along with enabling "Allow auto
| > administrative login" for good measure. I also used the set commands to
| > "AllowAllPaths" and "AllowRemovableMedia" once I started Recovery Console.
| > But
| > I always get the warning "The parameter is not valid" no matter how I try
| > to
| > copy the files.
| >
| > I tried each of the following and got the same warning each time:
| >
| > copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk
| > copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\
| > copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\MXPM.dll
| > copy c:\edit\mxpm.dll c:\program files\vcom\powerdesk\MXPM.dll\
| > copy a:\mxpm.dll c:\program files\vcom\powerdesk [etc.]
| > copy c:\program files\vcom\mxpm.dll c:\program files\vcom\powerdesk
| > [etc.]
| >
| > I shouldn't have had to try different file sources and all those input
| > strings,
| > but available MS instructions and Recovery Console help info on copy
| > aren't
| > sufficiently detailed about input strings.
| >
| > Larc
|
| There are several ways to access the file system while Windows is inactive:
| - Run the disk as a slave disk in some other WinXP/2000 machine.
| - Put it into a USB enclosure.
| - Boot the machine with a Bart PE boot CD (a very powerful tool!)
| - Boot the machine with a Nordahl boot CD and get into its Linux shell.
|
| You could also use inuse.exe to replace locked files a boot time
| (http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp).

Thanks very much, Pegasus. Inuse worked! But it was a PITA to get set up
right. Nothing worked until I finally installed it in the same C:\Program
Files\VCOM folder with the replacement files. Then it was a matter of just
typing the command with absolute minimal paths. Inuse can't seem to "see"
farther than from one folder level to another. Or at least the Program Files
folder appears to be a brick wall for it. Any mention of that in either path
and it fails.

Larc
 
P

Pegasus \(MVP\)

Larc said:
Thanks very much, Pegasus. Inuse worked! But it was a PITA to get set up
right. Nothing worked until I finally installed it in the same C:\Program
Files\VCOM folder with the replacement files. Then it was a matter of
just
typing the command with absolute minimal paths. Inuse can't seem to "see"
farther than from one folder level to another. Or at least the Program
Files
folder appears to be a brick wall for it. Any mention of that in either
path
and it fails.

Larc

Thanks for the feedback. When you get a couple of hours to spare, make
yourself a Bart PE boot cd.
 
L

Larc

| The date and time was Thursday, January 15, 2009 6:14:11 PM, and on a
| whim, Larc pounded out on the keyboard:
|
| >
| > |
| > | | > | >I need to copy a couple of updated .dll files to a folder a couple of
| > | >levels
| > | > down from C:\Program Files, but Windows can't be running when I do it.
| > | > Unfortunately, Recovery Console won't permit copying to Program Files or
| > | > any of
| > | > its subfolders.
| > | >
| > | > Both files I need to copy are running when XP Pro is running. That's also
| > | > true
| > | > in safe mode. I can't seem to find any way to stop them, so the only way
| > | > I can
| > | > see of copying the new files over them is to do it when Windows isn't
| > | > running.
| > | >
| > | > Thanks for any ideas.
| > | >
| > | > Larc
| > |
| > | You can attach the drive to another system, or use a Linux boot CD.
| >
| > Thanks for that. I may have to resort to it if I can't find a simpler method.
| >
| > Larc
|
| Hi Larc,
|
| Do you have Powerdesk set as your Explorer replacement? If so, try
| setting Windows Explorer (or uncheck the option in PD) back as the
| default and then try copying the files again.

Thanks, Terry. No, I didn't have it set up that way.

Larc
 
L

Larc

|
| | > On Fri, 16 Jan 2009 11:21:14 +0100, "Pegasus \(MVP\)" <[email protected]>
| > wrote:
| >
| > Thanks very much, Pegasus. Inuse worked! But it was a PITA to get set up
| > right. Nothing worked until I finally installed it in the same C:\Program
| > Files\VCOM folder with the replacement files. Then it was a matter of
| > just
| > typing the command with absolute minimal paths. Inuse can't seem to "see"
| > farther than from one folder level to another. Or at least the Program
| > Files
| > folder appears to be a brick wall for it. Any mention of that in either
| > path
| > and it fails.
| >
| > Larc
|
| Thanks for the feedback. When you get a couple of hours to spare, make
| yourself a Bart PE boot cd.

I'll do that, Pegasus. Thanks again! :)

Larc
 

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