Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Question about copy file to system32 under Vista RTM
 

Question about copy file to system32 under Vista RTM

Hello,

I encountered a problem that my program cannot CopyFile to C:\\Windows\\System32\\Driver

even though my property is Administrator, what I got by using GetLastErroris Access Deny.

But I really need to copy some files to that place,

is there any other way I cando this?

Thanks!

nothingmag  Tuesday, December 05, 2006 5:54 AM

Wow, that's exactly what I really want to know

please help us!

tshpark  Wednesday, May 16, 2007 6:49 AM
It works for me. It asks me admin rights and I gave it and it copied the file. What exactly did you do??
Narmada  Wednesday, June 06, 2007 2:16 PM

It worked fine for me too. Tell us exactly what you did.

Hope this helps

VS_Programmer  Thursday, June 14, 2007 2:06 AM

Hello,

I encountered a problem that my program cannot CopyFile to C:\\Windows\\System32\\Driver

even though my property is Administrator, what I got by using GetLastErroris Access Deny.

But I really need to copy some files to that place,

is there any other way I cando this?

Thanks!

zheidar  Wednesday, July 04, 2007 7:43 AM

I am having the same problem. Let me know detail what you did as well please

Doug McCurtain

Arch Fitters  Monday, July 23, 2007 4:01 PM

can you let me know what you did please. I am have the same problem.

Arch Fitters  Monday, July 23, 2007 4:04 PM
I am having the same problem. Does anyone have the solution ?

Thanks.
UnKnown Nick  Sunday, July 29, 2007 5:37 PM

Try turning User Account Control (UAC) off

k.m  Friday, August 03, 2007 12:23 AM
I am having the same problem, when trying to copy files into the system32 folder in windows vista.
This is what I did:
- Selected the files I wanted to copy (5 ocx files I need to copy to system32 folder)
- Clicked "Ctrl+C" to start copy
- Opened the system32 folder
- Clicked "Ctrl+V" to paste

The system indicates that there is a file with that name in the folder and promts me with 3 choices
- Copy and Replace
- Cancel Copy
- Copy but keep both files

I choose copy and replace after that a message pops up telling that acces to the folder has been denied and that permissions are needed to complete the action and gives three choices
- Retry
- Omit
- Cancel

My user has Administrator Privileges (as far as I can tell) and I have turned off the user account control.

Thanks for your help
Enrique



Enriquejh  Thursday, August 23, 2007 8:40 AM
Hello

Hello everyone, Me myself encounter the same  thing saying, that a file from system32 is corrupt or missing. "press ctrl, alt, delete" to restart .

If your either running window xp or vista, you can buy this CD off ebay which cost about £7.49 which lets you access mini window xp on the start of the boot up, from here you can access system32 by writing in "system32" on the run window, from there you can paste your files that you want to put in.


Hope this helps

Nad
Nadapa  Monday, October 05, 2009 12:10 PM

You can use google to search for other answers

Custom Search

More Threads

• c#?
• Windows application communication
• Anyone still playing this game?
• Problem occured during installing, a newer need help
• IssueVision for VS2005.
• not able to download xml files
• Where's the documentation?
• Task Vision Modification
• delete more than one row in datagridview using checkboxes
• See What URL present on Internet Explorer