Skip to main content

HOW TO TAKE OWNERSHIP OF FILES IN WINDOWS

Hey friends, hi to all of you. You might not be well familiar with this, but if you want to modify a system file in Windows (Vista/7/8), system some times comes up with an error showing that

"You need Permission to perform this Action". And operation fails. We have found a workaround for this, just follow the trick given below:

Open Notepad (Windows Key+R and type Notepadand hit Enter).
Paste the following code into notepad:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\exefile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\dllfile\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\dllfile\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\takeownership]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\takeownership\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Save the file as <Filename.reg>. Now double click it and when it asks whether to merge or not, click OK.

Now, whenever you need to modify a file, first right click on it and click Take Ownership. And now, apply the operation you need.

Comments

Popular posts from this blog

List of google dorks for sql injection!!!!!

                                       List Of Google Dorks For Sql Injection Google Dork for sql injection I had previously share with you guys List of  good proxy sites to surf anonymously on the internet and today i am sharing with you a list of google dorks for sql injection which is one of most used method to hack a website. List Of Google Dorks inurl:index.php?id= inurl:trainers.php?id= inurl:buy.php?category= inurl:article.php?ID= inurllay_old.php?id= inurl:declaration_more.php?decl_id= inurlageid= inurl:games.php?id= inurlage.php?file= inurl:newsDetail.php?id= inurl:gallery.php?id=d= inurl:event.php?id= inurlroduct-item.php?id= inurl:sql.php?id= inurl:news_view.php?id= inurl:select_biblio.php?id= inurl:humor.php?id= inurl:aboutbook.php?id= inurl:fiche_spectacle.php?id= inurl:article.php?id= inurl:show.php?id= inurl:staff_id= inurl:newsitem.php?num= inurl:readnews.php?id= inurl:top10.php?cat= inurl:historialeer.php?num= inurl:reagir.php?num= in

Some of my Latest edits for several Societies and Organisations

TRYING A TOTALLY NEW TRACK!!!

Heyy Guyss i am back again after few months,in those days i was busy in sem exams as well was doing some activities so totally had no time for my blog. But in those days i enhanced my skill by trying my hands on Photoshop so goyss see and say How are they!!! These are some of the pics edited by me in a span of 1 mnth form beginner to intermediate state of my photoshop so these may not be good,some of  these include: Assasin's creed wallpaper Miley Cyrus wallpaper My own pic edited Angelina jolie in diffrent style Poster for Collg event  Id card of organizers for my University fest universumm with its logo!!!! .