Go Back   Windows Vista Forum | Vista Babble > Windows Vista > Vista Security

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-10-2008, 09:44 AM
Junior Member
 
Join Date: Nov 2008
Posts: 2
izyani is on a distinguished road
how to replace dll file in system32-Vista Ultimate


Hi,

I'm currently develop the security application on Vista platform.

i need to replace advapi32.dll in Vista Ultimate 32 bit, with administrator access right.

But when I try to replace the file, i got the error.

Destination Folder Access Denied
- You need permission to perform this action.

ANy idea?

Thank

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Sponsored Links
  #2  
Old 11-10-2008, 12:11 PM
crabby's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: Salisbury, UK
Posts: 2,242
crabby is on a distinguished road

Take ownership of the windows folder? Just right click it and go to options then ownership. (I think, not at my Vista machine at the moment so can't check :S)

crabby
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3  
Old 11-10-2008, 08:41 PM
felix8406's Avatar
Elite Members
 
Join Date: Aug 2006
Location: San Antonio, TX
Posts: 3,362
felix8406 will become famous soon enough

You can try this:

1, Click Start > All Programs > Accessories > Right-Click Command Prompt > Select Run as administrator

2. At Command Prompt Type takeown /f C:\sample\sample

Note: Replace the word sample with the correct path of DLL you’re trying to over-write. To get the full path, simply go to the file, press the shift key, right-click the file and select Copy path.

3. Hit Enter

4. Once you receive message that the process was completed successfully, type: icacls C:\sample\sample /grant user:F

Again, substitute the above path with that of the file you are trying to over-write and the word user with your own user name

5. Press Enter

If this doesn’t work, try running process through safe mode.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:24 AM.



Page generated in 0.30891 seconds with 11 queries

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23