Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » Enable WinRM on Windows Servers and Windows PCs
  • Featured Image
    Remote WMI Connection: How to enable or disable WMI Traffic Using Firewall UI Windows
  • Connect to FTP Server
    Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding Windows Server
  • Veeam Enterprise Manager setup
    Veeam Enterprise Manager setup and User Role management Backup
  • image 35
    How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
  • images 5 3
    How to uninstall AWS CLI in Windows AWS/Azure/OpenShift
  • Authentication failed   invalid credential Veeam VSA
    Fix Authentication failed: Invalid credential after installing VSA Backup
  • diagnostic6
    How to enable and use Diagnostic Data Viewer on Windows Windows
  • Time machine
    How to Backup MacOS to Synology NAS via Time Machine Backup

Enable WinRM on Windows Servers and Windows PCs

Posted on 06/11/201901/09/2025 Christian By Christian No Comments on Enable WinRM on Windows Servers and Windows PCs
PowerShell

In this article, we shall discuss how to enable WinRM on Windows Servers and Windows PCs. Windows PowerShell remoting lets you run any Windows PowerShell command on one or more remote computers. You can establish persistent connections, start interactive sessions, and run scripts on remote computers. PowerShell remoting is similar to SSH used in accessing remote computers. Please see how to determine Windows PowerShell version and see if WinRM is running via Test-WSMan,

WinRM is started automatically on newer versions of Windows Server. That is from WS 2008) to be precise at the time of writing this piece, which simplifies the process to enable WinRM on Windows Servers and Windows PCs.

Note: By default, no WinRM listener is configured. Even if the WinRM service is running, WS-Management protocol messages that request data can’t be received or sent. WinRM is not configured by default on Windows PCs or Servers, even when WinRM service is running. The “Internet Connection Firewall (ICF)” blocks access to ports. That is, by default, the WinRM listener doesn’t accept remote connections

Please see steps for Enabling and Configuring WinRM via GPO, “PowerShell Remoting | Windows Management Instrumentation“, and how to fix “WinRM cannot complete the operation, verify that the specified computer name is valid“.

PowerShell Remoting | WMI

PowerShell Remoting uses the Windows Management Instrumentation (WMI) protocol, which is essential to enable WinRM on Windows Servers and Windows PCs. WMI is a set of specifications from Microsoft for consolidating the management of devices and applications in a network from Windows systems.

WMI provides information about the status of local or remote computer systems to users.

Windows Management Instrumentation

Note: PowerShell remoting is disabled by default. Therefore, you will have to enable PowerShell Remoting before it can be used. Furthermore, this command line tool is needed to enable the WMI.

But it was already running as displayed in my lab. Simply enter

winrm quickconfig
Remoting

Since this is already enabled and running as stated, we will proceed to learn how to enable WinRM on Windows Servers and Windows PCs, and access computers remotely.

If you wish to enable PowerShell Remoting via Powershell cmdlet, simply run the command below.

Enable-PSRemoting -Force
None

However, the WinRM service is already running. The next step would be to access our computers remotely on Windows Servers and Windows PCs.

Note: in order to achieve success in setting up PowerShell Remoting in your domain depends on how your network is provisioned.

Most-times, this service can be disabled via GPO. You will need Administrative privileges in order to enable WinRM on Windows Servers and Windows PCs.

WMI

Now that we have successfully connected to a computer on our network as shown above, we can move forward.

Let us now perform certain operations to get the computer system and security logs. Kindly see the image below for these steps.

None

Note: You can also connect to multiple computers at the same time and this requires using the PowerShell invoke cmdlet as shown below.

Invoke-Command -ComputerName COMPUTER -ScriptBlock { COMMAND } -credential USERNAME

Cmdlet explanation

The “computer” here represents the remote PC name or IP Address. “Command” here is the command you intend to run. “USERNAME” is the username you want to run the command as on the remote computer. This username should have the needed Administrative privileges.

Note: You’ll be prompted to enter the desired password for the username

To test if the WinRM service is running on the remote computer, please run the WsMan command below. If this executes successfully, then everything is alright regarding your steps to enable WinRM on Windows Servers and Windows PCs.

Test-WsMan COMPUTER

I hope you found this article very useful on how to enable WinRM on Windows Servers and Windows PCs. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Scripts, Windows, Windows Server Tags:Microsoft Windows, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: PowerShell Remoting: Guide to Windows Management Instrumentation
Next Post: Add and Remove Multiple Virtual Desktops in Windows

Related Posts

  • GoogleTimeError
    Google Chrome reports your clock is behind: How to fix clock synchronization issues in Windows Windows
  • How to Remove Language Pack
    How to forcefully remove Language Pack on Windows 10 and 11 Windows
  • How to Activate Full-Screen (Kiosk Mode) in Internet Explorer Windows
  • Featured image BSOD
    How to troubleshoot and fix Windows 11 blue screen Windows
  • windows 10 technical preview windows 10 logo microsoft 97543 1920x1080
    Windows Editions: Various Operating Systems available for Windows Windows
  • esd convert wim 1280x720 1
    Differences between Capture image, Discover image, Install and Boot images Windows Server

More Related Articles

GoogleTimeError Google Chrome reports your clock is behind: How to fix clock synchronization issues in Windows Windows
How to Remove Language Pack How to forcefully remove Language Pack on Windows 10 and 11 Windows
How to Activate Full-Screen (Kiosk Mode) in Internet Explorer Windows
Featured image BSOD How to troubleshoot and fix Windows 11 blue screen Windows
windows 10 technical preview windows 10 logo microsoft 97543 1920x1080 Windows Editions: Various Operating Systems available for Windows Windows
esd convert wim 1280x720 1 Differences between Capture image, Discover image, Install and Boot images Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Featured Image
    Remote WMI Connection: How to enable or disable WMI Traffic Using Firewall UI Windows
  • Connect to FTP Server
    Secure FTP Login Issue: NAT Router Configuration for Passive Mode and Port Forwarding Windows Server
  • Veeam Enterprise Manager setup
    Veeam Enterprise Manager setup and User Role management Backup
  • image 35
    How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
  • images 5 3
    How to uninstall AWS CLI in Windows AWS/Azure/OpenShift
  • Authentication failed   invalid credential Veeam VSA
    Fix Authentication failed: Invalid credential after installing VSA Backup
  • diagnostic6
    How to enable and use Diagnostic Data Viewer on Windows Windows
  • Time machine
    How to Backup MacOS to Synology NAS via Time Machine Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.