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)

Name:  Transakcja2.png
Views: 3196
Size:  29.2 KB
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 for2: CLFS transaction logs - Reset
Windows 7 Tutorial Category
Disputing a transaction in paypal. Chillout Room
5 BSOD within 20mins. USBPORT.SYS, CLFS.SYS, ACPI.SYS BSOD Help and Support
Windows 7 Main Account Logs On then Automatically Logs Off General Discussion
I dropped my laptop, now have the error C:\clfs.sys BSOD Help and Support
I dropped my laptop, now have the error C:\clfs.sys General Discussion
Long Shutdown CLFS.sys = 63sec Performance & Maintenance
How to fix Windows File System transaction log? 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 01:55 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33