How to shut off OACR

I upgraded to the Window 7 DDK. I don’t want that OACR thing in my tray. I don’t want balloons going off and red/yellow/green lights going off in my tray when I build stuff. I would like to understand the results of my build in ONE place, not TWO or THREE. I am all for extensive code checking but this OACR thing is implemented in a very annoying way that degrades the development experience rather than enhancing it. Do I seriously have to go into every single one of the zillion build environments on every single machine the DDK is installed to shut it off via tedious command line modifications? Please tell me there is an easier way. Sorry, but this thing is just poor all around and not well thought out.

Try removing read+execute permissions from the executable (oacr.exe?)
using the icacls commandline tool.

xxxxx@gmail.com wrote:

I upgraded to the Window 7 DDK. I don’t want that OACR thing in my tray. I don’t want balloons going off and red/yellow/green lights going off in my tray when I build stuff. I would like to understand the results of my build in ONE place, not TWO or THREE. I am all for extensive code checking but this OACR thing is implemented in a very annoying way that degrades the development experience rather than enhancing it. Do I seriously have to go into every single one of the zillion build environments on every single machine the DDK is installed to shut it off via tedious command line modifications? Please tell me there is an easier way. Sorry, but this thing is just poor all around and not well thought out.

Doing your suggestion causes the build environment to croak. This is
documented ways are now in
http://msdn.microsoft.com/en-us/library/dd445211.aspx. It was recommended
by the static analysis team that one use “OACR STOP” which is the only sure
way besides changing the shortcuts to use -no_oac, but they broke this on
the release.


Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

“comrade” wrote in message news:xxxxx@ntdev…
> Try removing read+execute permissions from the executable (oacr.exe?)
> using the icacls commandline tool.
>
> xxxxx@gmail.com wrote:
>> I upgraded to the Window 7 DDK. I don’t want that OACR thing in my tray.
>> I don’t want balloons going off and red/yellow/green lights going off in
>> my tray when I build stuff. I would like to understand the results of my
>> build in ONE place, not TWO or THREE. I am all for extensive code
>> checking but this OACR thing is implemented in a very annoying way that
>> degrades the development experience rather than enhancing it. Do I
>> seriously have to go into every single one of the zillion build
>> environments on every single machine the DDK is installed to shut it off
>> via tedious command line modifications? Please tell me there is an easier
>> way. Sorry, but this thing is just poor all around and not well thought
>> out.
>>
>>
>
>
> Information from ESET NOD32 Antivirus, version of virus
> signature database 4316 (20090807)

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>

Information from ESET NOD32 Antivirus, version of virus signature database 4316 (20090807)

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

The steps in MSDN for disabling OACR in the project settings do not work at all. For those wishing to shut off OACR without modifying each and every shortut I have engineered an easy way to get rid of it:

in setenv.bat change the line to _RunOacr=FALSE

I’ll publish ddkbuild today or tomorrow and that will start whatever
type of build you want from a normal shell or from visual studio or
emacs or notepad++ or brief or slick edit or … without oacr. Or you
can write a shell script to invoke setenv.bat as you wish and just
avoid the command shell shortcuts installed by the WDK.

Mark Roddy

On Fri, Aug 7, 2009 at 9:53 PM, wrote:
> I upgraded to the Window 7 DDK. I don’t want that OACR thing in my tray. I don’t want balloons going off and red/yellow/green lights going off in my tray when I build stuff. I would like to understand the results of my build in ONE place, not TWO or THREE. I am all for extensive code checking but this OACR thing is implemented in a very annoying way that degrades the development experience rather than enhancing it. Do I seriously have to go into every single one of the zillion build environments on every single machine the DDK is installed to shut it off via tedious command line modifications? Please tell me there is an easier way. Sorry, but this thing is just poor all around and not well thought out.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>