Jump to content

Disable setupapi.app.log Entries


nishantcop

Recommended Posts


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

You 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

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

Paste this in notepad:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]
"LogLevel"=dword:00000000

save 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 by crahak
Link to comment
Share on other sites

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:00000000

And 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

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

  • 9 months later...

Try this

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]
"LogLevel"=dword:00000101

As explained here

General Logging Levels			Meaning
0x00000001 Off (no Setup logging)

Device Logging Levels Meaning
0x00000100 Off (no Setup logging)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...