nishantcop Posted June 26, 2008 Share Posted June 26, 2008 can any one tell me how to disable log entries into "c:\windows\inf\setupapi.app.log" fileso that no entry can be made by OS insde this file... I found something at followin link bt it was'nt that much helpfull for me, it was a bit confusing: http://msdn.microsoft.com/en-us/library/ms791349.aspx Link to comment Share on other sites More sharing options...
GrofLuigi Posted June 26, 2008 Share Posted June 26, 2008 For pre-Vista I use this. Don't know if it works on Vista, I don't have one. GL Link to comment Share on other sites More sharing options...
CoffeeFiend Posted June 26, 2008 Share Posted June 26, 2008 I found something at followin link bt it was'nt that much helpfull for me, it was a bit confusing: http://msdn.microsoft.com/en-us/library/ms791349.aspxYou just create or set the registry entries to have the amount of logging you want.By default, LogLevel is set to 0x2000ffff, i.e. 0x20000000 + 0x0000ff00 + 0x000000ff. Set it to 0, and it won't log anything.By default, AppLogLevels isn't created, so create it, and set it to 0 too.Then it won't log anything at all (a 6 line .reg tweak could do this easily). Link to comment Share on other sites More sharing options...
nishantcop Posted June 26, 2008 Author Share Posted June 26, 2008 thanks bro...... bt i was not able to understand in that given link that how to edit the Registry values because i m new to do this ... so it'll be a gr8 help if you would explain me that how set the key values pair step by step..... Thanks Link to comment Share on other sites More sharing options...
CoffeeFiend Posted June 26, 2008 Share Posted June 26, 2008 (edited) Paste this in notepad:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"LogLevel"=dword:00000000save as setLogLevel.reg or such, double click it, done!(Ok, I lied. It was only 4 lines)As for the installers, they will all be logging stuff anyways, unless you create separate entries for every single of of them by hand. Edited June 26, 2008 by crahak Link to comment Share on other sites More sharing options...
Volatus Posted June 26, 2008 Share Posted June 26, 2008 According to that MSDN article, that reg tweak should only be 4 lines (1 entry), as AppLogLevels is a key, not a value, and specific application settings go under it. Globally, only LogLevel is needed.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"LogLevel"=dword:00000000And since you (nishantcop) don't understand the registry, I assume you also have "show extensions" disabled. To save as a "reg" file in Notepad, enclose the full filename in quotes - that is, save as "setLogLevel.reg" WITH quotes (or whatever you want to name it, .reg).edit @ me: MSDN, not MSFN. MSDN. msDn. D. All about the D. Link to comment Share on other sites More sharing options...
nishantcop Posted June 26, 2008 Author Share Posted June 26, 2008 thanks to all .... I m able to understand how to edit the registry vlaue bt still i m not able to stop the setupapi.app.log file to keep writing into it.. i succesfully edit the register values but still it's makeing entrys into it i set the registery values for "LogMask (0x00000000)"bt it is still keep writing...even i tried to deleate that file bt that file was getting created. again n again.... is there any way to stop this file from getting created... Link to comment Share on other sites More sharing options...
hitu Posted April 7, 2009 Share Posted April 7, 2009 Try thisWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"LogLevel"=dword:00000101As explained hereGeneral Logging Levels Meaning0x00000001 Off (no Setup logging)Device Logging Levels Meaning0x00000100 Off (no Setup logging) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now