Archive for the ‘Windows 7’ Category
Unpack Compressed Files with WinRar
While working with your computer you surely have come across files in the .zip or .rar format. These are so called packed or compressed files, their function is to store multiple files and/or folders into one single file and compress them so they are easier to send and waste less space. Windows has a built-in function to pack and unpack files: to compress files, just right-click them and select Send to > Compressed (zipped) folder. To uncompress, right-click the zipped file, select Extract all… and choose a directory where to put the uncompressed folder. However there is a more powerful tool called WinRar which is easy to handle, has a bunch of useful functions and also supports another compressing format, .rar which is safer than zipped compression if provided with a password. WinRar is downloadable for free as a 30-day trial version and reminds you to buy the full version after 30 days but is still usable then. You can download the appropriate version for your system here:
http://www.win-rar.com/download.html
Double-click the downloaded file and click Install on the appearing window. The next window displays WinRar’s configuration. The checkbox-filled panel on the left determines which formats your computer is supposed to open with WinRar. Usually all predefined settings should be alright, so click on OK.
On the next screen, click on Done to finish installation. Nearly all compressed files are now being associated with WinRar and have adopted its icon:
Uncompress files associated with WinRar by double-clicking them and drag-and-dropping its content anywhere on the screen or clicking on Extract To and choosing the target directory.
To compress files, just select the ones you want, right-click them and choose to either compress them to a .rar archive immediately or to add them to another archive (.zip or whatever you want) with more detailed options.
Disable “Send to” Option on Windows
When you right-click any object on a Windows system, there is the option Send to which is able to literally send objects to other computers by automatically opening a new mail and attaching the chosen file as attachment, process them with other programs selectable from a list, or just moving the file to a different location (hold the Shift key when right-clicking to enable more options to Send to). The common user however does not use this function really often, in fact, he may also find it annoying since it might cause short freezes on slower computers if one accidently hovers the mouse over it and thus makes it load a list of applications. But as for every other problem on your computer there is also a solution for this one, disabling the Send to command with the registry.
To do that, open your registry by entering regedit in to a Run… prompt and direct it to the HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To key.
Now the default value that is found in that key is
{7BA4C740-9E81-11CF-99D3-00AA004AE837}
If you ever want to revert your setting the easiest way is to just save this value somewhere safe, since the thing you need to do to disable the Send to command is to double-click the value and remove the string so that it is empty. Leave the registry afterwards and the command should no longer appear on right-clicking.
Find malicious system entries with HiJackThis for Windows
HiJackThis is a software that is able to detect unusual entries on your registry and hard drive and create a log file with the information it gathered about the running processes. This log file can either be analysed by the user himself or be copied into an automatic analyser that shows if the entries are rated safe or dangerous.
You can download HiJackThis here: http://www.trendmicro.com/ftp/products/hijackthis/HiJackThis.msi
If you made the program create a log file after scanning, it is recommended to copy and paste it into an automatic analyser such as the one you can find here: http://www.hijackthis.de/en. The analyser will then give you an overview of the scanned files combined with a rating given by visitors.
If you find any unsafe entries, you are given the option to fix them in the program’s window. Be cautious what you delete however, inform yourself about the stated entries and do not rely on information provided by a single source. Always double-check before you delete an entry.
Shortcuts for creating System Restore Points on Windows 7
On every Windows system able to create system restore points that undo any configuration changes made after their creation, there is also the possibility to create simple quick-link icons, consisting of a few line of code, that enable you to create restore points with a double-click. On Windows XP this is achieved with only two lines of code. Learn in this post, how it is done. In Windows Vista and 7 however, there are a few problems that stand in the way of our (automatic) one-click system restore point. First one is, that the script we need to run to create system restore points can only be run with administrative powers, so we need a way to get those. Second is the annoying User Account Control that asks as if we really want to run that script. This would not be such a great deal, but if you are the kind to create restoration points quite often or after a time schedule, the UAC may become a great pain.
To start with the administrative rights, there are more than one way to get those. The probably least complex one is to add the Run as administrator option to the menu appearing upon right-clicking the script:
This is done by adding the appropriate keys to the Windows Registry. To open that, open Run… by entering run into the Windows search bar in the main menu and clicking on the program. Type in regedit into Run and the Windows Registry will open. It consists of two columns, one on the left, containing the key directories, and one on the left, showing the keys’ values. Take on the left column and browse the HKEY_CLASSES_ROOT\VBSFile\Shell directory. Right-click it and select New > Key. Name it Runas and leave its values as they are (there is only one). Now right-click the Runas key and again select New > Key. Name the newly created key Command and leave the values as they are. Right-click the Command key and select Export…. Give it a name and save it somewhere you will find it. Go to the directive you saved it and open it with notepad. Erase all of its contents and paste this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VBSFile\Shell\Runas\Command]
@=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,\
53,00,63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,20,00,25,00,2a,00,00,00
Save the file and double-click to merge it with the registry. The Open as administrator option should now be available to all Visual Basic Scripts (you can use the one from the linked XP tutorial with this option enabled).
However, this option neither is automatic nor does it circumvent the UAC. An option that enables creating a restoration point on double-click (but still, without disabling UAC) is to alter the script that you use for this. Open a new notepad (it has to be notepad) and paste the following code:
if wscript.arguments.count = 0 then
set objshell = createobject(“shell.application”)
objshell.shellexecute “wscript.exe”, wScript.scriptfullname & ” run”, , “runas”, vbnormalfocus
else
getobject(“winmgmts:\\.\root\default:systemrestore”).createrestorepoint “Automatic Restore Point (Win7 Script)”, 0, 100
end if
Save the script as *.vbs and make sure to select All files from the dropdown menu before saving! With this, you have enabled administrative rights beforehand every time you run the script. Now there still is a slightly circumstantial method to also disable the UAC prompt. To achieve this, you need to have a desktop shortcut pointing to a scheduled task that runs the script with highest privileges grantable. To access scheduled tasks, browse Menu > Control Panel > System > Administrative Tools > Scheduled Tasks. Create a new one without any trigger, executing your script (be sure to remember the task’s name, you will need it once more) and check the Run with highest privileges box on the first tab.
Now right-click your desktop and create a new shortcut. Let it point to following location (enter your own task-name in the last option):
C:\Windows\System32\schtasks.exe /run /tn “EnterYourTaskNameHere”
Upon opening, it should execute the script without asking for anything.
Unlock and Delete Any File (Windows)
Sometimes it is necessary to just put a file that does not want as you want in the trash can. And sometimes doing this simple thing is not possible, because the file is being used by another program or is bound to other processes . If this is the case, the file is treated as if it was “locked” and changes cannot be done to it. If you are sure that the file needs to be deleted anyway, there is a tool called Unlocker that is able to cut off any file from its bonds so that it can be moved, renamed or even deleted. This can be pretty handy if your computer too stubborn to see its mistakes.
Unlocker is available for both 32 bit and 64 bit systems on the emptyloop homepage: http://www.emptyloop.com/unlocker/#download
To be able to use Unlocker with a rightclick, make sure that the Explorer extension is checked during the installation process.
To delete files afterwards, rightclick them and select Unlocker. The opening window will tell you if the selected file is locked or not and gives you the option to move, rename or delete it instantly.
Free Your Windows 7 Desktop While Drag&Dropping
There is a feature added to the Show Desktop panel in the bottom right corner of the screen that enables you to free the desktop of all windows instantly if you want to drop an item upon it. To do so, just drag the desired item on the panel, hold it a split-second and all open windows will minimize, allowing you to drop the item on the desktop.
Detailed Control Panel Overview (Windows 7)
If you know the feeling of browsing the default Windows Control Panel for half an hour and still not having found the option settings you looked for, there is a solution that might ease your life: There is a hidden option that lets you view all of the Control Panel’s categories and more in a detailed and well structured overview, it’s just not that obvious to access. To do so, open any Windows Explorer window and enter following in the top bar, that usually shows the directory path of your current folder:
shell:::{ED7BA470-8E54-465E-825C-99712043E01C}
Upon entering the input will change into All Tasks and you will be shown a huge list of settings:
If you do not want to type in the code again and again to access the list, just drag the icon on the far left of the browser bar and drop it anywhere on the desktop to create a link.

















