+ Reply to Thread
Results 1 to 2 of 2

Thread: Taking the ownership of system file

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    13

    Taking the ownership of system file

    There is a file in system32 folder and i need to rename it , whenever i try to rename it i fail , because it is protected by the operating system , i googled my issue and i didn`t understand most of answers , could you help me with that ?

  2. #2
    Create a batch file and paste the following commands on it : [Basically i choose calc.exe as an exmpale]
    Code:
    takeown /f "C:\Windows\System32\calc.exe"
    CACLS "C:\Windows\System32\calc.exe" /e /p Administrators:F
    REN C:\Windows\System32\calc.exe calc.eee
    Line 1 : takes the ownership of the system file and set it back to you
    Line 2 : it modifies the permissions and set it FULL Modifications for you as F at the end of the line means FULL
    Line 3 : renaming the mspaint.exe to mspaint.eee

    by the way i tested the batch on windows 7 and it was successful , but when i tried that on windows XP , it was mot successful as windows xp is keep pasting the original mspaint.exe again and again .

    So try and tell me your feedback
    Last edited by ihateoverflow; 02-18-2012 at 02:29 PM.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts