Geeks in Phoenix

Geek Blog


The correct ways to shut down your Windows based computer

Updated March 29, 2023

Doing computer repair, I see a lot of different issues. But there is one problem I see over and over again, start-up corruption. This most commonly occurs when the computer is not turned off properly. And laptops appear to be more prone to this issue than desktops. So here's how to properly shut down your Windows-based computer.

Which power button do you use to shut down your computer?

Logic dictates that if you use a button to turn on a device, you should also use it to turn it off (button on / button off). You use a button to turn your TV, audio/video components, and smartphone on and off. But this is only sometimes the case when it comes to your computer. It is always recommended that you allow the operating system to close down all applications and turn the computer off itself.

Using the Start menu / Start screen to shut down Windows

This may seem like a no-brainer, but you would be amazed at how many people don't use this method. It's mainly laptop users who instinctively close the lid or reach for the power button. But if you don't watch how long you hold the power button down, you could perform a hard shutdown. It's simpler and recommended to use the shut down button on the Start menu / Start screen.

Windows Vista

Shut down button location in Windows Vista
Start button > Power button > Shut down

Windows 7

Shut down button location in Windows 7
Start button > Shut down

Windows 8

Sign out button location in Windows 8
1. Start screen > Sign out
Shut down button location in Windows 8
2. Sign in screen > Power button > Shut down

Windows 8.1

Shut down button location in Windows 8.1
Start screen > Power button > Shut down

Or

Power users shut down button location in Windows 8.1
Power users menu (Windows logo key Windows logo + X) > Shut down or sign out > Shut down

Windows 10

Shut down button location in Windows 10
Start button > Power button > Shut down

Or

Power users shut down button location in Windows 10
Power users menu (Windows logo key Windows logo + X) > Shut down or sign out > Shut down

Windows 11

Shut down button location in Windows 11
Start button > Power button > Shut down

Or

Power users shut down button location in Windows 11
Power users menu (Windows logo key Windows logo + X) > Shut down or sign out > Shut down

Using the power button on the computer to shut down Windows

This method is acceptable for turning off your computer, as it performs the same command as the shut down button on the Start menu / Start screen. But you have to check and ensure that the power options inside the operating system are configured to shut down the system when the power button is pressed.

Power button options inside of Windows 8.1
Power button options inside of Windows 8.1 / Windows 10

The power button can be configured to put the system into sleep or hibernate. And if your system loses power while it's asleep, you will get an error when you restart it. This happens quite often with laptops when they are not using the ac adapter and the battery runs out.

Using the power button on the computer to force it to shut down

How do you turn off your computer when it freezes and has no reset button? This is where the Advanced Configuration and Power Interface (ACPI) specification comes into play. This spec has been built into every computer for well over a decade now. It mandates that when the power button is held down for 10 seconds or longer, the system performs a hard shutdown, turning off power to all components. This will most likely cause an error upon restart.

Managing Virtual Memory / Pagefile in Windows 8

Your computer has two types of memory, Random Access Memory (RAM) and Virtual Memory. All programs use RAM, but when there isn't enough RAM for the program you're trying to run, Windows temporarily moves information that would usually be stored in RAM to a file on your hard disk called a Paging File. The amount of data temporarily stored in a paging file is also referred to as virtual memory. Using virtual memory, in other words, moving information to and from the paging file, frees up enough RAM for programs to run correctly.

The more RAM your computer has, the faster your programs will generally run. If a lack of RAM is slowing your computer, you might be tempted to increase virtual memory to compensate. However, your computer can read data from RAM much more quickly than from a hard disk, so adding RAM is a better solution.

If you receive error messages that warn of low virtual memory, you need to either add more RAM or increase your paging file size to run the program on your computer. Windows usually manages this automatically, but you can manually change the virtual memory size if the default size isn't large enough for your needs.

There is a formula for calculating the correct pagefile size. The Minimum pagefile size is one and a half (1.5) x the amount of memory. The Maximum pagefile size is three (3) x the minimum pagefile size. Let's say you have 2 Gb (2,048 Mb) of memory. The minimum pagefile size would be 1.5 x 2,048 = 3,072 Mb and the maximum pagefile size would be 3 x 3,072 = 9,216 Mb.

How to change the pagefile size in Windows 8

  1. Open the System Properties, press the Windows logo key Windows logo key + Pause, or use the Power User menu (Windows logo key Windows logo key + X) and select System.
    Managing Windows 8 virtual memory 1
  2. If you are going to use the formula above to configure your pagefile, note the amount of installed memory under the System category.
    Managing Windows 8 virtual memory 2
  3. In the left pane, click Advanced system settings. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
  4. On the Advanced tab under Performance, click Settings.
    Managing Windows 8 virtual memory 3
  5. Click the Advanced tab and then under Virtual memory, click Change.
    Managing Windows 8 virtual memory 4
  6. Clear the Automatically manage paging file size for all drives checkbox.
    Managing Windows 8 virtual memory 5
  7. Under Drive [Volume Label], click the drive that contains the paging file you want to change.
  8. Click Custom size, type a new size in megabytes in the Initial size (MB) and Maximum size (MB) box, click Set, and then click OK.

Note: Increases in size usually don't require a restart for the changes to take effect, but if you decrease the size, you'll need to restart your computer. It is recommended that you don't disable or delete the paging file.

Modifying the default locations of user files and library properties in Windows 8

Did you know that Windows 8 has some great ways of managing your user files? From adding additional folder locations in the Libraries to ultimately moving your user documents to another location. You can do all of these and more. Here's how to modify the default locations of user files and library properties in Windows 8.

Moving your personal folders has become more commonplace when you have two (2) or more disk drives in a computer. By moving the user files to another drive, you're freeing up space on the operating system's drive. This can be extremely beneficial if your operating system is installed on a Solid State Drive (SSD). When you move a folder to a new location, you change where the folder and files are stored. However, you'll still access the folder the same way you did before you moved it.

Also, instead of moving a folder, you might want to consider including another folder in one of your libraries. For example, if you have a large number of pictures, you can store those pictures in a location other than your primary hard drive and then include that location in your Pictures library. For more information, see below.

How to change the location of user files in Windows 8

There are six (6) user folders in Windows 8, which you can change their locations. They are Desktop, Documents, Downloads, Music, Pictures, and Videos. You will need to create folders with the same name in the new location before moving any of them.

How to move a user folder to a new location

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Navigate to This PC and expand it. If you don't see the Navigation pane go to the View tab, pull down the Navigation pane toolbar, and place a checkmark next to the Navigation pane.
  3. Right-click the folder that you want to move, and then click Properties.
  4. Click the Location tab, and then click Move.
  5. Browse to the location where you want to move this folder. You can select another location on this computer, another drive attached to this computer, or another computer on the network. To find a network location, type two backslashes (\\) into the address bar followed by the name of the location where you want to redirect the folder (for example, \\mylaptop), and then press Enter.
  6. Click the folder where you want to store the files, click Select Folder, and then click OK.
  7. In the dialog that appears, click Yes to move all the files to the new location.

To restore a folder to its original location

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Navigate to This PC and expand it. If you don't see the Navigation pane go to the View tab, pull down the Navigation pane toolbar, and place a checkmark next to the Navigation pane.
  3. Right-click the folder that you previously redirected and want to restore to its original location, and then click Properties.
  4. Click the Location tab, click Restore Default, and then click OK.
  5. Click Yes to recreate the original folder, and then click Yes again to move all the files back to the original folder.

Note:
If you don't see the Location tab in a folder's Properties dialog, then the folder can't be moved. If you see the Location tab but can't edit the folder path, you don't have permission to move it.

How to modify library properties in Windows 8

We are all familiar with files and folders, but when Windows 7 came out, we got another way to manage them, Libraries. Libraries are where you go to manage your documents, music, pictures, and other files. You can browse your files the same way you would in a folder or view your files arranged by properties like date, type, and author.

In some ways, a library is similar to a folder. For example, when you open a library, you'll see one or more files. However, unlike a folder, a library gathers files that are stored in several locations. This is a subtle but significant difference. Libraries don't hold your folders/files. They monitor folders that contain your files, and let you access and arrange the items in different ways. For instance, if you have music files in folders on your hard disk and an external drive you can access all of your music files at once using the Music library.

Windows 8 has four default libraries: Documents, Music, Pictures, and Videos. You can also create new libraries. If you don't see the Libraries in File Explorer, go to the View tab, pull down the Navigation pane toolbar and place a checkmark next to Show Libraries.

Here are some ways you can modify an existing library:

  • Include or remove a folder. Libraries gather content from included folders or library locations. You can include up to 50 folders in one library.
  • Change the default save location. The default save location determines where an item is stored when copied, moved, or saved to the library.
  • Change the type of file a library is optimized for. Each library can be optimized for a particular file type (such as music or pictures). Optimizing a library for a specific file type changes the available options for arranging your files.

How to add a folder to a library

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Open the library you'd like to change.
  3. On the ribbon on top select Manage library.
  4. In the Library Locations dialog box, click on Add, navigate to the folder you want to add to the library, and click on Include folder.
  5. Click OK.

How to change a library's default save location

A library's default save location determines where an item will be stored when copied, moved, or saved.

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Right-click on the library you'd like to change and click Properties.
  3. Select the library location that you want as default and click on Set save location.
  4. Click OK.

How to change the type of files a library is optimized for

Each library can be optimized for a particular file type (such as music or pictures). Optimizing a library for a specific file type changes the available options for arranging the files in that library..

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Right-click on the library you'd like to change, and then click Properties.
  3. In the Optimize this library for list, select a file type and then click OK.

Strengthen your computer security with EMET 5

Updated January 31, 2021. Microsoft's Enhanced Mitigation Experience Toolkit reached the end of its life on July 31, 2018, and is no longer available for download.

It seems like every day, a new software exploit or vulnerability is found. Software vendors work hard at keeping their software secure, but it can take time to test and deploy patches. So what can you do to protect your computer? The Enhanced Mitigation Experience Toolkit (EMET) from Microsoft does just that.

The main window inside of EMET 5
The main window inside of EMET 5

EMET is designed to prevent attackers from taking control of your system. It works as 'shim' in-between your programs and the operating system. EMET looks for the most common attack techniques and will block and terminate any program it is monitoring. EMET works alongside your favorite anti-virus and anti-malware programs for layered security.

I have been using EMET as part of my layered security for years and have written a few blogs on it. With each version, Microsoft keeps improving it. Some of the improvements in EMET 5 include Attack Surface Reduction (ASR), Export Address Table Filtering Plus (EAF+), and 64-bit ROP mitigations. Here's is the current list of mitigations EMET currently looks for.

  • Structured Exception Handler Overwrite Protection (SEHOP)
  • Data Execution Prevention (DEP)
  • Heapspray allocation
  • Null page allocation
  • Mandatory Address Space Layout Randomization (ASLR)
  • Export Address Table Access Filtering (EAF)
  • Export Address Table Access Filtering Plus (EAF+)
  • Bottom-up randomization
  • Return Oriented Programming (ROP)
  • Attack Surface Reduction (ASR)

There are two (2) different ways to configure EMET, a Graphic User Interface (GUI) and a command-line tool. It is best to configure EMET through the GUI since the command-line tool doesn't allow access to all EMET's features. The built-in configuration wizard will enable you to use either the recommenced settings, keep previous settings (upgrade install), or manually configure EMET (new install).

Easily configure programs to monitor in EMET 5
Easily configure programs to monitor in EMET 5

Once you have EMET installed, it's pretty easy to add programs to monitor. Just open the program you want EMET to watch and then open EMET. On the lower part of the main window, you will see Running Processes. Just find the program you want to monitor in the list, right-click on it, and select Configure Process. You will have to restart any program you have just configured inside of EMET.

How to safely optimize your solid state drive

Updated September 20, 2020

When it comes to getting the best performance out of your computer, nothing can beat a Solid State Drive (SSD). Right out-of-the-box, they are significantly faster reading / writing data than a Hard Disk Drive (HDD). But there are a few things that you have to do differently with an SSD. Here's how to safely optimize your solid state drive.

The definition of tweak

There are plenty of articles out there that will give you a ton of different tweaks you can use to speed up the SSD access time, from turning off disk indexing to disabling Prefetch and Superfetch. Some may work for you; some may not. Generally speaking, if you're running Windows 7 or higher, the operating system should recognize the SSD and modify its behavior accordingly. The following tweaks are entirely safe and will not harm your system in any way.

General SSD maintenance

SSDs operate differently from HDDs, and there are a couple of things you should never do to an SSD. Since SSDs have limited read/write cycles, any program that intensively accesses the SSD could shorten the drive's life span. Running a disk defragment program on an SSD is not recommended. And as far as Check Disk (CHKDSK) is concerned, you'll need to contact the manufacturer of your SSD to find out if they recommend it or not.

Microsoft started building in support for SSDs in Windows 7 / Windows Server 2008 R2 and has expanded on it in Windows 8 / 8.1 & Windows Server 2012. Since the low-level operation of SSDs is different from HDDs, the Trim command was introduced to handle delete/format requests. To verify that Trim is on, you'll need to open an Administrative Command Prompt.

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

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

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

You can verify that Trim is enabled by typing the following into an Administrative Command Prompt:

fsutil behavior query DisableDeleteNotify

If the command returns a 0, then Trim is enabled. If it returns a 1, then it is not. To enable Trim, type the following into the Admin Command Prompt:

fsutil behavior set DisableDeleteNotify 0

SSD free space maintenance

SSDs do have one downside; their capacity can be smaller than HDDs. The capacity of SSDs is getting closer to HDDs every day, but the price for a 1 to 2TB SSD can be kind of expensive. If you have a smaller capacity SSD, maintaining an adequate amount of free space is necessary.

Now there are two scenarios for setting up computers with SSDs: Single-drive (SSD only) and Multiple drives (SSD + HDD). Laptops are usually single-drive, and desktops are almost always multiple-drive. Here are a few ways to maintain free space.

Single-drive (SSD only)

The options here are limited. You could store your files like documents, photos, and music to an external drive or the cloud to free up space. Here are a few more ideas.

Turn off Hibernation.
With the speed of an SSD, boot times will be relatively faster than with an HDD. You'll find that you can boot your computer just as fast as if you brought it out of hibernation. And since hibernation writes the system memory to disk, you'll free up the same amount of disk space equal to the total system memory. And if you have a lot of memory, this can free up a big chunk of space on your SSD.

Disable Windows hibernation and free up disk space

Turn off the virtual memory/pagefile.
Use this with caution! Technically, virtual memory is used when all of the system memory is full. If you have a large amount of system memory (16GB or more) and you don't run memory hog software like Photoshop, you should be alright disabling it. And you'll free up a few GB's of drive space in the process.

Managing Virtual Memory / Pagefile in Windows 7

Managing Virtual Memory / Pagefile in Windows 8

Managing Virtual Memory / Pagefile in Windows 10

Clean up the drive regularly.
Temporary files and browser caches are a few items you'll need to keep an eye on. Using a program like Piriform's CCleaner or Disk Cleanup that comes with Windows will take care of these files. Disk Cleanup can also be run as a scheduled task.

Free up more disk space with Windows 7 Disk Cleanup

Clean up your hard drive in Windows 8 with Disk Cleanup

Clean up Windows 10 with Disk Cleanup

Clean up and optimize your computer for free with CCleaner

Multiple-drive (SSD + HDD)

This is the optimal setup. Everything under a single-drive scenario applies here. Windows and program files need to be on the SSD. Almost anything else that Windows doesn't require for regular operation can go over to the HDD.

Move the virtual memory/pagefile.
Instead of turning it off, move it to the HDD (see link above).

Move personal files to HDD.
Your documents, photos, and music can take up a large amount of space on your drive. Get them off of the SSD and over to the HDD.

Modifying the default locations of user files and library properties in Windows 7

Modifying the default locations of user files and library properties in Windows 8

Modifying the default locations of user files and library properties in Windows 10

There are plenty of other tweaks you can do, like moving the location of your browser cache and temp folders to the HDD. You can find all of that information and more with a quick search on Google.

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 , 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