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: CLFS transaction logs - Reset


CLFS transaction logs - Reset

How to Reset the Common Log File System (CLFS) Logs
Published by Flavius
30 Aug 2010
Published by

CLFS transaction logs - Reset

information   Information

Definition

The Common Log File System (CLFS) is a general-purpose logging service that can be used by software clients running in user-mode or kernel-mode.(source Using Common Log File System (Windows Driver Kit))

If due to any reason system transaction logs are in an inconsistant state you may have following problems in your system

-Windows Update Error 0x80070643,0x8007000B,0x80071A91
-Repeatedly offered the same update,in update history is information about succesfully installed an update,although in Programs and Features>>View Installed Updates there is no this update
-Windows Backup Errror 0x80071A91
-System Restore Error 0x80071A91
-Task Scheduler Error Transaction support within the specified file system resource manager is not started or was shut down due to an error and other issues with Task Scheduler
-issues with Windows Search service (i.e Event ID 1006 and other)

-possibly below methods can help you fix anything 0x80071A91 error in your system and many other unknow poorly documented errors


This tutorial applies to Vista/Windows 7 (all versions).




METHOD I

Run cmd.exe with elevated previlliges (right click on cmd.exe and choose "run as Administrator) and type:

fsutil resource setautoreset true c:\

and next restart computer.Alternatively you can run this MS Fix it 50140





METHOD II

Boot into "safe mode with command prompt" (in normal mode this method may not work fully)


//see also Advanced Boot Options //

and type:

cd %windir%\System32\Config\TxR

press ENTER

attrib -r -s -h *

press ENTER

del *

press ENTER

cd %windir%\System32\SMI\Store\Machine

press ENTER

attrib -r -s -h *

press ENTER

del *.tm*

press ENTER

del *.blf

press ENTER

del *.regtrans-ms

press ENTER

warning   Warning

Pay attention if any command return some error.It would be very important


Possible errors returned by commands

Could not find <file name> -You may not have some file but it's normal and you can safely ignore this error.

The process cannot access the file because it is being used by another process-As message say unable to delete files.If remains succesfuly done commands does not fix problem you have to repeat this step from WinRE level or
any liveCD (See METHOD III)

CLFS transaction logs - Reset-transakcja2.png
As you can see in this example unable to delete some files in TxR folder .If remains commands does not fix your problem you have to repeat this step from WinRE or linux.



METHOD III (from WinRE level)

//apply only if unable to complete all steps in METHOD II and problem still exist//

warning   Warning

Mostly cases OS is installed on first partition and WinRE can see it also as C:.If you have installed OS on other partition you have to change drive letter in my commands i.e if you have OS on second partition the proper first command for you will be cd /d D:\Windows\System32\Config\TxR and so on for remains commands below.For precaution you can check partitions status in diskmgmt.msc in your OS,before you boot installation disk


Boot your Windows installation disk,choose language>>repair computer>>command prompt and type:

cd /d C:\Windows\System32\Config\TxR

press ENTER

attrib -r -s -h *

press ENTER

del *

press ENTER

cd C:\Windows\System32\SMI\Store\Machine

press ENTER

attrib -r -s -h *

press ENTER

del *.tm*

press ENTER

del *.blf

press ENTER

del *.regtrans-ms

press ENTER

CLFS transaction logs - Reset-transakcja3.png
From WinRE there is no problem to make all commands.As I said before you can ignore error about missing files -you may not have all log files and it's normal

If you hate WinRE and command prompt you can use any live CD or linux i.e Ubuntu too.By using linux you have to delete following files:

in Windows\System32\Config\TxR :

-delete all files

in Windows\System32\SMI\Store\Machine:

-delete only files with extensions *.tm*,*.blf,*.regtrans-ms





30 Sep 2010   #1
xpapax

Windows 7 professional x64
 
 
Corrupt

I've been trying to find a post just like yours because i've been getting an error when running windows update. I went through the steps you have posted but when i try to do anything in config/TxR i get an error saying the file is either missing or corrupt. Ive tried from cmd in windows, cmd from the recovery disk, and cmd in safemode but i just keep getting "file is corrupt". Do you know anyway around this?


My System SpecsSystem Spec
30 Sep 2010   #2
Flavius

Windows 7 Professional x64 PL
 
 

Quote   Quote: Originally Posted by xpapax View Post
I've been trying to find a post just like yours because i've been getting an error when running windows update. I went through the steps you have posted but when i try to do anything in config/TxR i get an error saying the file is either missing or corrupt. Ive tried from cmd in windows, cmd from the recovery disk, and cmd in safemode but i just keep getting "file is corrupt". Do you know anyway around this?
Diagnose your disk Disk Check

(check also option "Scan for and attempt recovery of bad sectors"

If seems no errors use linux e.g Ubuntu.
My System SpecsSystem Spec
18 Oct 2012   #3
rival

Windows 7 Ultimate x64
 
 
Success

Flavius - Thanks, I tried you second method after having tried the first method a few times with no success, voila it worked perfect. I was having issues running windows backup, it was giving me the"Transaction Error". Much appreciated!
My System SpecsSystem Spec
.


Comment

 CLFS transaction logs - Reset




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
BSOD SYSTEM_THREAD_EXCEPTION_NOT_HANDLED caused by CLFS.SYS?
Recently got a BSOD while installing windows updates (doing the whole "shut down to install updates thing, not installing while the computer is logged in). Any help? Bluescreenview says it's caused by clfs.sys driver but I still don't know how to fix it exactly. Thanks for the help!
BSOD Help and Support
Disputing a transaction in paypal.
The said transaction is digital content. Transaction went smoothly but the seller just flat out didn't send the content. Well, they did list my transaction as completed, but when trying to access the library, it's listed briefly then removed after several hours. Now can't access the content...
Chillout Room
Windows 7 Main Account Logs On then Automatically Logs Off
New to the site and I hope this is in the right forum. I am using Windows 7 Pro 64 and my main account logs in then automatically logs off. I can successfully log in using Safe Mode to this account. I created another account called test and I can access this account in both Safe and Normal...
General Discussion
I dropped my laptop, now have the error C:\clfs.sys
I accidently dropped my laptop on to its side. I turned it on and i was on skype and google for a while until i tried to search for a file and it froze and the a window came up saying somthing about Windows crashing. I did the little error test thing and it told me that the file was un-fixable. I...
BSOD Help and Support
I dropped my laptop, now have the error C:\clfs.sys
I accidently dropped my laptop on to its side. I turned it on and i was on skype and google for a while until i tried to search for a file and it froze and the a window came up saying somthing about Windows crashing. I did the little error test thing and it told me that the file was un-fixable. I...
General Discussion
How to fix Windows File System transaction log?
My Windows 7 Ultimate PC cannot save its backup settings due to its corrupted transaction log. Fix It is incompatible with Windows 7 and the fsutil command did not repair the log file. Here is the error message which is very indicative of the nature of this error: Transaction support within the...
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 22:52.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App