Posted On July 1, 2020

Memo of an Advisory Regarding WinRM on a Non-Domain Joined Server

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Memo of an Advisory Regarding WinRM on a Non-Domain Joined Server
# Enable WinRM
winrm quickconfig

<# Sample output
PS C:\Users\Administrator> winrm quickconfig
WinRM service is already running on this machine.
WinRM is not set up to allow remote access to this machine for management.
The following changes must be made:

Configure LocalAccountTokenFilterPolicy to grant administrative rights remotely to local users.

Make these changes [y/n]? y

WinRM has been updated for remote management.

Configured LocalAccountTokenFilterPolicy to grant administrative rights remotely to local users.
#>

Leave a Reply

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

Related Post

Add a Domain Group to Local Administrators Group

$checkGroup="Administrators" $addMember="KIMCONNECT\Desktop Admins" # Dynamic Credential $who = whoami if ($who.substring($who.length-2, 2) -eq "-admin"){$username=$who;} else…

Fix 4GB Limitation on a Windows 32BIT OS

PatchPae (v2) by wj32. Tested on: Windows Vista SP2, Windows 7 SP0, Windows 7 SP1,…

PowerShell: Install App Using MSI on Remote Computers Via WinRM

# installMSiRemoteComputers.ps1 # version 0.0.1 $computernames='REMOTEPC001','REMOTEPC002' $thisMsiFile='C:\Temp\something.msi' $appName='testapp' $desiredVersion='1.0' $maxWaitSeconds=120 function installMsiOnRemoteComputers($computernames,$msiFile,$appName,$desiredVersion,$maxWaitSeconds){ function installMsiOnRemoteComputer{ param(…