Home

Custom web.config .exe.config & Settingoverride powershell cmd

%3CLINGO-SUB%20id%3D%22lingo-sub-655455%22%20slang%3D%22en-US%22%3ECustom%20web.config%20.exe.config%20%26amp%3B%20Settingoverride%20powershell%20cmd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-655455%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20several%20customization%20done%20on%20web.config%20or%20exe.config%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20specified%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Forganization%2Fnew-settingoverride%3Fview%3Dexchange-ps%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENew-SettingOverride%3C%2FA%3E%20documentation%20%3A%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSPAN%3E%22Setting%20overrides%20configure%20and%20store%20Exchange%20server%20customizations%20in%20Active%20Directory.%20The%20settings%20can%20be%20organization-wide%20or%20server-specific%2C%20and%20they%20persist%20in%20Active%20Directory%20across%20Exchange%20Cumulative%20Updates%20(CUs).%20Exchange%20customizations%20in%20web.config%20or%20exe.config%20XML%20application%20configuration%20files%20are%20server-specific%2C%20and%20are%20lost%20when%20you%20install%20the%20next%20Exchange%20CU.%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3EI%20want%20to%20use%20this%20to%20my%20settings%20but%20the%20documentation%20doesn't%20describe%20how%20to%20use%20it.%3C%2FP%3E%3CP%3EThis%20will%20be%20helpfull%20on%20large%20environment%20to%20prevent%20configuration%20errors%20when%20updating%20servers...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20exemple%20I%20want%20to%20use%20it%20for%20the%20parameter%20%22MaxConnectionRatePerMinute%22%20of%20the%20file%26nbsp%3B%5CClientAccess%5CPopImap%5CMicrosoft.Exchange.Pop3Service.exe.config%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAn%20other%20config%20is%20on%20UM%20config%20file%20%3A%26nbsp%3BProgram%20Files%5CMicrosoft%5CExchange%5CV15%5Cbin%5Cmsexchangeum.config%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20has%20a%20global%20documentation%20of%20it%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-655455%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E2019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-656041%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20web.config%20.exe.config%20%26amp%3B%20Settingoverride%20powershell%20cmd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-656041%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F351236%22%20target%3D%22_blank%22%3E%40LFerreira%3C%2FA%3E%26nbsp%3B-%20No%2C%20because%20as%20the%20article%20you%20linked%20to%20clearly%20states%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%22%3CSPAN%3EIncorrect%20usage%20of%20the%20setting%20override%20cmdlets%20can%20cause%20serious%20damage%20to%20your%20Exchange%20organization.%20This%20damage%20could%20require%20you%20to%20reinstall%20Exchange.%20Only%20use%20these%20cmdlets%20as%20instructed%20by%20product%20documentation%20or%20under%20the%20direction%20of%20Microsoft%20Customer%20Service%20and%20Support.%3C%2FSPAN%3E%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20really%20shouldn't%20go%20messing%20with%20those%20settings%2C%20it%20can%20have%20unintended%20consequences.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20are%20you%20trying%20to%20accomplish%3F%20And%20why%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
LFerreira
Occasional Visitor

Hi,

 

I have several customization done on web.config or exe.config files.

 

As specified in the New-SettingOverride documentation :

"Setting overrides configure and store Exchange server customizations in Active Directory. The settings can be organization-wide or server-specific, and they persist in Active Directory across Exchange Cumulative Updates (CUs). Exchange customizations in web.config or exe.config XML application configuration files are server-specific, and are lost when you install the next Exchange CU."

I want to use this to my settings but the documentation doesn't describe how to use it.

This will be helpfull on large environment to prevent configuration errors when updating servers...

 

For exemple I want to use it for the parameter "MaxConnectionRatePerMinute" of the file \ClientAccess\PopImap\Microsoft.Exchange.Pop3Service.exe.config

 

An other config is on UM config file : Program Files\Microsoft\Exchange\V15\bin\msexchangeum.config  

 

Anyone has a global documentation of it ?

 

Regards,

1 Reply

@LFerreira - No, because as the article you linked to clearly states: 

 

"Incorrect usage of the setting override cmdlets can cause serious damage to your Exchange organization. This damage could require you to reinstall Exchange. Only use these cmdlets as instructed by product documentation or under the direction of Microsoft Customer Service and Support."

 

You really shouldn't go messing with those settings, it can have unintended consequences. 

 

What are you trying to accomplish? And why? 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies