Missing Hibernate option in Windows 10/11 Power Options?

Is Hibernate option missing from the Power Options in the Control Panel like in the screenshot below?

Missing Hibernate option

Here is a way to restore the missing Hibernate option back to the Power Options.

How to fix it?

Click the Cortana Search box on your taskbar, type cmd, right-click on the Command Prompt and select Run as administrator.

cmd as administrator

Once the Command Prompt is launched, type in the following command to enable the Hibernate feature.

powercfg /hibernate on

Next, run the following command to change the hibernation file type to full.

powercfg /h /type full

powercfg command

Reboot your computer. You should see the Hibernate option show up in the Power Options now.

Hibernate option


Click here to read more about Windows

Mounting NFS Share on Windows 10 & 11 with Write Access

It is easy to mount a drive from Linux NFS share on Windows 10 & 11 machines. To do that make sure you have NFS Client (Services for NFS) installed from Programs and Features. Following is the command to mount the NFS drive. Note that this command will run on cmd (Command Prompt) and not on PowerShell.

mount \<IP_ADDRESS>\<PATH_TO_DIR>\ drive:

For example, if the IP address of the NFS share is and the directory you want to share is /var/www and you want to mount it to your Z drive, then you can run the following command.

mount \\\var\www z:

But when you mount the drive you can browse the files using your Windows Explorer but you cannot create new files or edit any files.

How to enable write access on NFS share?

To get write access on NFS share you have to make a small change in the Windows registry before mounting the drive. Follow these steps.

  1. Open regedit by typing it in the search box end pressing Enter.
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default.
  3. Create a new New DWORD (32-bit) Value inside the Default folder named AnonymousUid and assign the UID found on the Linux directory as shared by the NFS system. This is the UID of the user that has the write access to that directory on the Linux system.
  4. Create a new New DWORD (32-bit) Value inside the Default folder named AnonymousGid and assign the GID found on the Linux directory as shared by the NFS system. This is the GID of the group that has the write access to the directory on the Linux system.
  5. Restart the NFS client or reboot the machine to apply the changes.

Now run the mount command and you will get the write access.

Click here to read more about Microsoft Windows.

And click here to read more about Linux. 

Microsoft Windows 10 Great UI Changes

My first experience with Windows 8 inspired bafflement and frustration. But I walked away from my first few minutes with Windows 10 with a sense of jealousy. It looks like a significant improvement, and I want it on my PC right now.

Microsoft is launching Windows 10 as the new face of both Windows and eventually Windows Phone. At one point during Microsoft’s Tuesday press event, Terry Myerson, the executive vice president in charge of Microsoft’s OS group, called the new OS “our most open, collaborative OS project ever.” Collaborative, indeed. Microsoft is looking for user feedback, and what I demo’d on Tuesday may not be the same OS that customers receive next year.

Microsoft executives didn’t even characterize the system as an alpha; they referred to it as a “build.” So with Windows 10 tentatively scheduled to be launched around the middle of 2015, there’s quite a bit of time to change, remove or add features before the system launches.

windows10 tech preview start menuIMAGE: MICROSOFT
The Windows 10 Start Menu fues Windows 7 icons and Windows 8 Live Tiles.

That said, we can still point to various features that embody the new Windows 10 experience, and will almost certainly make the cut. These include the revamped Start menu; the new “task view,” virtual desktops and ALT-TAB features; windowed apps; and the new “snap assist” capability. Granted, I had a just a few moments to play around with each. But I quite liked what I saw, and if you sign up for the new Windows Insider program, you’ll have a chance to form your own impressions beginning on Wednesday.

The revamped Start Menu: clean, intuitive

I’m not wholeheartedly in love with the new Start Menu. Aesthetically, it looks like someone surgically conjoined the Windows 7 and Windows 8 experience. Move past that inelegance, however, and it’s darn useful. On the left, there’s a list of frequently used apps, along with shortcuts to PC settings, as well as your documents and pictures folders. At the bottom, there’s a shortcut to launch an “all apps” view.

On the right, the Live Tiles reproduce the functionality of the Windows 8 Start screen, with resizeable tiles that can dynamically show you how much unread mail is left. It appears that you should think of Live Tiles more like notifications rather than app shortcuts, although you can use them either way. Microsoft’s demo station had a large oversize tile showing the current calendar appointment, which seemed appropriate.

windows 10 start menu longMARK HACHMAN
If you want, you can resize the Start menu, increasing or decreasing its size and adjusting its position.

Also, if you want to resize the Start menu itself, you’re free to do so.

As some leaked videos foreshadowed, you can revert to the Windows 8 Start page, if you so choose. But that option wasn’t checked off, leading me to believe that most people would prefer the desktop experience.

A new Windows world: Task view, virtual desktops, and ALT-TAB

One of the Microsoft executives I talked to referred to the new “task view” as a “poor man’s multimonitor setup.” I can understand why.

Virtually all Windows users use ALT-TAB to quickly shuffle between windows. It’s a great way to move from one task to the next. That capability is still available in Windows 10.

windows 10 alt tabMARK HACHMAN
Using Alt-TAB to cycle through windows isn’t that different than Windows 8, but you can see more of what each window holds.

What’s different, however, is the new “task view” button. Down in the Windows 10 taskbar, third from the left, is a button that, when clicked, brings up an array of “virtual desktops.”

What’s a virtual desktop? Think of it as a virtual display.

If you’re running a multimonitor set-up, chances are you’re already allocating different applications to different screens: a browser window on one display, Outlook on another, and maybe a chat app on your docked notebook. But with Windows 10, Microsoft allows you to snap more than one app to a screen. So if you choose, you could fill a secondary monitor with an Outlook pane and a PowerPoint file that you’re referencing in an email to the colleague.

windows 10 taskbarMARK HACHMAN
The Windows 10 taskbar includes the Windows button, which launches the Start menu, the new Task View button, and the Search button. To the far right, the “underlined” apps show that they’re located inside a virtual desktop.

But if you have one monitor, tapping the task view button—or more usefully, Windows+TAB—swaps between desktops, which are displayed on the bottom of the display. So if you have a “project screen” with PowerPoint, a browser window, and OneNote all contained within it, you can swap to an entirely different virtual desktop, or workspace, perhaps with Facebook and Xbox Music. You’ll also notice the apps themselves are shown above the desktops themselves, so if you can’t remember what virtual desktop actually owned that app, you can just jump into it regardless.

There’s also a feature that may or may not make it to final release: On your taskbar, you’re probably used to instances of multiple browser windows stacked on one another. But in Windows 10, you may also see that app “underlined” by a horizontal bar, showing that it’s in a virtual desktop.

windows10 tech preview virtual desktopIMAGE: MICROSOFT
The new task view shows you your virtual desktops, and the apps contained within them.

For now, virtual desktops are a convenience, but they could also emerge as a security feature, allowing users to assign permissions to different ones. Microsoft officials wouldn’t tell me if they’ll be isolated from one another or “sandboxed” over time.

Snap snaps with Snap Assist and windowed apps

And what about Snap, the nifty little feature that fills half of a Windows 8 screen? That’s been improved as well. Every app in Windows 10 can be dynamically resized in a window, although it remains to be see how well this works in practice.

Windows 10 snap assistMARK HACHMAN
Snap a document to one side of the screen, and Snap Assist will suggest some others.

In Windows 8, apps can be snapped by clicking the Windows key and the left or right arrow, snapping them to the left or right of the screen. That fills half the screen. With Windows 10, up to four apps can be snapped per screen, maximizing your productivity.

What’s neat, though, is that once you snap an app, Windows 10 suggests another, similar app that you might want to snap next to it, from a small collection of windows. The feature is intended to save you the hassle of hunting about through menus to actually construct a virtual desktop. Time will tell whether these suggestions will prove useful, but it’s a good start.

You can see, however, that a number of different features—Snap Assist, windowed apps, virtual desktops—all flow somewhat organically into one another. I’m honestly interested to see what difference they make in my own daily workflow.

Last but not least: Search improvements

Windows 10 also adds a search button to the taskbar, moving the other major functionality of the Windows 8 Start page to the desktop environment. If you’re like me, you really don’t click icons on the Start page any more (or use bookmarks when searching the Web). Instead, “searching” for recent apps or documents is often quicker.

windows10 windows product family 9 30 eventIMAGE: MICROSOFT
Microsoft promises consistent experiences over a variety of form factors and screen sizes.

That approach is also found in Windows 10. Microsoft officials say that Search and File Explorer now displays your recent files and frequently visited folders, making finding files you’ve worked on faster and easier.

Granted, Microsoft’s Windows 10 demonstration was somewhat orchestrated to put its best face forward. But with potentially millions of eager Windows users prepared to bang away on it beginning Wednesday, any flaws will be quickly exposed. What’s refreshing is Microsoft is actually encouraging this, similar to the way in which “developers”—i.e., fans—were encouraged to take its latest Windows Phone builds for a spin.

Love it or hate it? Microsoft wants to know. But I think you’ll quite like Windows 10.

[This article was first published on PCWorld]

How to set a new OneNote screenshot shortcut in Windows

Image representing Microsoft as depicted in Cr...

Since in Windows 8.1, the Window+S key is used for search, it overrides OneNote screenshot shortcut. For now, you can manually set a shortcut key to Windows + A for OneNote screenshot. You’ll have to change the shortcut key through your registry. (Note: Unintended changes in your registry can cause problems, so make sure you follow these instructions exactly.)

1. Use Windows + R to pull up this dialog, and type regedit.


2. Now in the folders on the left, navigate down this path:


Note: The path requires the specific version of Office. In the path above, 15.0 refers to Office 2013. If you’re using Office 2010, type 14.0 in place of 15.0 at the end of the path.  Replace 15.0 with 12.0 if you’re using Office 2007.

3. In the folder named Other, right-click the white space underneath the files in that folder and select New, then select DWORD (32-bit) Value.

DWORD dialog

4. In the text entry field that pops up, type ScreenClippingShortcutKey. You just created a new DWORD. (If you are in Office 12.0, this DWORD will already exist.)

5. Right click this DWORD and select Modify, then in the Value field, type 41.

Your new shortcut key has been assigned to Windows + A. Now log off and log on again and you should be all set!

Windows 8.1 update is now available to download

PSA: Windows 8.1 update is now available to download

Today’s the day: October 17th, the day Microsoft starts rolling out Windows 8.1. And right now, the minute this post first went live, is 7AM ET, the exact minute the OS update will start appearing in the Windows Store as a free download. Don’t have a Windows 8 device? You can still install 8.1 on a Win 7 machine; you just won’t get the update for free. For folks using Windows 7, you’ll pay the same price Microsoft was already charging for Windows 8: $120 for the standard version, and $200 for Windows 8.1 Pro. Additionally, Microsoft will also be selling so-called full-version software, allowing you to install the OS on a machine that isn’t already running Windows. At any rate, if you’ve already got a Windows 8 device in hand, we suggest you hit up the source link below to take advantage of the free download. Or, if you’re a weirdo, you can also buy a boxed copy in a retail store. We won’t judge. Either way, you’re going to want to revisit our epic preview breaking down everything you need to know about the new features and apps that come with 8.1.

Windows 8.1 to launch in October

Microsoft today confirmed what had been widely rumored for the past week: Windows 8.1 will bereleased to the general public in October. Specifically, “starting at 12:00am on October 18th in New Zealand (that’s 4:00am October 17th in Redmond), Windows 8.1 will begin rolling out worldwide as a free update for consumers on Windows 8 through the Windows Store.”

Today’s announcement indirectly confirms what my sources have also told me, which is that Windows 8.1 has been officially is in escrow, awaiting the final, formal designation that it’s been released to manufacturing.

Update: A Microsoft spokesperson says Windows 8.1 has not yet been released to manufacturing. “Development of Windows 8.1 continues to be on track, and we expect to reach the RTM milestone and release Windows to our OEM partners in late August.”

In Microsoft’s partner-driven world, that’s an important milestone. It means the code is on its way to OEMs, who in turn can incorporate it into new hardware designs for shipment this fall. After a year of generally miserable Windows 8 sales, those OEMs could use some good news to drive holiday sales.

The most visible change in Windows 8.1 is the addition of a “boot to desktop” option, as well as significant changes to the Start screen and support for smaller form factors. (For A full list of changes, see “Windows 8.1 unveiled: will it change your mind about Windows 8?”)

Customers, though, are going to have to wait.

Why the lengthy delay (more than two months) between this milestone and General Availability? I’ve heard some conspiracy theories suggesting that this isn’t the realrelease and that Microsoft is still furiously swatting bugs between now and an October public release.

The actual reasons, I suspect, are more mundane:

First, hardware makers need time to tweak drivers and utilities for existing devices so that the upgrade process goes more smoothly. That’s crucial for devices that require firmware upgrades to work properly with the new code. On the Windows 8.1 Preview forums, I’ve read page after page of reports from frustrated Preview users who had either failed upgrades or problems with incompatible devices. OEMs can’t afford widespread issues for customers getting released code.

Second, Microsoft still has work to do on its first-party Windows 8 apps, especially the unified Windows communication suite that incorporates the Mail, People, and Calendar apps.

And finally, those few extra months allow time for some high-profile third-party developers to get on board with Windows 8 apps. Facebook, for example, is still missing in action on the platform.

There will also, of course, be fixes for the official Windows 8.1 code between now and October, released via Windows Update. But the update itself is locked down.

There’s no indication in today’s consumer announcement of when the Windows 8.1 code will be available for developers on MSDN, nor when the Enterprise edition will be available for general release. I’ve asked Microsoft for comment and will update this post when I hear back. Update: Microsoft declined to comment on either of these questions.

[Ref: http://www.zdnet.com/windows-8-1-to-launch-in-october-7000019387/]

Add a Shutdown menu to the Windows desktop

As you know, the Start menu in Windows not only provided you with a way to launch your application but also a way to shut down your computer. For example, in Windows 7 there is a Shut down as well as a pop-up menu that displays six other related options: Switch user, Log off, Lock, Restart, Sleep, and Hibernate.

In Windows 8, these options are spread out between the Power Charm and the context menu associated with your user picture on the Start screen, as shown in Figure A. Unfortunately, this new arrangement isn’t convenient for everyone. I’ve heard numerous complaints about this as well as requests for the ability to shut down or restart the system to be put back on the desktop.

Figure A

This composite image shows the power options on the Power Charm and the context menu associated with your user picture.

I began investigating this possibility and have found a technique that will allow you to recreate a reasonable facsimile of the Shut down pop-up menu on Windows 8’s desktop. The technique involves creating a series of shortcuts using special commands, saving them to a folder, and then specifying that folder as a taskbar toolbar. Let take a closer look.

The special commands

As you may know, Windows comes with a command line utility called Shutdown.exe that, along with special parameters, can be used to create the majority of the options for our Shut down menu. To create the other options we’ll use two other command line utilities: Rundll32.exe and Tsdiscon.exe. These commands and their parameters are shown in Table A.

Table A

Menu option


Shut down shutdown.exe /s /t 00
Restart shutdown.exe /r /t 00
Log off shutdown.exe /l
Sleep or Hibernate rundll32.exe powrprof.dll,SetSuspendState
Lock rundll32.exe user32.dll,LockWorkStation
Switch user tsdiscon.exe

Sleep vs. Hibernate

The differences between activating Sleep and Hibernate from the command line in Windows 8 can be tricky, so be aware.

As you can see the same command line is used to initiate Sleep and Hibernate. If you have the Hibernate feature enabled, then this command line will put the system into Hibernation mode. If you have the Hibernate feature disabled, then this command line will put the system into Sleep mode.

Keep in mind that if the Hibernate feature is disabled, then the only power saving option you will have available is Sleep mode. If the Hibernate feature is enabled, then both power saving options, Hibernate and Sleep, will be available – just not both from the command line.

If you leave the Hibernate feature enabled, then you can use a shortcut to activate the Hibernation mode and can then activate Sleep mode from the Power Charm or by configuring the power button on the computer to activate Sleep mode. As such, I chose to leave the Hibernate feature enabled.

Now, if you want to disable or enable the Hibernate feature, you will press [Windows]+X to bring up the Tools menu and then select Command Prompt (Admin). Then, you will use one of the following commands:

powercfg -hibernate off
powercfg  -hibernate on

Creating the shortcuts

In order to use the taskbar toolbar, you’ll need to create all your shortcuts in a single folder. To make it simple, I created a folder called Shut down and then used Create Shortcut wizard to create my shortcuts in that folder. To do so, just right click on the background and choose the New | Shortcut command. When you see the first screen in the Create Shortcut wizard, type the first command from Table A in the text box, as shown in Figure B.

Figure B

Type the first command from Table A in the text box.

In this command, the /s is the shut down parameter and the /t 00 is the timer parameter which instructs the shut down command to shut down the system in 00 seconds or immediately. Once you type the command, you can click Next. When you see the second screen in the Create Shortcut wizard, type Shut down as shown in Figure C. To complete the wizard, just click Finish.

Figure C

Name this shortcut Shut down.

Once you create the Shutdown shortcut, you’ll create the Restart shortcut, as shown in Figure D. In this command, the /r is the restart parameter and the /t 00 is the timer parameter which instructs the shut down command to restart the system immediately.

Figure D

The /r parameter instructs the shutdown command to restart the computer.

You can then create the Log off shortcut as shown in Figure E. In this command, the /l is the log off parameter.

Figure E

The /l parameter instructs the shutdown command to Log off the computer.

You’ll then create the Hibernate shortcut as shown in Figure F. In this command line, rundll32.exe activates the Power Profile (powerprof.dll) and then launches the default power saving mode (SetSuspendState). Keep in mind that case is important in this last command – you must use both upper and lower case letters.

Figure F

You must use both upper and lower case letters in last part of the Hibernate command.

You can now create the Lock shortcut as shown in Figure G. In this command line, rundll32.exe accesses the currently logged on user’s session (user32.dll) and locks the session (LockWorkStation). Again, case is important in the last command.

Figure G

The last part of the Lock command must use both upper and lower case letters.

The Switch user shortcut is quite simple, as you can see in Figure H. There is only the tsdiscon.exe command – no parameters.

Figure H

The Switch user shortcut has a simple command.

Once you have created your shortcuts, you can assign each one a unique icon if you wish. To do so, right click on the shortcut icon and select the Properties command. When you see the Properties dialog box, click the Change Icon button to open the Change Icon dialog box. Then, click the Browse button. You can find a host of icons in the Shell32.dll file, as shown in Figure I.

Figure I

The Shell32.dll file contains a host of icons.

Creating the toolbar

Now that you have your shortcuts created in the Shut down folder, you can create the toolbar. Right-click on the taskbar and then select the Toolbars | New toolbar command, as shown in Figure J.

Figure J

Select the New toolbar command.

When you do, you’ll see the New Toolbar – Choose a folder dialog box and will need to locate and select the Shutdown folder, as shown in Figure K.

Figure K

In the New Toolbar – Choose a folder dialog box, just select the Shutdown folder.

Your new Shut down menu will now appear on the right edge of the taskbar, as shown in Figure L. You can leave it there or you can move it to the far left if you want. For me it works best on the right side of the taskbar. Regardless of where you place it, you can now quickly and easily Shut down, Restart, Lock, Log off, Hibernate, or Switch user right from the Windows 8 desktop.

Figure L

The Shut down menu may work best on the right side of the taskbar.
[Ref: http://www.techrepublic.com/blog/window-on-windows/add-a-shutdown-menu-to-the-windows-8-desktop/7031?tag=main;river-newest]

How to Disable Ads by Google

1. Find the Windows hosts file on your computer. The file is probably located in the c:\windows\System32\drivers\etc\ folder. Look for the file named “hosts”.

2. Right-click the hosts file. Click “Open,” and then choose “Select the program from a list”. Click “Notepad”. The hosts file opens up as a text file in Notepad.

3. On the first empty line of the hosts file, copy and paste the following: pagead.googlesyndication.com pagead2.googlesyndication.com

4. Save the file.

5. Allow the change if prompted with a warning from your antivirus or spyware programs.

Allowing Oracle ports in Windows Firewall

If you plan to install Oracle Database XE onto a computer running Windows Firewall, which was first introduced in Windows XP Service Pack 2 and Windows Server 2003 Service Pack 1, and then connect to it from another computer, check that the firewall has not been configured to block communication from the following incoming ports. These ports are the default ports that Oracle Database XE users.

  • 1521: Oracle Database Listener
  • 2030: Oracle Services for Microsoft Transaction Server
  • 8080: Oracle HTTP Transaction Server

To allow these ports follow the instructions below.

  1. Open Control Panel from theStart menu.
  2. Select Windows Firewall.open-port-windows-7-firewall-1Note: If Windows Firewall is not available, change View by to Large iconsat the top right of the Control Panel window.
  3. Select Advanced settings in the left column of the Windows Firewall window.open-port-windows-7-firewall-2
  4. Select Inbound Rules in the left column of the Windows Firewall with Advanced Security window.open-port-windows-7-firewall-3Note: You can prevent outbound traffic by selecting Outbound Rules.
  5. Select New Rule in the right column.open-port-windows-7-firewall-4
  6. Select Port in the New Inbound Rule Wizard and then click Next.open-port-windows-7-firewall-5
  7. Select which protocol this rule will apply to (TCP or UDP), select Specific local ports, type a port number (80), port numbers (80,81), or a range of port numbers (5000-5010) and then click Next.open-port-windows-7-firewall-6
  8. Select Allow the connection and then click Next.open-port-windows-7-firewall-7
  9. Select when this rule applies (check all of them for the port to always stay open) and then click Next.open-port-windows-7-firewall-8
  10. Give this rule a name and then click Finish to add the new rule.open-port-windows-7-firewall-9

The port is now open and ready to be used.

[Ref: http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABEBCDB]
[Ref: http://maximumpcguides.com/windows-7/open-a-port-in-windows-7s-firewall/]

Windows 8 Consumer Preview

Windows 8 Consumer Preview is now available for download.You can either use a setup or an ISO file to download and install.

Setup file can be downloaded from:


and ISO can be downloaded from:


I’ll try to install it on my virtual machine and will post comments about how was the experience. So stay tuned for more updates.