ERROR:
Error mounting: mount exited with exit code 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda5': Operation not permitted
The NTFS partition is hibernated. Please resume and shutdown Windows
properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option......
Why ?
You are seeing this error because you hibernated Windows instead of turning it off the normal way (in newer versions of Windows, hibernate might be the default option).
Hibernating saves the current state information to the hard disk and then powers down the computer. When you turn off Windows by hibernating it, you are essentially pausing the system and saving all of that information into a big file called hiberfil.sys This way when you resume from hibernation all of your applications and files will be exactly how you left them. It also sets a flag in hiberfil.sys to let other Operating Systems know that Windows is hibernated.
Shutting down the computer closes all programs and ends all running processes before powering down the computer
Making changes to your Windows partition while it is hibernated could be dangerous, ,t could cause Windows to not resume from hibernation or to crash after resuming.
In Linux to mount hibernated windows do as following:
Make Folder of any name in Media Directory(/media)
e.g. Make folder manually or
sudo mkdir /media/WINTMP
After then Run this command (with superuser permission if needed) in terminal with created folder name where to mount windows partition. Here sda2 is a partition of windows file System so First Check that where your windows partition is stored.
e.g.
sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/WINTMP
-------------------------------------------------------------------------------------------------------
Solution for Windows 8 and 10:
There is a new feature in Windows 8 called Fast Startup.This feature is enabled by default, Windows 8 does not actually completely shutdown when you choose shutdown. Instead, it does a "hybrid shutdown". This is something like hibernating; it makes booting Windows 8 back up faster. So, you need to disable this feature to be able to shut it down properly, and be able to mount the Windows partitions. Fast Startup can be Disable from power option in Control Panel.By disabling Fast Startup windows 8 will take a longer time to boot.
If you still aren't able to mount without getting errors, you should turn off hibernation completely. Open Command Prompt as Administrator and Run following Command :
powercfg /h off
Tuesday, March 29, 2016
Browsing Privacy in Mozilla Firefox using about:config
The about:config (Configuration Editor) Page lists Firefox settings known as preferences that are read from the prefs.js and user.js files in the Firefox profile and from application defaults. Many of these preferences are advanced settings that are not present in the Options dialog.
The prefs.js file does not actually contain all of the settings. It only stores changes made to the defaults, after they are written back to disk. prefs.js is a plain-text file that can be edited with a text editor. However, its recommended that you don't edit it directly since you can damage your profile if you make any mistakes.
A user.js file is an alternative method of modifying preferences, recommended for advanced users only. Unless you need a user.js file for a specific purpose you should use about:config instead. The user.js file does not exist by default.
Warning: Changing these advanced settings can sometimes break Firefox or cause strange behavior. You should only do this if you know what you're doing or if you are following trustworthy advice.
How:
- Enter "about:config" in the firefox address bar and press enter.
- Press the button "I'll be careful, I promise!"
- Follow the instructions below.
Starting Steps :
- privacy.trackingprotection.enabled = true
This is Mozilla’s new built in tracking protection.
- geo.enabled = false
Disables geolocation.
- browser.safebrowsing.enabled = false
Disable Google Safe Browsing and phishing protection. Security risk, but privacy improvement.
- browser.safebrowsing.malware.enabled = false
Disable Google Safe Browsing malware checks. Security risk, but privacy improvement.
- dom.event.clipboardevents.enabled = false
Disable that websites can get notifications if you copy, paste, or cut something from a web page, and it lets them know which part of the page had been selected.
- network.cookie.cookieBehavior = 1
Disable cookies
0 = accept all cookies by default
1 = only accept from the originating site (block third party cookies)
2 = block all cookies by default
- network.cookie.lifetimePolicy = 2
cookies are deleted at the end of the session
0 = Accept cookies normally
1 = Prompt for each cookie
2 = Accept for current session only
3 = Accept for N days
- browser.cache.offline.enable = false
Disables offline cache.
- browser.send_pings = false
The attribute would be useful for letting websites track visitors’ clicks.
- webgl.disabled = true
WebGL is a potential security risk. Source
- dom.battery.enabled = false
Website owners can track the battery status of your device. Source
- browser.sessionstore.max_tabs_undo = 0
Thursday, January 21, 2016
Calling main() from main() in c/c++
Many people think that when the main() function call inside the main(), recursion goes on infinite times. But it is not true as such so is it possible to call main() from main inside.?
Yes, we can call the main() within the main() function. The process of calling a function by the function itself is known as Recursion. Well, you can call a main() within the main() function .
Yes, we can call the main() within the main() function. The process of calling a function by the function itself is known as Recursion. Well, you can call a main() within the main() function .
The function calls take place until the stack overflow occurs, that is until the stack is completely filled with the functions. This implies that the recursion without a suitable condition takes place not infinite times but stack size times.So that particular experiment when conducted, compiles successfully but it suffers from a run time error or illegal instruction. So you should have a condition that does not call the main() function to terminate the program. Otherwise,the program will never return and run infinitely.
In first example global variable c=0 declared (bcz when main() called is should not reintialized) and after print statement first time it will print 1 (c+1)and condition will true so after calling main it will print 1 now condition will false so program will exit.
#include"stdio.h"
#include"conio.h"
int c=0;
void main(){
clrscr();
printf("Before main : %d",c);
c++;
if(c<2){
main();
exit(0);
}
getch();
}
--------------------------------------------------------------------------------------
int main() {
cout << "Hello World" << endl;
system("pause");//for pause program execution
return main();
}
Sunday, September 20, 2015
GOD MODE in windows
How to Use God Mode in Windows 7
Windows 7 is now becoming popular among windows operating system users.Windows 7 has cool hidden feature ,people calls it godmode in windows 7.GodMode is a folder that brings together a long list of customization settings allowing you to change all your settings from one place.This is very good as you can now change all your windows settings from one single place.
Follow the following steps to create god mode folder:
1. Create a new folder
2. Rename the folder to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
"You can change name GodMode to any other word you like ANYTHING(i.e.xyz.{ED7BA470-8E54-465E-825C-99712043E01C})"
3.The folder icon will change ,then double click it to show the GodMode windows options.

That Folder Contains Action Center,Network Configurations,Keybaord-Mouse Management,Device,Display,Homegroup,Bitlocker,Gadgets, in short everything.,
Windows 7 is now becoming popular among windows operating system users.Windows 7 has cool hidden feature ,people calls it godmode in windows 7.GodMode is a folder that brings together a long list of customization settings allowing you to change all your settings from one place.This is very good as you can now change all your windows settings from one single place.
Follow the following steps to create god mode folder:
1. Create a new folder
2. Rename the folder to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
"You can change name GodMode to any other word you like ANYTHING(i.e.xyz.{ED7BA470-8E54-465E-825C-99712043E01C})"
3.The folder icon will change ,then double click it to show the GodMode windows options.

That Folder Contains Action Center,Network Configurations,Keybaord-Mouse Management,Device,Display,Homegroup,Bitlocker,Gadgets, in short everything.,
Browse Forum Without Logging
Visit any forum or website to find something useful and they will ask you to register.
All websites and forums will block unregistered users, but they won’t block Google Bot(spider). What we will do is to switch our User Agent to that of Google Bot and freely browse any website or forum without registering.
First grab the User Agent Switcher add-on for Firefox called ‘user agent’ and install it.
Now go to Tools > User Agent Switcher > Options and then again to Options.
Select User Agent from the left sidebar and click Add. Now in the description field type:
crawl-66-249-66-1.googlebot.com
and in user agent field type:
Googlebot/2.1 (+http://www.googlebot.com/bot.html)
as shown in the screenshot below.
Select Google Bot as your User Script by going to Tools > User Agent Switcher.
Now you can browse website or forum without registering.
All websites and forums will block unregistered users, but they won’t block Google Bot(spider). What we will do is to switch our User Agent to that of Google Bot and freely browse any website or forum without registering.
First grab the User Agent Switcher add-on for Firefox called ‘user agent’ and install it.
Now go to Tools > User Agent Switcher > Options and then again to Options.
Select User Agent from the left sidebar and click Add. Now in the description field type:
crawl-66-249-66-1.googlebot.com
and in user agent field type:
Googlebot/2.1 (+http://www.googlebot.com/bot.html)
as shown in the screenshot below.
Select Google Bot as your User Script by going to Tools > User Agent Switcher.
Now you can browse website or forum without registering.
Unable to Open COS.OBJ File In C
Linker Error:Unable to open File COS.OBJ
This error is also due to the incorrect path of Library Directories. Default path for library is “C:/TC/LIB”. But if you are not installed Turbo C on another location or if you moved the installed TC folder to another, then you have two choices to correct the path. One is move your installed TC folder to you C drive without making a new folder. or change the path of library directory to path of your (installed) library folder (Example: D:/Software/Turbo C/ TC/LIB). Be ensure the LIB folder contains all library files like ‘COS.OBJ’, ‘COT.OBJ’ etc.For set path Follow Steps:
1.Open Turbo c.
2.GoTo Options.
3.Click on Directeries.
In Library Directories set the Default path'C:/TC/LIB' or your location(may be not same in all pc, so first you need to check) where LIB folder is located.
Remove Write Protection Of USB Drive
1.Using CMD
when your USB drive plugged in, launch a command prompt. By searching cmd.exe in the Start menu .You may need to run Cmd.exe with administrator privileges if you see an “access is denied” message.
In CMD follow This Commands:
diskpart
list disk
>select disk n (n is the number of your USB drive)
attributes disk clear readonly
clean
create partition primary
format fs=fat32 (you can swap fat32 for ntfs if use the drive with Windows)
exit
2.Using Registry
>run Regedit.exe
Navigate to the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
Double-click on the WriteProtect value in the right-hand pane of Regedit.exe. Change the Value data from 1 to 0 and click OK to save the change. Close Regedit and restart your computer. Connect your USB drive again, and you should find it is no longer write protected. If you can’t find StorageDevicePolicies, you can try creating a key by right-clicking in the white space in the Control folder and choosing New -> Key and carefully entering the name.Now double-click on the new key (folder) and right-click once again and choose New -> DWORD. Name it WriteProtect and set its value to 0. Click OK, exit Regedit and reboot your computer.
Labels:
cmd
,
registry
,
usb
,
windows
,
write protection
Wednesday, April 2, 2014
Open purely blocked websites.
Open purely blocked websites in your colleges or school or in your office any where, where ever you want even it is blocked tightly.
here the tricks goes like this
Take out the the ip address of the website
Do like this
open run command type cmd
a command prompt will open
type in there
ping (space)the website name
here the example
ping facebook.com
when a line comes "Ping statistics for 69.63.181.12:" this is facebook's ip address
** if you type the ip address in address bar like this http://69.63.181.12 facebook will open
now open your calculater (window + R ) type calc press enter to reveal the secret
Decimal to octal form
Convert the ip address which is in decimal form into octal form..
here what to do
type down the ip address
open scientific calculater
select Dec type the first part and then select Oct
and write it down
here is the way
69 = 105
63 = 77
189 = 275
11 = 13
now when you have taken out all values out
now at the address bar type http://0105.077.0275.013 all the values proceeding with 0.
Decimal to Hexadecimal form
Convert the ip address which is in decimal form into Hex form..
here what to do
type down the ip address
open scientific calculater
select Dec type the first part and then select Hex
and write it down
here is the way
69 = 45
63 = 3F
189 = BD
11 = 0B
now at the address bar type http://0x453FBD0B the first value proceeding with 0x
** You can do it with any of your favorite website **
## AND the most simple is use Proxy Server as i told you earlier
TO know about Proxy Server = Click on me
## You can use google translater
Goto to Google translator = Click on me
type the website name convert it into anyother language and open it simple
## Use anonymizer.ru
to goto the website = Click on me
Labels:
blocked website
,
cmd
,
ping
,
proxysite
Track your lost mobile.
Did
you ever lost your mobile and found no help from police or mobile
operator in tracking your mobile? Well now you don’t need to be worried
about it. Now a days each one of us carry Mobile devices and always fear
that it may be stolen. Each mobile carries a unique IMEI i.e
International Mobile Identity No which can be used to track your mobile
anywhere in the world.
This is how it works!!!!!!
Heres' the Secret
Heres' the Secret
*. Dial *#06# from your mobile.
**. Your mobile shows a unique 15 digit .
***. Note down this no anywhere but except your mobile as this is the no which will help trace your mobile in case of a theft.
****. Once stolen you just have to mail this 15 digit IMEI no. to cop@vsnl.net
*****. No need to go to police.
******. Your Mobile will be traced within next 24 hrs via a complex syestem of GPRS and internet.
*******. You will find where your hand set is being operated even in case your no is being changed.
**. Your mobile shows a unique 15 digit .
***. Note down this no anywhere but except your mobile as this is the no which will help trace your mobile in case of a theft.
****. Once stolen you just have to mail this 15 digit IMEI no. to cop@vsnl.net
*****. No need to go to police.
******. Your Mobile will be traced within next 24 hrs via a complex syestem of GPRS and internet.
*******. You will find where your hand set is being operated even in case your no is being changed.
PASS ON THIS VERY IMP MESSAGE TO ALL YOUR FRIENDS AND RELATIVES.
If u lost your mobile, send an e-mail to cop@vsnl.netwith the following info.
Your name:
Address:
Phone model:
Make:
Last used No.:
E-mail for communication:
Missed date:
IMEI No.:
Your name:
Address:
Phone model:
Make:
Last used No.:
E-mail for communication:
Missed date:
IMEI No.:
Calculations On Command Prompt
Tthe command processor CMD.EXE comes with a mini-calculator that can perform simple arithmetic on 32-bit signed integers:
C:\>set /a 2+2
4
C:\>set /a 2*(9/2)
8
C:\>set /a (2*9)/2
9
C:\>set /a "31>>2"
7
Note that we had to quote the shift operator since it would otherwise be misinterpreted as a "redirect stdout and append" operator.
For more information, type set /? at the command prompt.
Subscribe to:
Comments
(
Atom
)



