Tuesday, January 14, 2014

How to Enable or Disable Hibernate in Windows 7 and Windows 8

How to Enable or Disable Hibernate in Windows 7 and Windows 8

information   Information
This tutorial will show you how to enable or disable hibernate and restore or delete the hiberfil.sys file inWindows 7 and Windows 8.

When hibernate is disabled, the Hibernate option is missing from the Start Menu (Windows 7 only), Shut Down Windows dialog, Power menu (Windows 8 only) and the Advanced Power Plan Options.

You must be logged in as an administrator to be able to do the steps in this tutorial.
Note   Note
By default, the size of the hidden protected OS hibernation file (C:\hiberfil.sys) is 75% of the total amount of installed RAM on your computer.
Tip   Tip





 OPTION ONE 
To Enable or Disable Hibernate in a Elevated Command Prompt
1. To Enable Hibernate
NOTE: This step will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options under Sleep.
A) Open a Elevated Command Prompt.

B) In the elevated command prompt, type powercfg -h on and press Enter. (see screenshot below)
 
C) Close the elevated command prompt.

D) If you would also like to have hibernate turned on, then you will also need do to step 2 in OPTION FOUR below.
2. To Disable Hibernate
NOTE: This step will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate afterPower Options under SleepThis will also disable fast startup in Windows 8.
1. Open a Elevated Command Prompt.

2. In the elevated command prompt, type powercfg -h off and press Enter. (see screenshot below)
 
3. Close the elevated command prompt.



 OPTION TWO 
To Enable or Disable Hibernate using a REG File Download
1. To Enable Hibernate
NOTE: This step will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options underSleep.
A) Click/tap on the Download button below to download the file below, and go to step 3 below.
Enable_Hibernate.reg

download
2. To Disable Hibernate
NOTE: This step will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate afterPower Options under SleepThis will also disable fast startup in Windows 8.
A) Click/tap on the Download button below to download the file below, and go to step 3 below.
Disable_Hibernate.reg
download
3. Save the .reg file to the desktop.

4. Double click/tap on the downloaded .reg file to merge it.

5. Click/tap on RunYes (UAC), Yes, and OK when prompted.

6. Restart the computer to apply the changes.

7. If you would also like to have hibernate turned on, then you will also need do to step 2 in OPTION FOUR below.

8. When finished, you can delete the downloaded .reg file if you like.



 OPTION THREE 
To Enable or Disable Hibernate in Registry Editor
1. Open the Start Menu, type regedit in the search box, and press Enter.

2. In regedit, navigate to the location below. (see screenshot below)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

3. In the right pane of the Power key, double click/tap on HibernateEnabled, and do step 4 or 5 below for what you would like to do. (see screenshot above)

4. To Enable Hibernate
NOTE: This step will restore the hiberfil.sys file, and the Allow hybrid sleep and Hibernate after Power Options underSleep.
A) Type in 1, and click/tap on OK. (see screenshot below)

B) Go to step 6.
5. To Disable Hibernate
NOTE: This step will disable hibernation, delete the hiberfil.sys file, and remove the Allow hybrid sleep and Hibernate afterPower Options under SleepThis will also disable fast startup in Windows 8.
A) Type in (zero), and click/tap on OK. (see screenshot above)

B) Go to step 6.
6. Close regedit, and restart the computer to apply the changes.

7. If you would also like to have hibernate turned on, then you will also need do to step 2 in OPTION FOUR below.



 OPTION FOUR 
To Turn Hibernate On or Off in Power Options

NOTE: This option does not disable hibernate, but only turns it off for the power plan.
1. Do either step 2 or 3 below for what you would like to do.

2. To Turn On Hibernate
NOTE: You could also use a hibernate shortcut to manually put the computer into hibernation instead or in addition to this option.
A) If you have not already, then you will need to enable hibernate using either OPTION ONEOPTION TWO, orOPTION THREE above first.

B) Open the Advanced Power Plan Settings for your power plan, then expand Sleep. (see screenshot below step 4)

C) Under Hibernate after, set the Setting (Minutes) to how many minutes you want your computer to sit idle for before it goes into hibernation. (see screenshot step 4)

D) Go to step 4.
3. To Turn Off Hibernate
NOTE: If you disabled hibernate using OPTION 1, 2, or 3 above, then there's no need to do this since Hibernate after andAllow hybrid sleep will no longer be listed in your power options.
A) Open the Advanced Power Plan Settings for your power plan, and expand Sleep. (see screenshot below step 4)
B) Under Hibernate after, set the Setting (Minutes) to Never. (see screenshot below step 4)

C) Under Allow hybrid sleep, set Setting to Off. (see screenshot below step 4)

D) Go to step 4.
4. When finished, click/tap on OK. (see screenshot below)


Disable Ads on YouTube With This Simple Command

Disable Ads on YouTube With This Simple Command


Disable Ads on YouTube With This Simple Command
There are a lot of ways to block ads, but with a simple command in the developer console, you can disable all ads on YouTube via an experiment.P
Google frequently tries out new features with experiments via TestTube. A less advertised experiment can disable all ads on the site. Here's how to turn it on:P
  1. Open up a YouTube video (any will do).
  2. Open up the developer console (Ctrl-Shift-J for Chrome, Ctrl-Shift-K for Firefox)
  3. Enter the following code:
document.cookie="VISITOR_INFO1_LIVE=oKckVSqvaGw; path=/; domain=.youtube.com";window.location.reload();P
Boom. No more ads. Since this is something that Google is allowing, it's possible it could go away in the future, but while it works, you get a lovely ad-free viewing experience without any plugins. It even works on those pesky video ads.P

How To Share LAN/Wired Internet Via WiFi Without Wi-Fi Router

How To Share LAN/Wired Internet Via WiFi Without Wi-Fi Router


We lives in modern world and still many of us don’t have Wi-Fi modem in our house. The reason is Wi-Fi modem/router expensive than the normal LAN and USB modem. But we do have Wi-Fi feature in our mobile phones. Many times our phones app or games requires big data to be download via 3g or Wi-Fi. 3G is still an expensive connection for average income family users and without a Wi-Fi router we can’t actually create a Wi-Fi ad-hoc network.  We may have internet in our house but we don’t have Wi-Fi router. That time we feel upset.  Sometimes at mall, school, collage or offices we gets Wi-Fi networks and we use them. That time we recognize importance of Wi-Fi to download things faster without subscribing for an internet or 3g plan for a mobile separately.
wifi without router
Technology changes within a day. You buy something and the nextday you get better stuff for cheaper price. Same way there is a small and cheap Wi-Fi adapter for your pc to create Wi-Fi ad hoc without a Wi-Fi router or modem. If you’re not able to buy wireless modem than you should go for Wi-Fi adapter and create a Wi-Fi hotspot in your house. There are many mini USB Wi-Fi adapters available on onlinestores like amazon, naaptol etc. but you might get cheaper if you buy from local pc market. I had seen a cheapest wifi adapter on ebay is 4$. You can find the best one for you and set up your home wireless network.

Requirements:
  • Internet connection
  • USB WiFi adapter 

How To Share Pc Internet With Wifi Enabled Devices 

Windows 8 doesn’t have wifi feature by default. so we use a different method to create wifi ad hoc in windows 8 I had created a separate post for windows 8 users. 
Read more: how to share pc internet via wifi on windows 8

Windows XP users
Click on start or press window key
Go to Control Panel
Select Network Connections
Right click on Wireless Network Connections
Select properties
Click on Wireless Network tab and check the box "Use Windows to configure my wireless network settings"
Now click add under the preferred networks
Write any Network Name (SSID) you want in text-box
Select shared in Network Authentication option
Select WEP in Data encryption option
Type your password in Network Key and click ok
Now you will see a network in preferred networks
Click on Advanced button and select “Computer-to-computer (ad hoc) networks only" click close
Now press ok. We have done everything from wireless connections

One more thing we have to do with our wired/LAN local area connections. Right click on local area connections and select properties
Click on advanced tab
Check the "Allow other network users to connect through this computer’s internet connection" Box under Internet Connection Sharing.
Now press ok and enjoy your recently created WiFi with your mobiles, Xbox 360, ps3, laptops and every wifi enable device.

Video available if your confused on some steps


Windows Vista & Windows 7 users
Click on start or press window key
Select "Network and Sharing Centre" (view by large icon)
Click on Setup New Connection
Choose "Set up a wireless ad hoc (computer-to-computer) network"
Type any name in Network Name option
Select WEP in Security Type and type any password in security key
(you can check save this network check-box if you want to use this network again in future)
Click Next
Vista users will get "Turn on internet connection sharing" optionclick on it and enjoy wifi with your wifi enable devices.

So it’s the cheapest way to get wireless/Wi-Fi network in your home without buying expensive Wi-Fi routers/modem. If you can buy Wi-Fi router does it but the Wi-Fi adapter do the same thing with your normal modem. You can buy mini USB adapter from online or local pc market. Its way cheaper than Wi-Fi router

Configure Android and iphone devices

Before start connecting to created wifi adhoc. In your PC open command prompt and copy paste ipconfig /all and press enter now write down ip address(IPv4), gateway, netmask, DNS 1 and DNS2.
Its time to configure your device go to wifi and scan newly created wifi connection and go into advance setting of it and enter PC ip address(IPv4), gateway, netmask, DNS 1 and DNS2 thats it
android wifi configuration

How to Share Data Card Internet Connection Between PC and Android Phone

How to Share Data Card Internet Connection Between PC and Android Phone


Sharing of internet connection between computers or between a computer and a smartphone (with WiFi capability) using Wifi Ad-Hoc Networking is popular. But this form of networking is not supported by Android devices. There are ways to make Ad-Hoc networks to work with android devices by configuring files on the device but I am not going to go to that.
Instead there are methods using a software based virtual access point like Windows Seven’s Wireless Hosted Network technology, Virtual Router Manager and Connectify. Windows Seven’s Wireless Hosted Network only runs on windows seven and hardware specific. Virtual Router Manager didn’t work for me. Therefore, I used connectify (newer 2.2 version didn’t work, I used an older version 1.2) and successfully shared my data card connection between my laptop (Dell Latitude E5500 with Windows 7) and my android device (Samsung Galaxy Ace).
Listed below with screenshots are the steps to follow:
On your computer (Laptop/Desktop):
1. Download Connectify 1.2 and install it. Once complete, you can access Connectify from the icon in the Taskbar
connectuify
Click for higher resolution picture
2. Fill in the settings panel with your prefered WiFi name, password and internet connection to share. For Internet connection, there are options listed as No Internet Sharing, Mobile Broadband Connection, Local Area Connection and Wireless Network Connection. Since I have a data card, I selected Mobile Broadband Connection for Internet
Connectify
3. Click on “Start Hotspot” to start sharing
4. On your Wireless Connection Status, click Details to get the network connection information, note the IPV4 Address
Network Connection InformationOn your Android device:
5. Go to Settings > Wireless & networks > Wi-Fi Settings
6. Open Advance settings menu
7. Select the Use static IP option
8. Enter your desired IP address (For example: 192.168.2.2)  into Ip Address field
9. Enter your IPV4 Address (For example: 192.168.2.1) into Gateway field
10. Enter 255.255.255.0 into Netmask field
11. Enter your internet connection’s DNS server (use ipconfig /all command to get DNS info) intoDNS 1 and DNS 2. As an alternative, you can alternatively use Google Public DNS: 8.8.8.8 and 8.8.4.4
Advanced Settings12. Connect to Wi-Fi using your password
13. Disconnect and Reconnect Wi-Fi (or Restart your Android device), if  it doesn’t connect.
Wi-Fi Settings
14. Check your internet connection on your Android device using a browser
15. When you go back to the Windows 7 machine you can see the device(s) connected. It also keeps track of devices that were previously connected as well.
Connectify does the job of creating a hotspot easily and quickly.

Copy FLV file from Firefox cache

Copy FLV file from Firefox cache

After watching a video from Youtube, you may want to save the video file into your local for future offline playing. To download them, you can use many available softwares / add-ons from the net. The thing is, the software will reinitiate the download procedure and you need to wait again for it to complete. If you are using Firefox, you could by pass this by copy the FLV directly from Firefox cache. Firefox cache located at;

C:\Documents and Settings\YourLogin\Local Settings\Application Data\Mozilla\Firefox\Profiles\cdvfbg12.default\Cache

Or

%AppData%\..\Local Settings\Application Data\Mozilla\Firefox\Profiles\cdvfbg12.default\Cache

The method is to open explorer and go to cache folder like mentioned above. Note that ‘YourLogin’ is your windows local login name and ‘cdvfbg12’ is randomized folder name. It may not be the same like your PC. Look, nothing much here.



Now watch full Youtube video in Firefox browser. Do not close your browser yet after that. Back to the cache folder, refresh it using F5 key and now you can see some new large file created in the folder. Sort by date modified for better visibility.



Copy it somewhere and rename it to *.flv . Now you may play the FLV using a favorite player.

Removing and disabling the thumb.db file in Windows

Removing and disabling the thumb.db file in Windows

When displaying files as thumbnails in explorer, a file called thumbs.db will be created automatically by Windows. It help user to view folders and pictures in the thumbnail view much faster since it stores the images. Although the file is small, it may take up a large amount of space soon. It is safe to delete this file but if you would like to stop Windows from creating them again, you can disable it by doing;

Folder Options Window

From explorer toolbar, Tools > Folder Options, go to the View tab, tick Do not cache thumbnails.

Windows XP Hidden User Accounts Interface (control userpasswords2)

Windows XP Hidden User Accounts Interface (control userpasswords2)

Having more than one person using your computer? If you do, you can create user accounts for everyone so that they can customize their favorites, colors, wallpaper, and private files. Default ‘Windows XP User Accounts’.



Sometimes you might need to fine tune the user accounts. You can do this with a hidden ‘User Account 2’ interface by running control userpasswords2.



This ‘Windows 2000’ style ‘User Accounts’ might be useful for those users that are very familiar with Windows 2000.



So, now you might want to add this shortcut permanently to the ‘Control Panel’. The only way is to add some lines into the 'Windows Registry'.



It is recommended to use *.reg script below to add ‘User Accounts 2’ shortcut to your control panel rather than entering it manually. Copy lines below to a new file and called add_ua2.reg. Note that the extension must be reg. Just right click the file and Merge it. Your computer must be restarted for these to take effect.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}]
@="User Accounts 2"
"InfoTip"="Starts The Windows 2000 style User Accounts dialog"

[HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\DefaultIcon]
@="%SystemRoot%\\\\System32\\\\nusrmgr.cpl,1"

[HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\Shell\Open\command]
@="Control Userpasswords2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{18646F66-8C25-0000-BEE4-C2CE1298969D}]
"Default"="Add Userpasswords2 to Control Panel"


Just incase you don’t like it, you can also remove it using *.reg file below. Copy lines below to a new file and called delete_ua2.reg. Note that the extension must be reg. Just right click the file and Merge it. Your computer must be restarted for these to take effect.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\DefaultIcon]

[-HKEY_CLASSES_ROOT\CLSID\{18646F66-8C25-0000-BEE4-C2CE1298969D}\Shell\Open\command]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{18646F66-8C25-0000-BEE4-C2CE1298969D}]