Categories
Misc

Fix : The product key you entered did not work 0xc004f050

After reading this post, you will be able to fix an error while entering your Windows 10 product key at the time of product activation. While there are multiple error codes that might be associated with the said error. Few of them are listed here and most of those can be fixed by following the steps in this post.

Error codes – 0xC004F050 or 0x80041023

0xc004f050

While you may also get error code 0xC004F012 or 0xC0020036, but those are covered in the post : Fix : Windows is not activated 0xC0020036 in Windows 10.

So, let us come to why this error occurs. The most common cause for this error is a corrupt license. What times means is that your Windows license registry has failed to provide a valid call to your operating system to confirm the authenticity of your product.

This might happen right after a major upgrade to your operating system, due to some misplaced system files or ultimately a virus (including all sorts of ‘wares’)

How do you fix it?

Method 1: System file checker

  • Press Windows logo key + X ( opens power menu in Windows 10)
  • Click on Windows PowerShell (Admin)
  • And click on Yes when prompted
  • Now within PowerShell type in SFC/ SCANNOW
  • Let the process finish and restart your computer
  • Check if this solved your problem,
  • If not, move on to Method 2

Method 2 : Rebuild Activation Repository

  • Go to X:\Windows\System32\SPP\Store\2.0
  • locate the file called Tokens.dat
  • Rename the file to anything like token_old.dat
  • Now, open your start menu and type in Command prompt
  • Right click Command prompt in the search results and click on Run as Administrator
  • Now, click on Yes, when prompted
  • Now, in the command prompt you just opened type in
  • net start sppsvc
  • Press Enter – “This will start the software protection service”
  • Then, type in
    cscript.exe slmgr.vbs /rilc
  • The command will take some time to execute. Wait for it to finish.
  • Now, Restart your computer
  • Now, click on start and type in Activation Settings
  • Click on Activation Troubleshooter
  • Follow the steps and thereafter restart your computer

This should solve the issue. If not, please use the comment section to write and tell me about it. I will try and help you out.

Categories
Windows 10

How to replace PowerShell (Admin) with command prompt in Winlogo + X

This post will guide you to replace the PowerShell (Admin) entry in the power menu that opens by pressing Windows Logo key + X in Windows 10 with good old style Command Prompt (Admin).

After an update Microsoft decided to replace the Command Prompt (Admin) entry in the Power menu of Windows 10. This menu opens when you press the Windows logo Key + X and gives you many options to quickly control your PC.

 

winlogox

  • Press the Windows logo key and type Taskbar settings in the search box
  • taskbar_setting
  • Click on Task settings
  • Now, click on the option that says Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key + X

CMD

powrshell_off

  • Now, press the Windows key + X again and confirm the changes

replaced_CMD

Categories
Wordpress

Fix : Http error uploading media in WordPress

This post will help you fix an error while you try to insert an image or any media in a WordPress post using your browser. Though, this error might be due to a temporary http request mishandling by your hosting server, it might as well be due to memory constraints within your WordPress installation.

Let us try and fix this issue with the steps mention herein.

Fix: http error while uploading images to a WP post

httperrorwp

Method 1 : Change the memory limit in your WordPress configuration

Required : An FTP client and a text editor
While I prefer using CoreFTP and notepad or notepad++, any FTP client or editor will do the job.

  • Login to your FTP server
  • Locate “wp-config.php” file
  • Right click the file and click on edit
  • memory_limit
  • Insert the code as highlighted in the image above

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

Save the file and overwrite it, if prompted.

Method 2: Logout and Log back in

  • Log out of your WordPress
  • Log in again
  • Try to upload the image to check if it works

Hope this solves the issue, if not please use the comment or contact section to contact me and I will try my best to solve it for you.

Categories
Windows 10

Fix: DRIVER_PORTION_MUST_BE_NONPAGED Windows 10

This post will help you fix an issue with your Windows 10 PC, where you get a STOP error, or better known as BSOD (Blue screen of Death) error in Windows. This step by step guide will help you pin point the issue that’s causing this stop error.

The primary cause of this error is mostly faulty device drivers or corrupted driver files. Proper driver software in your PC is essential for proper functioning of your computer. Any hardware with faulty, missing or corrupted device drivers can be a primary cause of this BSOD error. That being said, a failing hardware of a loose connection within your PC can also cause this issue. Below are the steps to fix driver_portion_must_be_nonpaged stop error in Windows 10, 8.1,8 & 7.

Method 1: Diagnose issue with Event Viewer

windows x

event_viewer_windows10

  • Expand Windows logs
  • Click on system

windows_system_event_viewer

  • Now check the logs one by one to see of any errors are listed that indicate a device driver issue
  • Now,
  • Expand Application & Service Logs
  • & click on hardware events
  • Check if any such events are listed & make note of the device listed

hardware_event_viewer

  • Go to your hardware manufacturer’s support website
  • Download & install the latest device drivers for your hardware
  • If you have a Desktop PC
  • Try to remove that hardware and reinsert it
  • If you have a Laptop
  • Try removing any add-on or peripheral device

Method 2: Using Windows update

  • Go to start screen/menu
  • Type Windows update
  • Click on Windows update from search results
  • Click on Search for updates
  • Download and install all the available updates including any hardware device drivers that are listed

Method 3: Manually updating all device drivers

  • Chipset drivers
  • Graphics or Display drivers
  • Audio drivers
  • Networking drivers
  • USB 3 drivers
  • Mass Storage | Storage drivers
  • The above listed device drivers are the ones that are utterly essential. Though all the drivers should be updated, start with updating these & then move on to the others. This will, first of all, help you pin-point the device driver or device that is causing this error & secondly, you will be able to easily fix the issue without having to fiddle with everything in your computer

Now,

  • If the above mentioned methods solve your problem, its all good
  • If not, follow the two methods mentioned below

Method 4: Update your BIOS

  • BIOS update should only be done if you are completely familiar with the process.
  • BIOS update should only be done on your own risk, if done incorrectly, it can make your computer unusable.
  • Incorrect BIOS update may void your warranty
  • Go to your System Manufacturer’s support website or your Motherboard manufacturer’s support website
  • Enter your Motherboard | system model & select your operating system
  • Check if any BIOS updates are available
  • Read the documentation properly & read any support documents available therein
  • Follow the procedure accurately and update your BIOS
  • Make sure you do not unplug power from your system or use a backup power supply, so that your system doesn’t lose power during this procedure.
  • If it’s a portable machine( a laptop), make sure you have at least 70% of battery available. Plugging in the charger | adapter is recommended*
  • Again, this guide is to be followed at your own risk, I or www.troubleshootwindows.com will take no responsibility for any damage caused.

Method 5: Reset your PC

  • Go to start screen
  • Press & Hold the Shift key on your keyboard
  • Press the power button
  • Click on Restart

Troubleshoot_advanced_options_windows_10

  • Click on Reset this PC
  • Resetting your PC will completely remove everything in your PC, your Windows will go to the state of a fresh install. No apps, files or personal data will be saved. So make sure you make a backup of your stuff first & then reset your PC
  • Click on Reset
  • Your Computer will restart & the process will take some time to complete

Hope this helps, if not, let me know & I will try to troubleshoot your Issue further

Categories
Windows 10 Windows 8 Windows 8.1

Fix: 0xc0000225 STOP error Windows 10 | 8.1

“After reading this post you will be able to fix an error code 0xc0000225 with a message “An unexpected error has occurred”, “a file is missing” , with a description “Your PC needs to be repaired”. This guide applies to Windows 10, 8.1 using diskpart, WInRE

Cause: Corrupt or missing BCD. Your windows operating system has been installed in UEFI mode. UEFI (Unified Extensible Firmware Interface), is a newer technology when compared to the older BIOS setup that uses MBR (Master Boot Record), this problem is known to occur frequently with UEFI, but might also occur with non-uefi or MBR based computers.

NOTE: Make sure to go into your system setup (BIOS/CMOS) and set the UEFI mode to UEFI only. If it’s set on both or compatible, make sure it is now set to UEFI only. (applies to new installation).

Fix: 0xc0000225 STOP error Windows 10 | 8.1

Method 1: Startup Repair

You will need your Windows installation DVD / USB drive or Windows Recovery Media (If you have not created a recovery media, click here, to use this article to create one)

  • Insert your installation DVD/USB or recovery media & boot from it
  • After the booting sequence completes, select your language and keyboard layout
  • Click on Next

repair

  • Now, Click on Repair your computer, (located in left bottom corner of your screen)

windows10_repair_boot

  • Click on Troubleshoot
  • Now, Click on Advanced options
  • Click on Startup Repair
  • Your PC will restart and Windows will try Startup Repair.

If this doesn’t fix the error, try to Rebuild your BCD – Refer this post –> How to Rebuild BCD Windows

Method 2: Using Diskpart for MBR

Troubleshoot_advanced_options_windows_10

  • Now, Click on Command prompt

command_prompt_diagnostics_menu_windows10

  • Now,
  • Type Diskpart
  • Press Enter
  • Type List Disk
  • Press Enter
  • Type Select Disk 0
  • Press Enter
  • Type List Volume
  • Press Enter

mbr_disk_select_diskpart

  • Type the drive letter of your cd/dvd/usb drive in my case, its d:
  • Now, type bootsect /nt60 SYS /mbr
  • Press Enter
  • you will receive a success message.
  • Type exit
  • Press Enter
  • Restart your Computer

Method 3: For UEFI

  • Follow all the steps in method 2 (till you open command prompt)
  • Now, type diskpart
  • Press Enter
  • Type List volume
  • Press Enter
  • Check the list to see which volume has label as ESP

uefi_esp_volume

  • In my case it is volume 4
  • Type Select volume 4
  • Press Enter
  • Now type,
  • assign letter=x
  • Press Enter

uefi_esp_volume

  • Type exit
  • Press Enter
  • Now, Type bcdboot C:\windows /s x:/f UEFI
  • You will get a success message
  • Type Exit
  • Restart your computer

This should solve your issue, if not, let me know and I will be happy to help you further

Categories
Windows 10 Windows 8 Windows 8.1

How to Rebuild BCD Windows 10 |8.1

This is a step by step tutorial or a beginner’s guide to How to rebuild BCD (Boot Configuration DATA) and rebuild MBR (Master Boot Record) in Windows 10 & Windows 8 | 8.1.

Rebuilding BCD | Boot configuration data | MBR

To check & rebuild the Windows BCD:

  • If you are able to access lock screen on Windows, Press & keep holding the shift key & click on Restart to open Windows Recovery Environment (WinRE)
  • If not,
  • Insert the original Windows DVD/USB and boot from it
  • You can also use Windows Recovery Media
  • Select your Language & keyboard options
  • Click Next
  • Click on Repair your computer

windows10_repair_boot

  • Click Troubleshoot
  • Click on Advanced Options
  • Click on Command Prompt

command_prompt_diagnostics_menu_windows10

  • Now,
  • Type bootrec /fixmbr
  • Press Enter
  • Then,
  • Type bootrec /fixboot
  • Press Enter
  • Then,
  • Type bootrec /rebuildbcd
  • Press Enter
  • Now, Type Exit

bootrec

  • Restart your computer
Categories
Windows 10

Fix: Unable to open Diagnostic options WinRE Windows 10

This post will help you fix an issue with your Windows PC, wherein when you try to open the diagnostic options | recovery console in Windows, you either get an error reading “Unexpected handler” or the recovery options just won’t open. Follow this step-by-step guide, If in case you are unable to open the Windows Recovery Environment (WINRE):

Method 1:

  • Shutdown your PC
  • Disconnect any and all add-on devices like printer, scanner, external keyboard /mouse, projector or monitor, or any network device
  • Restart your PC
  • If you are able to boot into Windows, disconnect any network you are connected to
  • Press Windows logo key + X (To open power menu)
  • press A or click on Command Prompt(Admin)

windowslogokey X

  • Click on Yes
  • In this elevated command prompt, type SFC /SCANNOW
  • Press Enter

SFC

  • This will check your system files for integrity
  • If any discrepancies are found, they will be fixed after initial check.
  • After the process completes, restart your machine
  • Check if the problem is solved

Method 2 : Recovery Drive | Bootable Drive (IF you are not able to boot into Windows)

  • If you have created a Recovery drive for Windows, Use that for booting
  • If you haven’t created a recovery drive, follow the steps here to make one
  • Or
  • You can use your Windows installation DVD/USB to boot
  • Once you boot from it, Select your language, keyboard option
  • Click on Next

repair

windows10_repair_boot

  • Now, Click on Repair your Computer, in the left bottom corner as shown above
  • Click on Troubleshoot
  • Now Click on Advanced Options
  • Click on Startup Repair

Alternatively: Method 3: Refresh | Reset your PC

This should fix your issue, if not let me know & i will try to troubleshoot your issue further

Categories
Windows 10

How to Create a Windows 10 Recovery USB

This post is a step-by-step tutorial with pictures on How to create a Windows 10 Recovery disk. A recovery drive is a much needed & very helpful tool when it comes to troubleshooting your PC. Though Windows 10 recovery options can be used in a number of ways, making and keeping a recovery disk is a must have for those dire situations where nothing else works. The best part about this recovery disk is that it doesn’t just help troubleshoot your PC, it can also contain a proper backup of your PC. So, in case of data loss, you have an option of recovering your essentials.

Below are the steps with pictures to create a recovery disk:

  • Go to the start screen
  • In the search box, type Create a recovery drive
  • Click on the app under results.
  • Click on Yes, when prompted
  • Refer the screengrab below

search_start_windows10

  • Now,
  • a wizard to create the recovery drive will open up

wizard_create_recovery_drive_Windows10

  • If you wish to include system files
  • Check the check box as indicated in the screenshot above,
  • else, uncheck the box
  • Click on Next

windows10_recovery drive

  • It might take a minutes for your system to get ready
  • Make sure you insert a USB disk with at least 8 GB space
  • Also make sure that your don’t have any data on the drive, as this app will format the drive
  • Select the USB drive
  • and click next

usb_recovery_drive_windows10

windows10_recoverydisk

  • After you click on create, the process will start & might take from a few minutes to more than that, depending on the option you chose.

creating_recoverydrive_windows10

  • The wizard will copy files to your drive and you will receive a confirmation message at the end

recoverydrive_finished

  • Click on Finish
  • Your Recovery Drive is now ready
Categories
Windows 10

How to boot into Safe mode Windows 10

This post is a step by step guide with pictures to help you boot into safe mode in Windows 10. Safe Mode in Windows 10 is a part of the advanced startup or diagnostic startup feature of Windows. With this you get almost all the troubleshooting options of Windows 10 at one place. Booting into safe mode is a rather convenient choice if:

  • You wish to remove a faulty device driver
  • need to troubleshoot a specific problem related to apps and programs
  • To make sure your core Windows installation is working fine
  • & a lot of other troubleshooting stuff

Safe Mode in Windows comprises of just the most basic system files & device drivers, the ones most essential for Windows to start. This mode helps you diagnose most of the problems associated with Windows, that might not let your PC start correctly.

How to boot Windows 10 safe mode:

Scenario 1: Through Lock Screen OR Start Menu

  • Press & Hold the Shift key on your keyboard
  • While Holding the shift key, Click on Restart

diagnostic_startup_Windows10

diagnostic_options_windows_10

  • Now, from the menu Click on Troubleshoot
  • From the menu that follows, Click on Advanced Options

Troubleshoot_advanced_options_windows_10

  • Now, from the menu that comes,
  • Click on Startup Settings

startup_options_repair_windows10

  • And, Click on Restart

safe_mode_windows10

  • Now, you will get a screen with options just like in the screengrab below

safe_mode

  • Press 4 on your keyboard
  • Your Windows 10 is now booting into safe mode
  • Enter your Account Password, when prompted
  • After the booting completes, your desktop will change to a black wallpaper
  • The screen should look something like this

safe_mode_boot_windows_10

 

Scenario 2: Through bootable media | Recovery Drive

In this scenario, most of the options remain exactly the same as mentioned above, the only thing that changes is the way you get to the troubleshoot Screen

  • Insert your Recovery or Installation DVD/USB into the drive/slot
  • Boot from the said media
  • When prompted, Select your keyboard layout
  • From the screen that follows,
  • Click on Troubleshoot & follow the steps as mentioned above
Categories
Windows 10

Fix: Your PC did not start correctly Windows 10

After following this post, you will be able to solve an issue with Windows 10, where your PC might suddenly restart (OR) might give you an error out of the blue upon restart of power up your Windows 10 based computer. The error reads like: Your PC did not start correctly. This error might also occur after you update or upgrade Windows.

Fix: Your PC did not start correctly Windows 10

Scenario 1: Your PC was working fine & suddenly started throwing this error

Scenario 2: Your updated, upgraded Windows & started receiving this error (see Below) | also if you added a hardware or updated drivers

Method 1: Safe Mode | Startup repair

Safe mode is a troubleshooting option for Windows that starts your computer in a limited state. Only the basic files and drivers necessary to run Windows are started. The words Safe Mode appear in the corners of your monitor to identify which Windows mode you’re using.

Follow the steps given below and check if that helps.

  • Type Update and recovery in search on Start menu.
  • Click Update and recovery, and then click Recovery.
  • Under Advanced startup, click Restart now.

If you are unable to login to your PC, or if you PC is stuck on the lock screen:

  • Press & hold the Shift button on your keyboard

lock_screen_diagnostic_startup

  • Click on the power button
  • While holding the shift button,
  • Click on restart
  • On the Choose an option screen,  click Troubleshoot.

diagnostic_options_windows_10

  • Click on Startup Settings
  • If you don’t see the Startup Settings option, click advanced options.

Troubleshoot_advanced_options_windows_10

  • click Startup Settings.
  • click Restart.
  • On the Startup Settings screen, choose the Safe Mode.
  • Sign in to your PC with a user account that has administrator rights.

Now, If your computer starts normally in SAFE MODE, try Startup repair, follow the instructions below

Startup repair

To run Startup repair from Advance boot option, follow the below steps:

  • Press and hold Shift key and click on Restart under power (as Shown Above)
  • Click on Troubleshoot.
  • Click on Advanced Options.

startup_options_repair_windows10

  • Now click on Startup Repair.

WP_20170115_14_27_34_Rich (2)

WP_20170115_14_27_56_Rich (2)

WP_20170115_14_28_04_Rich (2)

WP_20170115_14_28_19_Rich (2)

If the troubleshooter is able to solve the startup issue, good enough.

If in case the troubleshooter throws an error saying:

startup_repair_could_not_repair_your_PC

Follow Method 2.

Method 2: Rebuilding BCD | Boot configuration data

To check & rebuild the Windows BCD:

  • Follow the steps above to open the Diagnostic Menu in Windows 10
  • OR
  • Insert the original Windows DVD/USB and boot from it
  • Click Troubleshoot
  • Click on Advanced Options
  • Click on Command Prompt

command_prompt_diagnostics_menu_windows10

  • Now,
  • Type bootrec /fixmbr
  • Press Enter
  • Then,
  • Type bootrec /fixboot
  • Press Enter
  • Then,
  • Type bootrec /rebuildbcd
  • Press Enter
  • Now, Type Exit

bootrec

  • Restart your computer

Scenario 2: Your updated, upgraded Windows & started receiving this error

Method 3: Using system restore

Click here (Using System restore Windows 10)

Now, If nothing seems to help & you have your data backed up, it is time to Reset Your PC

Method 4: Reset Your PC

  • From the Diagnostics Menu (as show above)
  • Click on Troubleshoot
  • Then, Click on Reset this PC

Troubleshoot_advanced_options_windows_10

  • Resetting your PC will delete all data & personal setting, apps from your PC
  • Make sure you have everything backed up
  • Click on Reset
  • Let Windows Reset your PC
  • After everything finishes up. Your PC should work fine.

If in case, you still face an issue, please post a comment or use contact form to leave me a message. Will try to further troubleshoot your issue.