Windows-itpro-docs: specified syntax not working: mdatp config passive-mode enabled

Created on 30 Nov 2020  Â·  5Comments  Â·  Source: MicrosoftDocs/windows-itpro-docs

Hi

From this page I have tried following command:
mdatp config passive-mode enabled

I get the following error:
Configure passive mode:
--value arg Accepted values: enabled, disabled

Something looks to be wrong ith the help page or my mdatp, may I add, the error message is also a bit unclear. :)
Trying with versions 101.04.76 and 101.12.99.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

defender for endpoint

All 5 comments

Hello @bencze1 - Looks like the command is asking to input argument --value. Can you please try the following command?

mdatp config passive-mode --value enabled and see how it goes.

Thanks
Imran.

That does actually work. Googling on the string that's the syntax given in the Mac document, the Linux document said:

Configuration | Turn on/off AV passive mode | mdatp config passive-mode [enabled|disabled]

I experimented back when I needed this and solved it by using the following syntax:
mdatp --config passiveMode on
which is kind of a completely different thing I'm not even sure where or how I found it.
So apparently the funtionality is there it's just the article that needs adjustment.
Thanks for getting back to me.

image

(ref. #8797 )

Closing via #8797

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ludwig1770 picture Ludwig1770  Â·  3Comments

thohun picture thohun  Â·  3Comments

RAJU2529 picture RAJU2529  Â·  3Comments

michalzobec picture michalzobec  Â·  3Comments

iadgovuser1 picture iadgovuser1  Â·  3Comments