Read time 2 minutes

Summary: This article guides users through adding “Run as Administrator” functionality to any file type in Windows 7, overcoming permission issues during unzipping. It involves registry modifications and suggests a data recovery tool for Windows.

Frequently, we encounter compressed files and folders due to their substantial size. When confronted with this situation, we must extract the files to access their contents. However, in Windows 7, if we attempt to unzip a file directly into the Program Files directory, we encounter various permission denied errors, rendering the unzipping process unsuccessful. So, what alternative approach can be employed to access the contents of a compressed file? How can we, as administrators, ensure access to any file?

Certainly, you can execute a straightforward registry modification to designate the “Run as Administrator” action for a specific file type. To achieve this, you’ll need to follow a set of manual steps for adding the “Run as Administrator” option to any file type in Windows 7. Here are the step-by-step instructions:

  • Go to Start > Run.
  • Type “regedit” in the run box and then browse down to the HKEY_CLASSES_ROOT\.zip key, substituting .zip for the file extension that you are looking for.
  • Data value for the (Default) item tells you which application is registered to handle this file type, and also where we need to go in the registry next.
  • If the data value field says WinRAR.ZIP, then we need to browse down to the HKEY_CLASSES_ROOT\WinRAR.ZIP\shell\open\command registry key.
  • Go to shell > open > command section.
  • Right-click on command and then choose Export.
  • Now open up the exported registry file in Notepad and change open to “run as”.
  • Double-click on the file to enter the information into the registry. Now you will see that the “run as” section is identical to the open section.
  • Now you can right-click on a file and open it as an administrator.

Your job of adding Run as Administrator in Windows 7 is accomplished now. This process works for all zipped file types. For any type of data corruption in Windows 7 or Windows Vista, consider Kernel for Windows data recovery tool.

Read Also : Restricting Access to Programs with AppLocker in Windows 7

Conclusion

The blog provided users with a step-by-step guide on manually adding the “Run as administrator” option to any file type in Windows 7. This involved editing Windows Registry entries and values. Additionally, the blog offered valuable advice by recommending an effective Windows data recovery tool for easily recovering inaccessible, damaged, or corrupted Windows data.