Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Freezing followed by BSOD when writing to a file

29 Jun 2013   #1
daviga404

Windows 7 Professional x64
 
 
Freezing followed by BSOD when writing to a file

I recently purchased an SSD for my computer, an ADATA 120GB S511. The SSD had been previously used and apparently was in working condition. I installed Windows 7 Professional x64 on my SSD to use it as a boot drive, rather than my standard HDD which I formatted as NTFS. Since then, I have been experiencing troubles while writing to files.

I try and save a file on my HDD (not the SSD) and a lot of the time it works. In some occasions, however, the following events take place:
  • I attempt to save a file
  • The cursor is replaced with the pending symbol (spinning circle)
  • Any programs open cease to function
  • I cannot open directories or files, and icons go blank
  • The entire computer freezes up
  • A blue screen flashes for a split second and disappears (I do not get the chance to read any information).
  • The computer restarts to show a flashing underscore.
  • I restart the computer which returns back to normal.

I have looked through the event log and do not see any critical record aside from Kernel-Power which I believe regards the sudden crash but has no information about it.
I researched for anybody having the same problem online, but the ambiguity of this meant that I found few search results. One of the results said to run the chkdsk command in an elevated command prompt to make it run at boot-time. I did so and the problem still occurred. I also ran the "sfc /scannow" command in an elevated command prompt, but the problem still occurred.

I am now stuck for ideas on how to fix this, and am starting to think that it may be a hardware-related problem rather than a software-related one. Any input to how to fix this would be greatly appreciated!

[EDIT] Additional information: the file that I was trying to save became filled with nothing (shows as NUL in Programmer's Notepad 2). [EDIT2] A hex editor shows the file filled with 0s.

[EDIT3] More info: when the BSOD causes a restart, the computer stays at the motherboard loading screen with "press 4 to activate Asus core unlocker" (which isn't usually there)


My System SpecsSystem Spec
.
29 Jun 2013   #2
Arc

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

My System SpecsSystem Spec
29 Jun 2013   #3
daviga404

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by Arc View Post
I can't - the folder created by the program seems to be empty and Windows won't allow me to zip it.

My mistake - the program created it in the wrong directory.
My System SpecsSystem Spec
.

29 Jun 2013   #4
essenbe
Microsoft MVP

Windows 7 Enterprise X64/Windows 10 X64
 
 

Have you updated the firmware on your SSD? Here are the firmware and guides. Also, when you installed, did you do a clean install? If you are overclocking anything, set everything back to default levels and be sure you set the SSD as 2ND boot option abd DVD as 1st boot option.
Also, please download and install AS SSD, if you don't already have it. Open it , select the SSD from the dropdown list at the top and post a screenshot, you don't have to run the benchmark unless you want to. Also, as always, be careful to not download the junk they always want to download with it. It is an SSD benchmark program, but it shows some good info on the screen. ( Screenshots and Files - Upload and Post in Seven Forums) Also, pleas post a screenshot of Disk Management. Disk Management - Post a Screen Capture Image
My System SpecsSystem Spec
29 Jun 2013   #5
daviga404

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by essenbe View Post
Have you updated the firmware on your SSD? Here are the firmware and guides. Also, when you installed, did you do a clean install? If you are overclocking anything, set everything back to default levels and be sure you set the SSD as 2ND boot option abd DVD as 1st boot option.
Also, please download and install AS SSD, if you don't already have it. Open it , select the SSD from the dropdown list at the top and post a screenshot, you don't have to run the benchmark unless you want to. Also, as always, be careful to not download the junk they always want to download with it. It is an SSD benchmark program, but it shows some good info on the screen. ( Screenshots and Files - Upload and Post in Seven Forums) Also, pleas post a screenshot of Disk Management. Disk Management - Post a Screen Capture Image
I installed the firmware for the SSD (I googled for the page rather than the link you sent, the one you sent was for the wrong model) v5.0.7a.

This is a screenshot of the benchmark:


And this is the disk management screenshot:


The problem has not occurred again YET, but like I said, it is random so I don't know when/if it will happen.
My System SpecsSystem Spec
29 Jun 2013   #6
essenbe
Microsoft MVP

Windows 7 Enterprise X64/Windows 10 X64
 
 

OK, you seem to have a system reserved (K) installed on your Drive D and E disk rather than on your SSD. You are also installed in IDE mode.
You need to change to ahci mode. but follow these instructions exactly. AHCI : Enable in Windows 7 / Vista

To check, disconnect your D/E drive and try to boot your SSD. If it boots, what is on the K drive?
If it will not boot, follow these instructions. Be sure to read the warning and info boxes also.
System Reserved Partition - Delete

If you have another OS installed, please let us know before you do anything. And sorry about the wrong link on the SSD. I assume you found the correct one, and did you update it ?
My System SpecsSystem Spec
29 Jun 2013   #7
daviga404

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by essenbe View Post
OK, you seem to have a system reserved (K) installed on your Drive D and E disk rather than on your SSD. You are also installed in IDE mode.
You need to change to ahci mode. but follow these instructions exactly. AHCI : Enable in Windows 7 / Vista

To check, disconnect your D/E drive and try to boot your SSD. If it boots, what is on the K drive?
If it will not boot, follow these instructions. Be sure to read the warning and info boxes also.
System Reserved Partition - Delete

If you have another OS installed, please let us know before you do anything. And sorry about the wrong link on the SSD. I assume you found the correct one, and did you update it ?
Right, I changed to AHCI mode in the registry & BIOS, and the speeds from the benchmark vastly improved:


About the System Reserved drive: I use Paragon Partition Manager to manage my partions; there was something that I needed to change and PPM needed to do it at boot time. When it does that, it seems to create a separate partition for it's boot manager (which shows up differently than the Microsoft one). It makes a very, very, lightweight version of Linux which makes the changes and then removes the separate partition, but for me this didn't work. When it didn't work, I didn't want to keep that boot manager so I updated the MBR and it switched back to the Windows one (on the C drive). However, the System Reserved still remained which I wasn't too bothered about so I just left it.

Also, yes, I found the correct firmware (v5.0.7a) and installed it using the updater tool provided.
My System SpecsSystem Spec
29 Jun 2013   #8
essenbe
Microsoft MVP

Windows 7 Enterprise X64/Windows 10 X64
 
 

Nice increase in scores. Maybe that will help your freezing problem ( let's hope anyway). Let us know if you continue to have the freezes.
My System SpecsSystem Spec
30 Jun 2013   #9
Arc

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

Thank you lots for all the help, Steve

daviga 404, Your BSOD is APC_INDEX_MISMATCH, BugCheck 1. In most of the cases I have seen it, it is caused by any antivirus/firewall software. Let us see what it shows in your crash dump.

A deeper search reveals that it is caused by COMODO Firewall Pro Sandbox Driver.
Code:
fffff880`09a5e468  fffff880`01221e24Unable to load image \SystemRoot\System32\DRIVERS\cmdguard.sys, Win32 error 0n2
*** WARNING: Unable to verify timestamp for cmdguard.sys
*** ERROR: Module load completed but symbols could not be loaded for cmdguard.sys
 cmdguard+0x6e24
Description here: Driver Reference Table - cmdguard.sys

If you want to get rid of the BSODs, I'd suggest you to uninstall Comodo. Use Microsoft Security Essentials as your antivirus with windows inbuilt firewall, and free MBAM as the on demand scanner.
Download, install and update those, and then run full system scans with both of them, one by one.

Also make it sure that your ADATA S511 SSD is having the latest firmware.

Free up the startup. Windows does not need any other program to auto start with it, but the auto start programs often conflicts and causes various problems including BSODs.
  1. Click on the Start button
  2. Type “msconfig (without quotes), click the resulting link. It will open the System Configuration window.
  3. Select the “Startup” tab.
  4. Deselect all items other than the antivirus.
  5. Apply > OK
  6. Accept then restart.
Let us know the results.
________________________________________________________________________________
BSOD ANALYSIS:
Code:
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

Use !analyze -v to get detailed debugging information.

BugCheck 1, {76d5040a, 0, ffff, fffff88009a5eca0}

Probably caused by : ntkrnlmp.exe ( nt!KiSystemServiceExit+245 )

Followup: MachineOwner
---------

0: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

APC_INDEX_MISMATCH (1)
This is a kernel internal error. The most common reason to see this
bugcheck is when a filesystem or a driver has a mismatched number of
calls to disable and re-enable APCs. The key data item is the
Thread->CombinedApcDisable field. This consists of two separate 16-bit
fields, the SpecialApcDisable and the KernelApcDisable. A negative value
of either indicates that a driver has disabled special or normal APCs
(respectively) without re-enabling them; a positive value indicates that
a driver has enabled special or normal APCs (respectively) too many times.
Arguments:
Arg1: 0000000076d5040a, Address of system call function or worker routine
Arg2: 0000000000000000, Thread->ApcStateIndex
Arg3: 000000000000ffff, (Thread->SpecialApcDisable << 16) | Thread->KernelApcDisable
Arg4: fffff88009a5eca0, Call type (0 - system call, 1 - worker routine)

Debugging Details:
------------------


FAULTING_IP: 
+0
00000000`76d5040a ??              ???

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  WIN7_DRIVER_FAULT

BUGCHECK_STR:  0x1

PROCESS_NAME:  svchost.exe

CURRENT_IRQL:  0

LAST_CONTROL_TRANSFER:  from fffff80002ad4469 to fffff80002ad4f00

STACK_TEXT:  
fffff880`09a5ea68 fffff800`02ad4469 : 00000000`00000001 00000000`76d5040a 00000000`00000000 00000000`0000ffff : nt!KeBugCheckEx
fffff880`09a5ea70 fffff800`02ad43a0 : ffffffff`ffffffff 00000000`00000001 00000000`009d9b20 fffff800`0000007a : nt!KiBugCheckDispatch+0x69
fffff880`09a5ebb0 00000000`76d5040a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceExit+0x245
00000000`016fd1c8 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x76d5040a


STACK_COMMAND:  kb

FOLLOWUP_IP: 
nt!KiSystemServiceExit+245
fffff800`02ad43a0 4883ec50        sub     rsp,50h

SYMBOL_STACK_INDEX:  2

SYMBOL_NAME:  nt!KiSystemServiceExit+245

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  4a5bc600

FAILURE_BUCKET_ID:  X64_0x1_SysCallNum_52_nt!KiSystemServiceExit+245

BUCKET_ID:  X64_0x1_SysCallNum_52_nt!KiSystemServiceExit+245

Followup: MachineOwner
---------
My System SpecsSystem Spec
30 Jun 2013   #10
Pauly

Win7 Ultimate X64
 
 

Should the system reserved partition be assigned a drive letter ??
Normally i would say no but have no knowledge/experience of paragon part manager so dont know if this is something that it has changed especially with it being over 200MB, dual boot ?
My System SpecsSystem Spec
Reply

 Freezing followed by BSOD when writing to a file




Thread Tools





Similar help and support threads
Thread Forum
Windows 7 is over-writing files that have a different file name
I have a problem when saving files in Windows 7. say I have a png with the name "alduin & khajiit 1.png" and I highlight it to grab the file name but I change the "1" to a "2" for a file name "alduin & Khajiit 2.png" in the file name field, Windows 7 still asks if I want to overwrite it despite the...
General Discussion
Error writing to file: C:\Config.Msi\d5166.rbf
Windows 7--installing iTunes 11x update to 10x The OS is preventing the install from completing with the referenced error at the tail end of the install. I've searched the web to no avail. Anyone dealt with this? Mark
Software
Questions about writing a batch file.
Hello everyone, I've got some softball questions about writing batch files. 1)What is the proper syntax to include multiple folders in a set path statement? for example I want to run an application called fred.exe and smith.exe. Fred is located at c:\scripts\torrent seeds\july\fred.exe...
General Discussion
Error Opening File for Writing
I have a brand new HP laptop that I have set up. I have add all of the updates, including Service Pack 1. I have tried to load Kaspersky Internet Security 2011. It downloads just fine, but when I try and run the file I get Error opening file for writing. There is no error code associated with...
Software
XP mode error writing file path not found
I'm trying to run a DOS program (Locoscript 2.51) in XP mode on a W7 Ultimate virtual PC. This doesn't run - with a message 'error writing file(xxxx) path not found'. Program works perfectly in native XP (on a different machine) and the file is in the same place on both. Any ideas for a fix?...
Virtualization
Error opening file for writing
Hi I just got my toshiba laptop from a family friend. I was excited usin windows 7 till I tried installing my softwares. It won't let me install power iso, daemon tools. When I install it a message pops up saying error opening file for writing. It points to a dll file. I don't know what to do. ...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App