Get lost excel files on outlook back and get permission to any files or folders in Win10

  • 1. Find file in location:

C:\Users\{{UserName}}\AppData\Local\Microsoft\Windows\Temporary Internet Files
  • 2. Get folder permission to access: Ref: Created by Vishal Gupta for AskVG.com

    • Install mouse right click option – Take ownership:

      Put code in new file: "Take Ownership – Install.reg" and run it.

Windows Registry Editor Version 5.00


;Created by Vishal Gupta for AskVG.com


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


[HKEY_CLASSES_ROOT\*\shell\runas\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\runas]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""


[HKEY_CLASSES_ROOT\Directory\shell\runas\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"

    • Uninstall – if needs

      Put code in new file: "Take Ownership – Uninstall.reg" and run it.

Windows Registry Editor Version 5.00


;Created by Vishal Gupta for AskVG.com


[-HKEY_CLASSES_ROOT\*\shell\runas]


[HKEY_CLASSES_ROOT\*\shell\runas]
@=""
"HasLUAShield"=""


[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"


[-HKEY_CLASSES_ROOT\Directory\shell\runas]
  • 3. Now mouse right click folder " Temporary Internet Files" and check "Take ownership", then you're got the file back inside!

1 Comment

Leave a Reply

Your email address will not be published.


*