Have you ever tried to unzip a file to the Program Files directory in Windows 7 or 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.
Note: The method explained here is courtesy of jd2066, one of the helpful geeks over on our forum.
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.
After writing the article last week about disabling SuperFetch, my good friend Daniel Spiewak commented that SuperFetch “loads the wrong thing more often than not”, which reminded me of a registry tweak… You can tell Windows to only cache the boot processes instead of everything.
It seems like everybody uses the free PuTTY client for accessing SSH from Windows, but the lack of a tabbed interface has kept me using the commercial SecureCRT application for years… until now.
If you’ve ever worked on a document originally created by somebody else, you’ll most likely immediately be frustrated by their horrible choice of fonts and formatting. What you might not realize is that the search and replace functionality in Word allows you to replace more than just text.
Have you ever wondered why Windows XP had such terribly ugly wallpapers to choose from? On top of that, there’s no way to easily change the list of backgrounds to a folder you might actually use… like your My Pictures folder.
If there’s one thing that drives me crazy about using multiple operating systems, it’s the inconsistency in keyboard shortcuts… when you hit the backspace key in Firefox on Windows it normally goes back to the previous page, but it doesn’t on Ubuntu Linux.
The SuperFetch service in Windows Vista preloads your system’s memory with the applications that you use most often. This makes launching of those applications much faster, but it might be an unwanted behavior for system tweakers or gamers.
I am not a fan of the delay that can occur between clicking the start menu and waiting for it to display. Here is a quick Registry tweak that will allow for the start menu to display more quickly
If you have an issue with your system clock losing time, you’ve probably had to go and re-sync your clock with the internet time servers. The problem is that there are just way too many clicks required to get to the right screen, so the command line is much simpler.
When it comes to Internet Freedom I believe the candidate with the best position is Ron Paul. You can check it out in his own words.
If you are a fan of the Greasemonkey extension for Firefox you might wonder how to change the script editor/viewer as there is no option for this in the UI. It’s even worse when you download scripts from some website and the line endings don’t work in the inferior default editor.