Windows Remote Management

Short description: Implementation of WS-Management

WinRM (Windows Remote Management)Developer(s)| Microsoft

|

Operating system| Microsoft Windows
Type| Application programming interface
License| Proprietary commercial software
Website| docs.microsoft.com/en-us/windows/win32/winrm/portal

WinRM (Windows Remote Management) is Microsoft's implementation of WS-Management in Windows which allows systems to access or exchange management information across a common network. Utilizing scripting objects or the built-in command-line tool, WinRM can be used with any remote computers that may have baseboard management controllers (BMCs) to acquire data. On Windows-based computers including WinRM, certain data supplied by Windows Management Instrumentation (WMI) can also be obtained.[1]

## Contents

* 1 Components
* 2 Common uses
* 3 Security
* 4 References
* 5 External links

## Components

winrsDeveloper(s)| Microsoft

|

Operating system| Microsoft Windows
Type| Command
License| Proprietary commercial software
Website| docs.microsoft.com/en-us/windows-server/administration/windows-commands/winrs

* WinRM Scripting API
* Provides an Application programming interface enabling scripts to remotely acquire data from computers that perform WS-Management operations.
* winrm.cmd
* Built-in systems management command line tool allowing a machine operator to configure WinRM. Implementation consists of a Visual Basic Scripting (VBS) Edition file (Winrm.vbs) which is written using the aforementioned WinRM scripting API.
* winrs.exe
* Another command line tool allowing the remote execution of most Cmd.exe commands. This tool utilizes the WS-Management protocol.
* Intelligent Platform Management Interface (IPMI) driver
* Provides hardware management and facilitates control of remote server hardware through BMCs. IPMI is most useful when the operating system is not running or deployed as it allows for continued remote operations of the bare metal hardware/software.
* WMI plug-in
* Allows WMI data to be made available to WinRM clients.[2]
* WMI service
* Leverages the WMI plug-in to provide requested data or control and can also be used to acquire data from most WMI classes. Examples include the Win32_Process, in addition to any IPMI-supplied data.
* WS-Management protocol
* Web Services Management is a DMTF open standard defining a SOAP-based protocol for the management of servers, devices, applications and various Web services. WS-Management provides a common way for systems to access and exchange management information across the IT infrastructure.[3]

* Ports
* By default WinRM HTTPS used 5986 port, and HTTP uses 5985 port. By default, port 5985 is in listening mode, but port 5986 has to be enabled.

## Common uses

PowerShell 6.0

Ansible communicates with Windows servers over WinRM using the Python pywinrm package and can remotely run PowerShell scripts and commands.[4]

Thycotic's Secret Server also leverages WinRM to enable PowerShell remoting.[5]

SolarWinds Server and Application Monitoring software (SAM) utilizes a WinRM server on monitored servers for its PowerShell integration.[6]

CloudBolt leverages WinRM as part of Blueprints, Server Actions, and CB Plugins to execute remote scripts on Windows servers using the python pywinrm module.[7]

## Security

WinRM uses Kerberos for initial authentication by default. This ensures that actual credentials are never sent in client-server communications, instead relying on features such as hashing and tickets to connect.[8] Although WinRM listeners can be configured to encrypt all communications using HTTPS, with the use of Kerberos, even if unencrypted HTTP is used, all communication is still encrypted using a symmetric 256-bit key after the authentication phase completes. Using HTTPS with WinRM allows for additional security by ensuring server identity via SSL/TLS certificates thereby preventing an attacker from impersonating it.[9]

## References

1. ↑ windows-sdk-content. "Windows Remote Management - Windows applications" (in en-us). https://docs.microsoft.com/en-us/windows/desktop/winrm/portal.
2. ↑ windows-sdk-content. "Windows Remote Management Glossary - Windows applications" (in en-us). https://docs.microsoft.com/en-us/windows/desktop/winrm/windows-remote-management-glossary.
3. ↑ windows-sdk-content. "About Windows Remote Management - Windows applications" (in en-us). https://docs.microsoft.com/en-us/windows/desktop/winrm/about-windows-remote-management.
4. ↑ "Windows Remote Management — Ansible Documentation". https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html.
5. ↑ "Thycotic Support". https://thycotic.force.com/support/s/article/Configuring-WinRM-for-PowerShell.
6. ↑ "Create a WinRM HTTPS listener" (in en). 2016-03-24. https://support.solarwinds.com/Success_Center/Server_Application_Monitor_(SAM)/Knowledgebase_Articles/Create_a_WinRM_HTTPS_listener.
7. ↑ "Remote Scripts — CloudBolt 8.7 Documentation". http://docs.cloudbolt.io/advanced/orchestration-actions/remote-scripts.html?#windows-servers-using-winrm.
8. ↑ "How To: Configure WINRM for HTTPS". https://support.microsoft.com/en-us/help/2019527/how-to-configure-winrm-for-https.
9. ↑ FoxDeploy (2017-02-08). "Is WinRM Secure or do I need HTTPs?" (in en). https://foxdeploy.com/2017/02/08/is-winrm-secure-or-do-i-need-https/.

## External links

* Windows Remote Management - Windows applications | Microsoft Docs

* v
* t
* e

Windows command-line programs and shell builtins

* COMMAND.COM
* Command Prompt
* Windows PowerShell
* Recovery Console

File system navigation|

* cd (chdir)
* dir
* popd
* pushd
* tree

File management|

* attrib
* cacls
* cipher
* compact
* copy
* del (erase)
* deltree
* expand
* icacls
* makecab
* mkdir (md)
* mklink
* move
* recover
* ren (rename)
* replace
* rmdir (rd)
* robocopy
* tar
* xcopy

Disk management|

* chkdsk
* convert
* defrag
* diskcomp
* diskcopy
* diskpart
* drvspace
* fdisk
* format
* label
* manage-bde
* subst
* scandisk
* sys
* vol
* vssadmin

Processes|

* at
* exit
* kill
* powercfg
* runas
* sc
* schtasks
* shutdown
* start
* taskkill
* tasklist

Registry|

* assoc
* ftype
* reg
* regini
* regsvr32

User environment|

* date
* mode
* path
* set
* setx
* time
* title
* ver
* whoami

File contents|

* comp
* edit
* edlin
* fc
* find
* findstr
* print
* type

Scripting|

* choice
* clip
* cscript
* doskey
* echo
* for
* forfiles
* goto
* if
* more
* pause
* prompt
* rem
* timeout

Networking|

* arp
* BITSAdmin
* cURL
* getmac
* hostname
* ipconfig
* net
* netsh
* netstat
* nslookup
* PathPing
* ping
* route
* scp
* sftp
* ssh
* ssh-add
* ssh-agent
* ssh-keygen
* ssh-keyscan
* tracert
* winrm
* winrs

Maintenance and care|

* driverquery
* eventcreate
* eventtriggers
* msiexec
* ntbackup
* sfc
* systeminfo
* w32tm
* WBAdmin
* winsat
* wmic

Boot management|

* bcdedit
* bootcfg
* fixboot
* fixmbr

Software development|

* debug
* exe2bin
* QBasic

Miscellaneous|

* cls
* dism
* dpath
* gpupdate
* help
* MSCDEX
* pentnt
* wsl

* List of DOS commands
* Environment variables

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Windows Remote Management. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Windows_Remote_Management&oldid=731166"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template