Archive for the ‘Windows 7’ Category
Disable Updates on Shutdown in Windows
To disable Windows from installing updates when you were about to shut down your computer and have some tea there are two options available in your Local Group Policy Editor. Access it by entering gpedit.msc into a Run… prompt. On the left side you will have a large directory listing where you have to browse Computer Configuration\Administrative Templates\Windows Components\Windows Update.
The two top options are the ones you have to enable by double-clicking, enabling and applying. Windows will then no longer pester you with updates on shutdown.
Messages, Loops and Pauses with Visual Basic Script
Visual Basic Script is a simple scripting language you can use in Windows to compile executable .vbs files. They can be created with a notepad document, save the script by choosing All files in the Save as type drop-down menu and give it a name ending with .vbs (if you leave the first drop-down menu on text-document, notepad will attach an invisible text-document suffix on the created file, no matter if you say so in the document name).
Now to the scripting VBScript can be used to either ease the use of Windows (as seen here) or to prank the hell out of your friends’ computers.
Here are a few useful script lines:
MsgBox “Text goes here!”,extracodes+go+here,”Title goes here!”
This shows a simple Windows Messagebox with a text and a title. The Extracodes determine special characteristics. They are defined in numbers and are seperated with a plus symbol: 0-5 define the available buttons. 0=Ok; 1=Ok,Cancel; 2=Abort,Retry,Ignore; 3=Yes,No,Cancel; 4=Yes,No; 5=Retry. Icons are defined by: 16=Critical Icon, 32=Warning Query Icon, 48=Warning Message Icon, 64=Info Icon. The code 4096 makes the window stay on top. Here is what following code looks like:
MsgBox “Hello hello, I’m a message box with a critical Error!”,2+16+4096,”Critical Error”
However, a simple messagebox will not impress anybody. How about a messagebox that reappears every time you close it? To do that, you need a loop. Simple put these two lines around the commands you want to loop:
do
[...]
loop
The commands will now be infinitely repeated until the script is interrupted. To put an interval into the loop, we let the script pause for a specific period of time. This is done with
wscript.sleep number
Replace number with an amount of milliseconds to wait.
Disable Visual Effects While Playing on Windows 7
The visual effects Windows 7 uses may be very pleasing to the eye, however they use up a lot of resources. If you like to play a lot on your computer this is an obstacle you do not need to face since you can disable compositions and visual themes upon starting a program. To do so, right-click the program’s icon and select Properties. Browse the Compatibility tab and have a look at the options it provides:
The most functional options here are Disable visual themes and Disable desktop compositions. If you check their boxes, these two options will be triggered upon starting the program and deactivated again when the program is closed. This way you save a lot of resources which your games or other applications can grab.
Make Caps Lock Behave Like Shift (Windows)
The minority of Windows users have really ever needed Caps Lock – most of the passages written in capital letters are still done with Shift only. Because of that, most people will find the Caps Lock key rather annoying since everybody has already experienced accidently using it and finding out too late. If you are one of those who could easily abandon the Caps Lock function there is a great registry option for you (with which you can not only change the function of Caps Lock, but of every other key as well). Open the registry by entering regedit in a Run… prompt and browse the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout key. Now create a new value inside of it by right-clicking on the right-hand registry frame, selecting New > Binary Value and naming it Scancode Map. Modify it by double-clicking and enter the following (without the spaces – these will be added automatically; don’t get confused about the four-digit string on each line’s beginning):
00 00 00 00 00 00 00 00 02 00 00 00 2a 00 3a 00 00 00 00 00
This is what it should look like in the window:
After the changes are done, close the registry and reboot your machine. The Caps Lock key should now function like a normal Shift key.
FTP, SFTP and SCP Client for Windows
If you look for a powerful tool to move files to FTP or SFTP servers or want to move them via SCP on Windows, there is a valuable solution for you called WinSCP. WinSCP is a useful Client able to deal with files in all three ways and comes with an easy-to-understand graphical user interface. You can download it >here<
Just log yourself in with the receiving server’s data, choose the protocol you want to use and you will be presented with a two-framed window that lets you drag and drop files between the servers:
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.



















