Skip to main content

Add "Run as Administrator" to Any File Type in Windows Vista

Have you ever tried to unzip a file to the Program Files directory in Vista? You'll get all sorts of permission denied errors, and generally be unsuccessful. So how do we open up the zipfile as an administrator? For that matter, how do you open any file as administrator?
There's a simple registry tweak that will let us specify the action to run as administrator for a file type. Unfortunately you'll have to make the tweak manually, but we'll walk you through it.
Manual Registry Tweak
Open regedit through the start menu search or run box and then browse down to the following key, substituting ".zip" for the file extension that you are looking for. (Note that the find dialog helps here)\
HKEY_CLASSES_ROOT\.zip
Now you want to take note of the Data value for the "(Default)" item. This tells you which application is registered to handle this file type, and also where we need to go in the registry next.
For this example, since the data field in this example says "WinRAR.ZIP" we'll need to browse down to the following registry key. (again, the find dialog helps here)
HKEY_CLASSES_ROOT\WinRAR.ZIP\shell\open\command
What we want to do is copy the shell\open\command section to shell\runas\command. The easiest way to do that is right-click on "command" and then choose Export.
 Now open up the exported registry file in Notepad and change "open" to "runas" where indicated below:
Double-click on the file to enter the information into the registry. Now you'll see that the "runas" section is identical to the "open" section:
 And now you can right-click on a file and open it as administrator:
 This example used WinRAR, but this should work for almost any filetype or application. You'll just have to change where you look in the registry.

Comments

Popular posts from this blog

Place Files Inside EXE and Execute them using Gamemaker

I am fond of creating games in Gamemaker and Mugen. However I found an interesting way to create executable files that may contain anything inside them (may be a whole cracked Program) and may act as extractors or copy protectors Tools required  GameMaker 7 or above Procedure  1) Download and Install Gamemaker and start a Game Project by going to File -> New.  2) Every game consists of a Room in which all objects shall act and interact with each other.So Create a new room by either clicking on the icon on Standard toolbar or by going to Resources Menu -> Create Room.Name it anything you want.In my case ROOM0  3)Every Game consists of Objects which are responsible for all interactions. So create a new object by either clicking on the icon on Standard toolbar or by going to Resources Menu -> Create Object.Name it anything you want.In my case VIRUS  4)Now create a new script (Press CTRL+ALT+C or Resources Menu -> Create Script),Name it SCRIPT0...

How to Hack a Twitter Account

Twitter is one of the topmost widely running social networking sites,Its alexa ranking is 14(As per now).So therefore it is largely becoming target of hackers,Many requests keep coming to me ,please tell us a way to Hack twitter accounts or How to hack twitter accounts,so therefore i today i have written a post on How to hack twitter accounts Well for this purpose i will tell you the most used method to hack twitter accounts i.e phishing How to hack twitter accounts - Phishing First of all download:   Twitter fake login page ( Latest Version ) Click Here To Download : NOTE : You will be asked to enter a password while extracting the Documents. Please Insert the password as : IHA Step 1 First extract the contents into a folder Step 2 Then edit login.php .(right click and then select edit) In that ,find (CTRL+F) ‘http://rafayhackingarticles.blogspot.com’ then change it to your destined URL but don’t forget ‘'. Now rename the script to pass....

How to use Keyloggers – Detailed Tutorial and FAQs

Here is a DETAILED tutorial which contains every possible information that you need to know about keyloggers which includes how to use it, how it works etc. WARNING: I highly recommend that you read this post completely since every single piece of information is important. I know most of you are new to the concept of keyloggers. For some of you, this might be the first time you heard about the term “keylogger”. So to give you a clear picture and make you understand better I would like to take up this post in the form of FAQs (Frequently Asked Questions). Here we go… 1. What is a Keylogger? A keylogger (also called as spy software) is a small program that monitors each and every keystroke a user types on a specific computer’s keyboard. A keylogger program can be installed just in a few seconds and once installed you are only a step away from getting the victim’s password. 2. How Keylogger works? Once the keylogger is installed on a PC, it starts operating in the backgrou...