Set Remote Desktop, IEESec, Windows Firewall and MPIO using PowerShell

As I add more virtual machines and physical servers to my Microsoft environment there are a few Windows features/settings I tend to always tweak for my own needs:

  • Remote Desktop — I use non network level authentication for connectivity with remote desktop because I am contained within my own private cloud but these settings can be changed based on your environment needs.
  • Internet Explorer Enhanced Security Configuration (IEESec) — Because I actually use the server desktop environment quite a bit the IE settings for IEESec tend to drive me nuts so I turn both Admin and User off. The script allows you to set either of these to On or Off.
  • Windows Firewall — I turn these off in my environment since I am in my own private cloud but within the script you can set Public, Private and Domain to your desired state.
  • Adding Windows Features — The only feature I always add is Multipath I/O.


  1. Great power shell script, would it be possible to also have it configure mpio parameters as well?

    Set-MPIOSetting -NewPathRecoveryInterval 20
    Set-MPIOSetting -CustomPathRecovery Enabled
    Set-MPIOSetting -NewPDORemovePeriod 30
    Set-MPIOSetting -NewDiskTimeout 60

Add Comment

Required fields are marked *. Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

This site uses Akismet to reduce spam. Learn how your comment data is processed.