Information about resetting and configuring Mobile phones (Java, Android, Symbian etc), educational articles especially for programming in C, C++ and Java and more about Computers and operating systems
Do you want to hibernate your Windows computer? Are you searching for a way to enable hibernate option in your computer. Here we will tell you a simple trick to make a hibernation shortcut on your desktop. To enable hibernation in your Windows computer (Windows 7, Windows 8 or Windows 10), simply follow the given instructions:
Right click on Desktop
Select New -> Shortcut
Type shutdown /h in the given textbox
Click Next button
Type a name for the shortcut (eg:hibernate now)
Click Finish button.
Now a new shortcut will appear on your Windows desktop. Open it to hibernate the computer immediately.
You can make a shortcut file which when opened, instantly shuts down Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. Here we will see how to create a shutdown shortcut in Windows. To make a shutdown shortcut on desktop, follow the given instructions.
Right click on desktop.
Select New-> Shortcut
Type shutdown /p in the text box
Click Next button
Give a name for the shortcut, like 'Shutdown' or 'Turn off'.
Now Click Finish.
No you will get a shortcut file on desktop
If you open this shortcut file, your computer will shutdown instantly. You will lose your unsaved works. So close all applications properly before shutdown.
Here is how to shutdown Windows using run command. The command should be shutdown /p. That is, type shutdown /p in the run dialog box (opened by pressing windows key+ R) and press Enter. Your Windows computer will shutdown instantly. Remember that you may lose any unsaved works in open applications. This trick works in Windows 7, Windows 8 and Windows 10.
You can create a shortcut file which when opened, instantly logs out or sign out the current user account from Microsoft Windows Operating System. This works in Windows 7, Windows 8 and Windows 10. To make a Log out shortcut on desktop, follow the given instructions.
Right click on desktop.
Select New-> Shortcut
Type shutdown /l in the textbox
Click Next button
Give a name for the shortcut, like 'logoff', 'logout', 'signout' etc.
Now Click Finish.
No you will get a shortcut file on desktop
If you open this shortcut file, you will be logged out from your Windows computer. Remember, it is not shutting down. Just logging out. But, you will lose your unsaved works. In another post, we will see how to make shutdown, restart and hibernate shortcuts in windows.
We will see how to block websites on a computer. There is a fine trick to block websites on any computer. This is done by editing the hosts file. The 'hosts' file is used to map host names to given IP addresses. The 'hosts' file is a plain text file that can be edited using text editors. Each line is a redirection entry. Each line should be an IP address followed by a space followed by a host name. When any application software (including browsers) try to connect to a host name (or website) which has an entry in the 'hosts' file, instead of using the domain name service, the IP address is taken from the corresponding entry in 'hosts' file. Then the connection goes to that IP address.
So, if we want to block any website, we only need add an entry for that website in the hosts file with a different IP address. By 'different IP address', i mean any IP other than the original IP of the website. The IP 127.0.0.1 is IP of your own computer. It is called loop back address. You can use this IP to block any website. If you use this IP, the application will try to connect to your own computer on its attempt to access the blocked website and thereby will fail to load the website.
hosts File in Windows
In Windows 7, Windows 8 or 8.1 and Windows 10, the hosts file can be found in the folder:
In Windows 8, you can see an error 2501, 2502 or 2503 when you try to install any application program or game from some .msi (Microsoft Installer) files. You can see the same error when you try uninstall some applications or games. The error message is like the one shown below:
Let me tell you first that USB tethering is the process of sharing the internet connection of your Android phone with your PC or laptop through USB connection. In Windows 7, Windows Vista and Linux, USB tethering works so easily that we just have to enable packet data, connect phone through USB and enable 'USB tethering' in Settings. Above mentioned operating systems automatically install the required drivers. And within few minutes, the system will connect to Internet through your USB connected Android phone. But it is not that much easy in Windows 8 or Windows 8.1. We have to manually install the driver for the Android device to enable USB tethering. In this post, I will show you how to enable USB tethering in Windows 8 and Windows 8.1.