bsod

Lenovo IdeaCentre Blue Screen of Death Problem Solved – Stop 0x00000124

One user bought a Lenovo IdeaCentre computer. It came with an Intel Core i7 6th gen processor, one 120GB SSD and 1TB HDD at a good price. We helped him install Windows 7 on it. The machine was stable when I worked on it, but the user reported it crashed repeatedly when he tried to use it. The machine usually crashed with this message:

A problem has been detected and Windows has been shut down to prevent damage to your computer.
The problem seems to be caused by the following file: hal.dll

If you look at the log, you can see this:

Log Name: System
Source: Microsoft-Windows-WER-SystemErrorReporting
Date: 6/2/2016 9:17:02 PM
Event ID: 1001
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: mycomputer
Description:
The computer has rebooted from a bugcheck. The bugcheck was: 0x00000124 (0x0000000000000004, 0xfffffa800df4b8d8, 0x0000000000000000, 0x0000000000000000). A dump was saved in: C:\WINDOWS\MEMORY.DMP. Report Id: 060216-10140-01.

I googled for information and a lot of people are saying this is a hardware problem. I did some hardware diagnostic tests, but I didn’t find anything wrong with the system. I then checked Lenovo’s site for driver updates and applied all available updates. After all the updates are applied, the system is still crashing.

I then tried out several drivers, and finally found out what’s wrong with the system. The problem was due to a video card driver. The video card driver was downloaded from Lenovo, but it’s causing the system to crash. I installed an updated version of the driver from Nvidia and the problem went away.

This is the link for the driver download on nvidia.com.

http://www.nvidia.com/Download/index.aspx?lang=en-us

cipher

Windows Command Line Tool to Delete Free Space on Hard Drive

For those who does not know why we need to delete free space on hard drive, whenever we delete a file, even if we empty the trash can. The file is not actually deleted, it’s only marked as deleted. With proper tool, you can still recover the file. If you are worried about someone might recover your deleted files, you need to delete the free space on your hard drive, so that the files cannot be recovered again.

There are a lot of 3rd party software which does this. However, Windows already has a built in command line tool for this. This tool is available since Windows 8. To use it, it’s quite simple. First, open up an elevated command prompt. Then type in the following command:

cipher /w:e:\

In this example, e:\ is the drive which we want to delete the free space. Substitute it with the drive letter on your system. Note that depending on the size of your hard drive, it might take a while to finish. cipher is a very useful command line tool. It can be used to encrypt directories on NTFS file system. For usage, you can type

cipher /?

to see the details.

Samba Problem after Updating to 3.6.23-30

One CentOS 6 Linux server got the newest Samba 3.6.23-30 update last week. This is a critical update to fix the Badlock bug. After applying the update, we had some machines which could not connect to the Samba service any more. All the machines in the same Active Directory are fine, but other machines could not connect any more.

It turns out the new version of Samba introduced a new option and changed the behaviors of some other options. I tried to play around with the options, but I still could not get it to work with some clients. I finally downgraded the client using the following command.

yum downgrade samba-common samba-winbind samba-winbind-clients samba-client samba samba-doc samba-domainjoin-gui libsmbclient

I also changed the /etc/yum.conf file to add this line to prevent yum from updating it again.

exclude=samba

Note that this is only a workaround. I’ll update the post again once I find out how to modify the smb.conf to work with the new version of Samba.

Strange Windows Update Problem on a Lenovo X1 Carbon running Windows 8.1

I helped a user with a strange Windows Update problem on a Lenovo X1 Carbon on Windows 8.1. Initially, all the updates failed. I tried to run the Windows update troubleshooter, but it did not help. Checked the error codes and found that it produced different codes each time the updates ran, so searching for a solution based on error codes did not work in this situation.

Finally got it to work after installing the optional updates first. Here are the steps to install the optional updates first.

  1. Open up Windows Update.
  2. Click on important updates are available.

  3. Uncheck the box. This de-select all the important updates.

  4. Click on Optional and check the box. This selects all the optional updates.

  5. Click on Install to install the optional updates.

How to Extract Driver Files from .EXE File Downloaded from Dell

Dell has driver packs for their enterprise class systems like OptiPlex and Latitude series. It’s very useful if you want to import the drivers to SCCM. However, if you want to prepare those non-enterprise systems like Inspiron, there is no driver package to download. You have to prepare the driver package by yourself.

When you download a driver from the Inspiron line, the driver is an executable (.exe) file. In order to prepare a driver package, you need to extract the files. To extract the driver from the .exe file, open up an elevated command prompt, change directory to the download location and type the following command.

driver_executable /s /drivers=folder_name

For example, the driver executable is called Video_Driver_40NXV_WN_10.18.10.3995_A00.EXE . The actual command is like this

Video_Driver_40NXV_WN_10.18.10.3995_A00.EXE /s /drivers=video

This command extracts the driver files to a sub directory called video. Note that this command might fail for some files. If you do not see any files in the video directory, you can use /e argument to extract every files and inspect them.

Video_Driver_40NXV_WN_10.18.10.3995_A00.EXE /s /e=video

To see other usage for the driver executable, type this to see a complete list of options.

Video_Driver_40NXV_WN_10.18.10.3995_A00.EXE /?

 

 

How to Solve Windows 7 Windows Update Hangs Problem

When we built Windows 7 machines lately, we found that Windows Update hangs for some of the computers. We tried a lot of different methods without success. Finally, I found a KB article which fixed the problem. Here are the step by step instructions:

  1. Visit this link and download the update according to your OS. Look for the download in Method 2.
    https://support.microsoft.com/en-us/kb/3102810
  2. Run the downloaded update.
  3. Reboot your computer.
  4. Try the Windows Update again and you should be able to get it going now.