Skip to content

TechDirectArchive

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Enabling and Configuring WinRM via GPO
  • Add a second domain to your domain
    How to add a new Domain Controller to an Existing Domain Windows Server
  • Fix Failed to Connect a Hyper V Standalone to Veeam Backup
    Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup” Backup
  • wingettool
    Install Applications with Winget CLI on Windows Windows Server
  • office365 1200x675 1
    How to prevent emails from going into a junk folder in Office365 Network | Monitoring
  • Snapshot
    Create or delete snapshots on VMware Workstation Backup
  • adfs
    Install and configure Active Directory Federation Service (ADFS) Windows Server
  • Reverse Image Search
    How to Perform a Reverse Image Search on Your Browsers Network | Monitoring
  • jhgfx
    How to make Cortana use your default web browser such as Google Chrome Windows

Enabling and Configuring WinRM via GPO

Posted on 01/08/202416/12/2025 Temitope Odemo By Temitope Odemo No Comments on Enabling and Configuring WinRM via GPO
Banner

In this guide, I will show you how to Enable and Configure WinRM via GPO. Microsoft Windows Remote Management (WinRM) is an implementation of the WS-Management protocol, which is a standard Simple Object Access Protocol (SOAP). Please “Cannot find the computer: Fix the following error occurred while using Kerberos authentication“, and how to fix “An error occurred while attempting to connect to the server: Check if the Virtual Machine Management service is running or you are not authorized to connect to this server“.

This is a firewall protocol that allows communication between hardware and operating systems of different vendors. WinRM is part of the Windows operating system but for you to obtain data from a remote computer, you must configure a WinRM listener.

This is one utility tool that IT Pros who are experts in writing scripts to automate the management of servers and want to obtain data for management applications.

Please, see Configure Windows Admin Center on Windows Server 2019, and Why Software KVMs such as Synergy is replacing Hardware KVMs. Also, see how to Configure WinRM to accept connection from a specific IP Address“.

WinRM vs RDP

WinRMRDP
WinRM is a protocol for remote management.Remote Desktop (RDP) is a protocol for remote desktop access.
WinRM allows for remote execution of management commands.RDP provides a graphical interface for remote desktop access.

Read more about How to enable or disable WinRM via the command-line, WinRM and PSRemoting: How to configure servers for remote access, Determine Windows PowerShell version and see if WinRM is running via Test-WSMan

Steps to Enable and Configure WinRM via GPO

1: Open Group Policy Management on your domain controller by running gpmc.msc

Enabling and Configuring WinRM via GPO-GPM

2. Create a new Group Policy Object and name it. I will give mine “TechDirectGPO”.

Enabling and Configuring WinRM via GPO-Group policy object

3. Enter the New GPO and click OK.

Enabling and Configuring WinRM via GPO-NewGPO

4. Edit the new GPO. Right-click on the GPO and click on Edit.

GPO Edit

5. Click Computer Configuration and navigate to Policies > Administrative Templates: Policy definitions > Windows Components > Windows Remote Management (WinRM) > WinRM Service.

WinRM Client

6. On the settings panel right click “Allow remote server management through WinRM” and click “Edit” to configure the settings.

WinRM Edit

Enable WinRM

7. After the dialog box opens click “Enabled” and under the IP Options section, specify an IP Address range or put an Asterisk “*” in the IPv4 filter and IPv6 filter text box.

The range of IP’s you input will only be allowed to remotely manage the PC but when you input “*” it means all IP addresses will be allowed to remotely manage the PC. Then click OK.

Enabling and Configuring WinRM via GPO-WinRM

Please see How to determine Tombstone Lifetime in Active Directory, and how to configure a remote Windows Server to Support Ansible.

Automatic Startup

8. Enable the Windows Remote Management (WS-Management) Service to start automatically. Navigate to Computer Configuration >  Preferences > Control Panel Settings > Services. Right-click Services > New > Service.

Services

9. Under the New Service Properties set Startup as Automatic. Enter Service Name as WinRM and select Service Action as Start service. Then click OK.

New Service Properties

Windows Firewall

10. We will now configure the Windows Firewall to Allow the proper ports inbound network traffic to the PC.

Navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Windows Firewall with Advanced Security > Windows Firewall with Advanced Security > InboundRules. Right-click Inbound Rules and select New Rule.

Firewall

11. On the New Inbound Rule wizard box, check the “Predefined” rule option and select “Windows Remote Management” and click Next.

Predefined rules

12. On the Predefined Rules page uncheck the Public profile box. This will allow only the WinRM access to the Private and Domain networks. Click Next.

Predefined rules

13. Select the “Allow the connection” box and click Finish.

Allow the connection

Windows Remote Management (HTTP-In) Properties

inbound rules

We have successfully finished enabling and configuring WinRM to our Active Directory Domain via GPO. You will need to wait for some period for the GPO to automatically propagate to all devices.

But if you want the GPO to propagate immediately then you can run “gpupdate /force” on a specific workstation.

Please take a look at the YouTube video below demonstrating these steps.

Play

I hope you found this blog post on Enabling and Configuring WinRM via GPO Interesting and helpful. If you have any questions do not hesitate to ask in the comment section.

5/5 - (1 vote)

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows, Windows Server Tags:Configure WinRM, GPO, GPOs, Microsoft Windows, Windows 10, Windows 11

Post navigation

Previous Post: Implement Split-Brain DNS Policies in Active Directory
Next Post: How to determine Tombstone Lifetime in Active Directory

Related Posts

  • TPM 1
    How to fix unable to find compatible TPM Windows
  • diag7
    How to run Windows Memory Diagnostics Tool on Windows Windows
  • Clone a Virtual Machine via Export and Import
    Clone a Virtual Machine via Export and Import: How to copy Virtual Hard Disk on Hyper-V Virtualization
  • Windows Container
    How to Install a Windows Server Container Host Containers
  • showdefenderupdate
    View Microsoft Defender Antivirus Update Details on Windows Image Windows
  • https   blogs images.forbes.com jasonevangelho files 2018 06 windows 7 2018 edition 1200x676 1
    Windows deployment cannot continue, the operating system is missing via MDT deployment Windows Server

More Related Articles

TPM 1 How to fix unable to find compatible TPM Windows
diag7 How to run Windows Memory Diagnostics Tool on Windows Windows
Clone a Virtual Machine via Export and Import Clone a Virtual Machine via Export and Import: How to copy Virtual Hard Disk on Hyper-V Virtualization
Windows Container How to Install a Windows Server Container Host Containers
showdefenderupdate View Microsoft Defender Antivirus Update Details on Windows Image Windows
https   blogs images.forbes.com jasonevangelho files 2018 06 windows 7 2018 edition 1200x676 1 Windows deployment cannot continue, the operating system is missing via MDT deployment Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Microsoft MVP

  • Add a second domain to your domain
    How to add a new Domain Controller to an Existing Domain Windows Server
  • Fix Failed to Connect a Hyper V Standalone to Veeam Backup
    Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup” Backup
  • wingettool
    Install Applications with Winget CLI on Windows Windows Server
  • office365 1200x675 1
    How to prevent emails from going into a junk folder in Office365 Network | Monitoring
  • Snapshot
    Create or delete snapshots on VMware Workstation Backup
  • adfs
    Install and configure Active Directory Federation Service (ADFS) Windows Server
  • Reverse Image Search
    How to Perform a Reverse Image Search on Your Browsers Network | Monitoring
  • jhgfx
    How to make Cortana use your default web browser such as Google Chrome Windows

Subscribe to Blog via Email

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

Join 1,843 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.