Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7
Report Inappropriate Content
Message 1 of 2

Temporary disable of access protection via script/command line?

Is there any way to use a command line argument for McConsol.exe to disable access protection?  Is there a way to do it via script or command line?

My company has a user-defined rule which completely prevents ALL VSTO (Visual Studio Tools for Office) addins from working.  Thankfully, they did give insight to allow any user to temporarily disable this 'feature' (it will reactivate via updating policies).  Anyway, I need to be able to disable this feature via batch file/script or some automated way, instead of GUI access.

Any ideas?

BTW, this question was already asked in the post below, but the answer thread goes no where.

Message was edited by: tim2u on 6/22/10 9:57:59 AM CDT
1 Reply
Level 14
Report Inappropriate Content
Message 2 of 2

Re: Temporary disable of access protection via script/command line?


I know of no direct parameter which would disable this feature with McConsol.exe, but you could be succeeding with changing this regkey which I assume controls Access Protection enabled state:

0-disabled, 1-enabled

HKLM\Software\McAfee\VSCore\On Access Scanner\BehaviourBlocking\APEnabled

If the rule protecting McAfee registry settings is enabled, then you won't be able to change this key from anywhere, but you can give a try...


You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community