Geeks in Phoenix

Geek Blog


Free up more disk space with Windows 7 Disk Cleanup

During your computer's regular use, you will accumulate several unnecessary files (temporary setup/internet files, recycle bin, etc.). You can remove these files with the built-in Disk Cleanup (cleanmgr.exe) utility inside of Windows 7. And it can be run a couple of different ways and with different options.

Running Disk Cleanup (cleanmgr.exe) on demand

There are a couple of different ways to run Disk Cleanup on demand. The following procedure cleans up files associated with your user account. You can also use Disk Cleanup to clean up all the files on your computer.

Windows 7 Disk Cleanup dialog box with standard options
Windows 7 Disk Cleanup dialog box with standard options

  1. Click Start, and then type Disk Cleanup in the Start Search box.
    or
    Click Start, then All Programs, then Accessories, then System Tools, then Disk Cleanup
  2. In the Drives list, click the hard disk drive that you want to clean up, and then click OK
  3. In the Disk Cleanup dialog box, on the Disk Cleanup tab, select the checkboxes for the file types that you want to delete, and then click OK
  4. In the message that appears, click Delete files

The More Options tab is available when you choose to clean files from all users on the computer. This tab includes two additional ways to free even more disk space:

Windows 7 Disk Cleanup dialog box with more options
Windows 7 Disk Cleanup dialog box with more options

  • Programs and Features. This option opens Programs and Features in Control Panel, where you can uninstall programs that you no longer use. The Size column in Programs and Features shows how much disk space each program uses.
  • System Restore and Shadow Copies. With this option, you can delete all but the most recent restore point on the disk.
    System Restore uses restore points to return your system files to an earlier point in time. If your computer is running normally, you can save disk space by deleting the earlier restore points.
    In some editions of Windows 7, restore points can include previous versions of files, known as shadow copies, and backup images created with Windows Complete PC Backup. These files and images will also be deleted.

Running Disk Cleanup (cleanmgr.exe) as a scheduled task

You can also run Disk Cleanup from a command prompt. This gives you a few more options, like predefined settings for running Disk Cleanup as a scheduled task in Task Scheduler. First, we need to bring up a command prompt.

Windows 7 Disk Cleanup dialog box with sageset options
Windows 7 Disk Cleanup dialog box with sageset options

  1. Click Start, and then type cmd in the Start Search box.
  2. In the search results list, right-click Command Prompt, and then click Run as Administrator.
  3. If you are prompted by User Account Control, click Continue.

You can start the Disk Cleanup tool by running cleanmgr.exe. Disk Cleanup supports the following command-line switches:

  • cleanmgr /d driveletter: - This switch selects the drive that you want Disk Cleanup to clean. Note that the /d switch is not used with /sagerun:n.
  • cleanmgr /sageset:n - This switch displays the Disk Cleanup Settings dialog box and creates a registry key to store the settings you select. The n value is stored in the registry and allows you to specify different tasks for Disk Cleanup to run. The n value can be any integer value from 0 to 65535. To get all the available options when you are using the /sageset switch, you may need to specify the drive letter that contains the Windows installation.
  • cleanmgr /sagerun:n - This switch runs the specified tasks that are assigned to the n value by using the /sageset switch. All drives in the computer will be enumerated, and the selected profile will be run against each drive.

How to run Disk Cleanup (cleanmgr.exe) on-demand and as a scheduled task inside of Windows 7.

Disable Windows hibernation and free up disk space

Updated October 6, 2022

If you're a hardcore computer user like me, your system runs 24/7 with no screen or power saver options (I turn off the monitors when not in use). I like to walk into my office and have it ready to go. So when I noticed that my version of Windows still had the Hiberfil.sys file and I do not use hibernation, it was time to remove this file and regain that drive space back (in my case, 16 GB).

The Hiberfil.sys is a hidden system file located in the drive's root folder where Windows is installed. The Windows Kernel Power Manager creates this file when you install Windows. The computer uses the Hiberfil.sys file to store a copy of the system memory on the drive when hibernation is turned on.

The size of the Hiberfil.sys file is approximately equal to how much Random Access Memory (RAM) is installed on the computer. The computer cannot go into hibernation if this file is not present. And even if you have disabled hibernation, your computer can still go to sleep. Here is the difference between sleep and hibernation:

  • Sleep: Windows can turn off the screen(s) and drive(s) while continuing to run in memory. A tap on the keyboard or moving the mouse will turn the screen(s) and drive(s) back on.
  • Hibernation: Windows takes the active memory, writes it to the Hiberfil.sys, and then turns the computer off. Pressing the power button will start Windows back up, where it loads the Hiberfil.sys file.

How to turn on or off hibernation in Windows

To disable hibernation, you must open a Command Prompt with Administrator privileges. Since this article covers multiple versions of Windows, click on the link below that matches your version of Windows for how to open an Admin Command Prompt. All links open in a new window.

How to open a Command Prompt with Administrator privileges in Windows 11

How to open a Command Prompt with Administrator privileges in Windows 10

How to open a Command Prompt with Administrator privileges in Windows 8

How to open a Command Prompt with Administrator privileges in Windows Vista and Windows 7

To delete the Hiberfil.sys file and make hibernation unavailable, follow these steps:

  1. Open a Command Prompt with Administrator privileges (see instructions above)
  2. At the Command Prompt, type powercfg.exe /hibernate off and press ENTER.
    Disable Windows Hibernation at the Command Prompt
  3. Type exit and then press ENTER to close the Command Prompt window.

To recreate the Hiberfil.sys file and make hibernation available, follow these steps:

  1. Open a Command Prompt with Administrator privileges (see instructions above)
    Renable Windows Hibernation at the Command Prompt
  2. At the Command Prompt, type powercfg.exe /hibernate on and press ENTER.
  3. Type exit and then press ENTER to close the Command Prompt window.

Creating web apps and websites for free with Microsoft Web Platform

Have you ever wondered how to create a blog, content management system (CMS), or e-commerce website? You can do just that and more with the Microsoft Web Platform. You can create your own web app using WordPress (blog), DotNetNuke (CMS), or nopCommerce (e-commerce), to name a few. And, best of all, it's all free.

Microsoft Web Platform Installer - Spotlight View
Microsoft Web Platform Installer - Spotlight View

From web server (Internet Information Services), database server (SQL Server Express), programming tools like (Visual Studio Community) and lots of apps to work with, Microsoft Web Platform has it all. And did I mention that they are all free?

Microsoft Web Platform Installer - Products View
Microsoft Web Platform Installer - Products View

You can use Visual Studio Community to customize any free ASP.NET and PHP web apps available in the Windows Web App Gallery. And if your app needs a database, you can install SQL Server Express. There are also tools for Windows Azure.

Microsoft Web Platform Installer - Applications View
Microsoft Web Platform Installer - Applications View

All of the programs included in the Microsoft Web Platform are installed on your local system. You build and test your web app on the Internet Information Services (IIS) installed on your local system and then upload it to your remote IIS server when you're finished. If you don't know the platform of your web server, you will need to contact your hosting company to find out. The IIS is more commonly referred to as the Windows platform.

Here's a quote about the Microsoft Web Platform Installer and some of the programs available from the Microsoft site:

The Microsoft Web Platform Installer (Web PI) is a free tool that makes getting the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework, and Visual Studio Community easy. The Web PI also makes it easy to install and run the most popular free web applications for blogging, content management, and more with the built-in Windows Web Application Gallery.

Web Server
Install the latest version of IIS, including the latest IIS Web extensions like IIS Media Services.

Framework
Install the latest version of the .NET Framework. This includes everything you need to work with ASP.NET.

Database
Install the latest version of SQL Server Express. This includes both the database engine and tools.

Tools
Install the latest version of Visual Studio Community, Our full-featured free web development tool.

Web Apps
Install free popular ASP.NET and PHP web apps such as Umbraco and WordPress. Browse the Windows Web Application Gallery.

Extras
Web PI also includes the latest community version of PHP for Windows.

For more information on the Microsoft Web Platform Installer, check out the following link:

Microsoft Web Platform Installer

Take your office to the cloud with Microsoft Office Web Apps

Microsoft recently introduced Office Web Apps, a cloud-based version of their popular productivity suite. Office Web Apps is part of Microsoft 365 and includes versions of Word, Excel, PowerPoint, and OneNote. You can create, edit, copy, rename and delete files (via OneDrive, see below).

With Office Web Apps and OneDrive, you can also share your files with friends, co-workers, or clients. You can even work simultaneously with others on the same Excel workbook with Office Web Apps. Or you can embed an interactive PowerPoint presentation or Excel spreadsheet into a web page.

View of files inside Microsoft Office Web Apps
View of files inside Microsoft Office Web Apps

Excel Web App running in a browser window
Excel Web App running in a browser window

And if you have Microsoft Office installed on your current system, you can open documents directly to that program. If you are using Office 2003 or Office XP, you will need the Microsoft Office Compatibility Pack. Also, Office Web Apps have limited functionally, and some of the more advanced features of the desktop programs, like Comments in Excel, do not work.

Here's a quote from their website:

INTRODUCING OFFICE WEB APPS.
Work online, anytime, from almost anywhere!

  • Office Web Apps are compatible with just about any version of Office.
  • Office Web Apps save your formatting - no matter how often you edit online or take it back into Office on your PC or Mac.
  • Office Web Apps are ready wherever you are - work from the office, your home, the airport, a coffee shop ... or France.

Microsoft OneDrive

Store, access, and share thousands of documents, photos, and Microsoft Office files on OneDrive. OneDrive password-protects your files, so you control who has access to them.

For more information on Microsoft Office Web Apps or Microsoft OneDrive, follow the links below:

Microsoft Office Web Apps

Microsoft OneDrive

Geek Notes:

  • Office Web Apps is integrated into Office 2010
  • Office Web Apps is built into Microsoft 365, so you will need a Microsoft account to use them
  • OneDrive Basic plan has 5GB of storage space for free and paid plans with up to 1TB of storage

My favorite left hand Windows keyboard shortcuts

Updated April 19, 2023

One of the most useful items I use daily is keyboard shortcuts. Especially shortcuts that I can perform with just my left hand, allowing me to keep my right hand on the mouse. You can use keyboard shortcuts to open frequently used files, folders, and programs like File Explorer. Windows has a ton of built-in keyboard shortcuts (see links at the bottom of this article), plus you can create your own custom keyboard shortcuts. Here are my favorite left-hand keyboard shortcuts.

Left hand Windows keyboard shortcuts

Press To
Windows logo key + E Open File Explorer
Windows logo key + R Open the Run dialog box
Windows logo key + D Display the Desktop
Windows logo key + F Search for a file or folder (Windows 7 / 8.1)
Windows logo key + S Search for a file or folder (Windows 10 / Windows 11)
CTRL + A Select all
CTRL + X Cut
CTRL + C Copy
CTRL+ V Paste
CTRL + ALT + (KEY) Custom keyboard shortcut (see below)

Create your own Windows keyboard shortcuts

You can create keyboard shortcuts that use CTRL + ALT + (your choice of a key) for frequently used files, folders, and programs. You will need to have a shortcut to the file, folder, or program you want to open first. You can use an existing shortcut (on your desktop or the Start menu) or create a new one.

How to create a shortcut in Windows

Once you have a shortcut:

  1. Right-click on the shortcut
  2. From the context menu, click Properties
  3. On the Properties box, select the Shortcut tab
    The shortcut key box inside of a Windows shortcut
  4. Click inside the Shortcut key box and press the key which you want to combine with CTRL + ALT

Note:
You can not use the following keys for keyboard shortcuts: ESC, ENTER, TAB, SPACEBAR, PRINT SCREEN, SHIFT, or BACKSPACE.

For more information on Windows keyboard shortcuts, follow the links below:

Windows 11 keyboard shortcuts

Windows 10 keyboard shortcuts

Windows logo key keyboard shortcuts

General keyboard shortcuts

Natural keyboard shortcuts

Dialog box keyboard shortcuts

Accessibility keyboard shortcuts

Windows Explorer keyboard shortcuts

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. We aim to give the highest quality of service  from computer repair, virus removal, and data recovery.

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube