Enabling Remote Administration

by Sep 6, 2016

PowerShell 2+

Many older DCOM-based commands require a “Remote Administration Firewall Exception” to access remote systems. This includes cmdlets like Get-WmiObject.

One easy way of enabling this is to run the following command in a PowerShell with Administrator privileges:

netsh firewall set service remoteadmin enable

Although this command is considered deprecated, it is still working and one of the easiest ways of configuring the firewall.

Twitter This Tip! ReTweet this Tip!