Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

How to shut off OACR

Bob_KroeterBob_Kroeter Member Posts: 65
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.

Comments

  • Konstantin_YoprstKonstantin_Yoprst Member Posts: 18
    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.
    >
    >
  • Don_Burn_1Don_Burn_1 Member Posts: 4,311
    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
  • Bob_KroeterBob_Kroeter Member Posts: 65
    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
  • Mark_RoddyMark_Roddy Member - All Emails Posts: 4,305
    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, <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.
    >
    >
    > ---
    > 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
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 25 Feb 2019 OSR Seminar Space
Developing Minifilters 8 April 2019 OSR Seminar Space