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?nu...

HOW TO CHECK DND(Do Not Disturb) SERVICE STATUS ONLINE IN INDIA

DND is short for Do Not Disturb. This service enables the mobile users to stop receiving advertising or bulk sms or calls on their mobile. This service is provided by NDNC (National Do Not Call Registry). So if you want to check your number is registered on DND or not then here are some steps , just follow them. STEP 1. First of all open this website, and click on Check Registration Status. STEP 2. Now here fill your 10 digit mobile number and hit on SEARCH STEP 3. Now you'll get detail of activation of DND on your number NOTE: If you want to activate DND then Send an SMS with the message START 0 to 1909 

Some of my Latest edits for several Societies and Organisations